Live classes start in 6d 05h 32m — Save your seat

Tag: always on

New White Paper: How to Build an Always On Availability Group in Google Compute Engine

You’re a database administrator, Windows admin, or developer. You want to build a Microsoft SQL Server environment that’s highly available, and you’ve chosen to use Always On Availability Groups.

In this white paper we built with Google, we’ll show you:

Read more about New White Paper: How to Build an Always On Availability Group in Google Compute Engine 21 comments — Join the discussion

Training Plan for a SysAdmin to Manage Availability Groups

How hard is it for a systems administrator who's used to running SQL Server on Windows Clusters to tackle Availability Groups? Our example system administrator knows a bit of TSQL and their way around Management Studio, but is pretty new to performance tuning. Well, it might be harder than you think. First, let's look at…

Read more about Training Plan for a SysAdmin to Manage Availability Groups 4 comments — Join the discussion
Production DBA

Synchronous Always On Availability Groups Is Not Zero Data Loss

In theory, when you configure AlwaysOn Availability Groups with synchronous replication between multiple replicas, you won't lose data. When any transaction is committed, it's saved across multiple replicas.

That's the way it works, right? I mean, except when you restart your synchronous replicas, or patch them, or they just stop working for any number of reasons. The primary keeps right on trucking, accepting deletes/updates/inserts, without telling end users that all their eggs are in a single basket.

Read more about Synchronous Always On Availability Groups Is Not Zero Data Loss 29 comments — Join the discussion
Production DBA

How to Configure Always On AG Backups with Ola Hallengren’s Scripts

With SQL Server AlwaysOn Availability Groups, you can offload backups to a replica rather than running them on the primary. Here's how to do it:

1. Install Ola Hallengren's utility scripts on all of the replicas. During the install, it creates a laundry list of SQL Agent jobs, but doesn't set up schedules for any of them. More on that in a couple of steps.

Read more about How to Configure Always On AG Backups with Ola Hallengren’s Scripts 91 comments — Join the discussion

How to Set Up Standard Edition Always On Availability Groups in SQL Server 2016

SQL Server 2016 adds Availability Groups in Standard Edition. While the licensing details can obviously change right up to release date, here's what was announced at the Ignite conference:

Limited to two nodes only (a primary and a secondary)
Like mirroring, you can't read from the secondary, nor take backups of it
But like database mirroring, you can take snapshots of the secondary for a static reporting copy
Each database is in its own Availability Group

Read more about How to Set Up Standard Edition Always On Availability Groups in SQL Server 2016 191 comments — Join the discussion

How Would You Change Always On Availability Groups?

SQL Server 2012 introduced AlwaysOn Availability Groups, a way to achieve high availability, disaster recovery, and scale-out reads. SQL 2014 brought some improvements around higher uptime and more scale-out, and all signs point to continued improvements in the next version of SQL Server, too. (I love it when Microsoft brings out features like this and continues to invest in them over time.)

Read more about How Would You Change Always On Availability Groups? 93 comments — Join the discussion

Auto-Scaling SQL Server Always On Availability Groups with Virtualization

Time for a thought exercise.

You've got a database application that has bursty and unpredictable loads. Out of nowhere, you'll suddenly get socked with a large amount of SELECT queries. Due to the way the app is written, you can't cache the query results - the queries keep changing, and the business wants data from within the last couple of minutes.

Read more about Auto-Scaling SQL Server Always On Availability Groups with Virtualization 8 comments — Join the discussion

Always On Availability Groups, Backup Checksums, and Corruption

The latest version of sp_Blitz® alerts you if you haven't been using the WITH CHECKSUM parameter on your backups. This parameter tells SQL Server to check the checksums on each page and alert if there's corruption. But what about corrupt backups? Books Online says: NO_CHECKSUM - Explicitly disables the generation of backup checksums (and the validation…

Read more about Always On Availability Groups, Backup Checksums, and Corruption 15 comments — Join the discussion

Update on Stack Overflow’s Recovery Strategy with SQL Server 2014

Back in 2009 (wow, seems like only yesterday!), I wrote about designing a recovery strategy for Stack Overflow. Back then, I wrote: With these answers in mind, Stack Overflow’s decisions not to do transaction log backups, offsite log shipping, database mirroring, and so on make good business sense. Us geeks in the crowd may not like it,…

Read more about Update on Stack Overflow’s Recovery Strategy with SQL Server 2014 2 comments — Join the discussion

Common SQL Server Clustering, AlwaysOn, and High Availability Answers

Our live webcast topic this week was Q&A - you could bring any HA/DR questions, and we could avoid your answers. Just kidding. Here's the webcast - we apologize for the audio, WebEx is still getting their act together. It cleans up after the first couple of minutes.

https://www.youtube.com/watch?v=G1URY5M09ic

Read more about Common SQL Server Clustering, AlwaysOn, and High Availability Answers Be the first to comment

AlwaysOn Availability Groups: The Average of its Parts

Business is booming; the sales team is bringing in more business and the software developers are successfully scaling out at the web server tier. There are signs of pressure on the database tier and you realize that it's time to scale out. You're using SQL Server 2012, you need to improve performance, and the first thought that comes to mind is the new hotness: SQL Server AlwaysOn Availability Groups.

Read more about AlwaysOn Availability Groups: The Average of its Parts 11 comments — Join the discussion

Microsoft SQL Server 2012 Always On AGs at StackOverflow

I recently finished helping the StackExchange team migrate their SQL Server 2008 infrastructure to SQL Server 2012. These servers power StackOverflow, DBA.StackExchange.com, the new AskPatents partnership with the US Patent and Trademark Office, and hundreds of other Q&A sites that together form one of the biggest web site networks. It's one of the most visible…

Read more about Microsoft SQL Server 2012 Always On AGs at StackOverflow 25 comments — Join the discussion

Before You Fail Over a SQL Server Always On Availability Group

Think fast!  When it's time to do a manual failover with SQL Server 2012 AlwaysOn Availability Groups, we need to make a few decisions and perform a few tasks as quickly as possible to get the business back up and running.  Here's what you need to consider ahead of time so you can stay calm, cool, and collected - even if you have to trust someone else to do this work.

Read more about Before You Fail Over a SQL Server Always On Availability Group 4 comments — Join the discussion