Monday, May 07, 2018

Effective Database Testing With SQL Test and SQL Cover

DZone Database Zone
Effective Database Testing With SQL Test and SQL Cover
Effective Database Testing With SQL Test and SQL Cover

A well-established technique for improving application code quality during software development is to run unit tests in conjunction with a code coverage tool. The aim is not only to test that your software components behave as you would expect but also that your suite of tests gives your code a thorough workout.

Errors encountered within the most common routes through your logic will usually reveal themselves during the development process, long before they ever reach deployment. It's in the darker corners that bugs are more likely to live and thrive; within unusual code paths that triggered by specific inputs that the code can't handle, but which should (in theory, at least) never arise in everyday use. Code coverage gives the developers a measure of how effectively they're delving into these areas.

Sunday, May 06, 2018

Open-Sourcing Code Is a BAD Default Policy

DZone Database Zone
Open-Sourcing Code Is a BAD Default Policy
Open-Sourcing Code Is a BAD Default Policy

I ran into this Medium post that asks: Why is this code open-sourced? Let's flip the question. The premise of the post is interesting, given that the author asks that the default mode for code is that it should be open-source. I find myself in the strange position of being a strong open source adherent that very strongly disagrees on pretty much every point in this article. Please sit tight. This may take a while. This article really annoyed me.

Just to clear the fields, I have been working on open-source software for the past 15 years. The flagship product that we make is open-source and available on GitHub and we practice a very open development process. I was also very active in a number of high-profile open-source projects for many years and had quite a few open-source projects that I had built and released on my own. I feel that I'm quite qualified to talk from experience on this subject.

Saturday, May 05, 2018

Self-Contained Deployments and Embedded RavenDB

DZone Database Zone
Self-Contained Deployments and Embedded RavenDB
Self-Contained Deployments and Embedded RavenDB

In previous versions of RavenDB, we offered a way to run RavenDB inside your process. Basically, you reference a NuGet package and are able to create a RavenDB instance that runs in your own process. That can simplify deployment concerns immensely and we have a bunch of customers who rely on this feature to just take their database engine with their application.

In 4.0, we don’t provide this ability OOTB. It didn’t make the cut for the release, even though we consider this a very important utility feature. We are now adding this in for the next release but in a somewhat different mode.

Friday, May 04, 2018

Verizon: Managed Virtual Network Services

Data Videos
#Data -Verizon: Managed Virtual Network Services

Matching Modern Databases With ML and AI

DZone Database Zone
Matching Modern Databases With ML and AI
Matching Modern Databases With ML and AI

Machine learning (ML) and artificial intelligence (AI) have stirred the technology sector into a flurry of activity over the past couple of years.

However, it is important to remember that it all comes back to data. As Hilary Mason, a prominent data scientist, noted in Harvard Business Review,

Generate Dapper Queries On-The-Fly With C#

DZone Database Zone
Generate Dapper Queries On-The-Fly With C#
Generate Dapper Queries On-The-Fly With C#

ORMs are very common when developing with .NET. According to Wikipedia:

Object-relational mapping (ORM, O/RM, and O/R mapping tool) in computer science is a programming technique for converting data between incompatible type systems using object-oriented programming languages. This creates, in effect, a "virtual object database" that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to construct their own ORM tools.

Dapper is a simple object mapper for .NET. It's simple and fast. Performance is the most important thing that we can achieve with Dapper. According to their website:

Creating AR/VR Experiences | Ep 1: Intro to Amazon Sumerian

Data Videos
#Data -Creating AR/VR Experiences | Ep 1: Intro to Amazon Sumerian

Thursday, May 03, 2018

Automating Automatic Indexing in Azure SQL Database

DZone Database Zone
Automating Automatic Indexing in Azure SQL Database
Automating Automatic Indexing in Azure SQL Database

I’ve been in love with the concept of a database-as-a-service ever since I first laid eyes on Azure SQL Database. It just makes sense to me. Take away the mechanics of server management and database management. Focus on the guts of your database. Backups, consistency checks — these easily automated aspects can just be taken care of. The same thing goes with some, not all, but some, index management. Azure SQL Database can manage your indexes for you. I call it weaponizing Query Store.

Anyway, I needed a way to automate this for the book I’m writing. I couldn’t find any good examples online, so I built my own.

How to Enhance Your Application Security Strategy with F5 on AWS

Data Videos
#Data -How to Enhance Your Application Security Strategy with F5 on AWS

Wednesday, May 02, 2018

How Inovalon Uses Sophos to Control Security Costs on AWS

Data Videos
#Data -How Inovalon Uses Sophos to Control Security Costs on AWS

9 DevOps KPIs to Optimize Your Database

DZone Database Zone
9 DevOps KPIs to Optimize Your Database
9 DevOps KPIs to Optimize Your Database

DevOps people like things to be automated, testable, and disaster-proof — and stateless services can achieve those features quite easily.

After all, you only need to recreate the instances from the images, and you're good to go. In a best-case scenario, this can take as little time as a few seconds.

Tuesday, May 01, 2018

Amazon Redshift Spectrum: Diving Into the Data Lake!

DZone Database Zone
Amazon Redshift Spectrum: Diving Into the Data Lake!
Amazon Redshift Spectrum: Diving Into the Data Lake!

Amazon’s Simple Storage Service S3 has been around since 2006. Enterprises have been pumping their data into this data lake at a furious rate. Within ten years of its birth, S3 stored over two trillion objects, each up to five terabytes in size. Enterprises know their data is valuable and worth preserving. But much of this data lies inert, in “cold” data lakes, unavailable for analysis, so-called “dark data.”

The Dark Data Problem. Source: Amazon AWS.

Security at scale with Azure Advanced Threat Protection

Data Videos
#Data -Security at scale with Azure Advanced Threat Protection

Binlog and Replication Improvements in Percona Server for MySQL

DZone Database Zone
Binlog and Replication Improvements in Percona Server for MySQL
Binlog and Replication Improvements in Percona Server for MySQL

Due to continuous development and improvement, Percona Server for MySQL incorporates a number of improvements related to binary log handling and replication. This results in replication specifics, distinguishing it from MySQL Server.

Temporary Tables and Mixed Logging Format Summary of the Fix

As soon as some statement involving temporary tables was met when using a mixed binlog format, MySQL switched to row-based logging for all statements until the end of the session (or until all temporary tables used in the session were dropped). This is inconvenient when you have long-lasting connections, including replication-related ones. Percona Server for MySQL fixes the situation by switching between statement-based and row-based logging when necessary.

What's It like Working in an AWS Data Center? Meet Our Japan Team in Tokyo

Data Videos
#Data -What's It like Working in an AWS Data Center? Meet Our Japan Team in Tokyo

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...