Live classes start in 2d 09h 30m — Save your seat

Cloud SQL Server and Hybrid Architecture

SQL Server in cloud VMs, hybrid systems, and cloud infrastructure.

22 associated posts22 primary posts

Production DBA

Database Performance Tuning is Getting Much Harder.

For the last twenty years, SQL Server performance tuning has relied on a few facts: SQL Server provided a lot of performance metrics with thorough documentation from both Microsoft and the community. You could fetch those metrics in a variety of ways, like Perfmon counters and dynamic management views. Many of the metrics were cumulative…

Read more about Database Performance Tuning is Getting Much Harder. 27 comments — Join the discussion
Production DBA

What’s Different About SQL Server in Cloud VMs?

When you start running SQL Server in cloud VMs - whether it's Amazon EC2, Google Compute Engine, or Microsoft Azure VMs - there are a few things you need to treat differently than on-premises virtual machines.

Fast shared storage is really expensive - and still slow. If you're used to fancypants flash storage on-premises, you're going to be bitterly disappointed by the "fast" storage in the cloud. Take Azure "Premium" Storage:

Read more about What’s Different About SQL Server in Cloud VMs? 7 comments — Join the discussion
Production DBA

Building SQL ConstantCare®: The Serverless Architecture

Our new SQL Constant Care® is an online service that analyzes your SQL Server's diagnostic data, then gives you personalized advice on what you should do to make your database app faster and more reliable. I blogged about the vision last week, and today let's talk about the things that drove our architecture decisions way back in 2015.

Read more about Building SQL ConstantCare®: The Serverless Architecture 2 comments — Join the discussion

Azure SQL DB Managed Instances: Transactional Replication

I knew Brent and Erik wouldn't touch replication, so I figured I'd give it a whirl.
My good, old friend replication
I have a love-hate relationship with replication. Mostly hate due to latency and errors, but it does serve its purpose. Before Availability Groups came out, I used Transactional Replication to copy data from the production OLTP database to another server so that we could offload reports.

Read more about Azure SQL DB Managed Instances: Transactional Replication 4 comments — Join the discussion
Production DBA

Running SQL Server in the Cloud: 2017 Edition

You have two basic options:

Infrastructure as a Service (IaaS) is just VMs running in someone else's data center - be it Amazon, Google, or Microsoft. Job duties for a DBA are the same as on-premises virtual machines: you manage HA, DR, patching, backups, and performance tuning. It's just that you may have slightly different techniques or setup steps to accomplish those - but no different than the amount of change you had to do to switch from physical to virtual machines.

Read more about Running SQL Server in the Cloud: 2017 Edition 25 comments — Join the discussion
Production DBA

Building a Faux PaaS, Part 3: What the Ideal Engineering Team Looks Like

Background: I'm working with kCura to build a Faux PaaS: something akin to Microsoft's Azure SQL DB, but internally managed. You can catch up with what we've discussed so far in Part 1 and Part 2 of the series.

In the last post, I talked about measuring backup and restore throughputs across different instance types, regions, storage configs, and backup locations. It's a lot of work to answer questions like "How should we configure our new SQL Server VMs?"

Read more about Building a Faux PaaS, Part 3: What the Ideal Engineering Team Looks Like 4 comments — Join the discussion
Production DBA

Building a Faux PaaS, Part 1: The SQL Server DevOps Scene in 2017

In the cloud, treat your servers like cattle, not like pets.

In the cloud, systems administration is very different than the on-premises stuff you're used to. When you build VMs in the cloud with Infrastructure-as-a-Service (IaaS, meaning AWS EC2, GCE, or Azure VMs), you expect them to die. It's just a matter of time. If you're lucky, it'll be years from now, but if you're unlucky, it'll be tomorrow.

Read more about Building a Faux PaaS, Part 1: The SQL Server DevOps Scene in 2017 13 comments — Join the discussion
Production DBA

SQL Server Timeouts During Backups and CHECKDB

So you're hosting your SQL Server in the cloud - say Amazon EC2, Azure VM, or Google Compute Engine - and you've noticed that when you're running a backup or a DBCC CHECKDB, you suffer from extreme performance problems.

Queries run slow, and even worse, applications report timeout errors even just trying to connect to SQL Server. More symptoms can include database mirroring and cluster failovers. What's going on?

Read more about SQL Server Timeouts During Backups and CHECKDB 19 comments — Join the discussion

What Amazon RDS for SQL Server Users Need to Know about Multi-AZ Mirroring

Amazon Relational Database Service (RDS) now supports multi-availability-zone SQL Servers. This means you can have a primary database in one data center, and a secondary replica in another data center.

When your primary server goes down, OR when the entire AZ goes down, you can fail over to the secondary with zero data loss and keep right on going. When the primary comes back online, you can fail right back, again with no data loss.

Read more about What Amazon RDS for SQL Server Users Need to Know about Multi-AZ Mirroring 11 comments — Join the discussion
Production DBA

NoSQL Basics for Database Administrators

Most SQL Server DBAs don't even like MySQL, let alone NoSQL.  They cringe when they hear people say things like, "I don't need transactions" or "The data will eventually be consistent" or "Indexes will be supported in the next version." SQL Server and Oracle people are constantly trying to out-feature each other, and the abject lack of features in the NoSQL world comes as a complete shock to both parties.

Read more about NoSQL Basics for Database Administrators 37 comments — Join the discussion
Production DBA

Microsoft SQL Azure: The Flat Pack Database

Erika's friends call her "Fancy Feast" because she only likes the best things in life. She's got champagne tastes, but we can't afford to buy the best of everything. I recently picked up a coffee table from Ikea, and it got me thinking about SQL Azure. In a perfect world, I'd have on-premise SQL Server for every database. I'd use cutting-edge storage and cluster everything. But this isn't a perfect world...

Read more about Microsoft SQL Azure: The Flat Pack Database 8 comments — Join the discussion