Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 15d 17h 49mSee the sale

Category: High Availability

Why Your SQL Server Cluster Shouldn’t Be Virtualized

When people buy my virtualization training video, one of the followup questions I get most often via email is, "Can I build SQL Server clusters in VMware and Hyper-V?"

In theory, yes.  Microsoft's knowledge base article on SQL Server virtualization support says they'll support you as long as you're using configurations listed in the Server Virtualization Validation Program (SVVP).

Read more about Why Your SQL Server Cluster Shouldn’t Be Virtualized 66 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
Production DBA

SQL Server Always On Availability Groups in AWS

Many companies are investigating a move into cloud hosting. With the recent release of SQL Server 2012, these very same companies are also looking at a migration to SQL Server 2012 to take advantage of readable secondaries. Combining Amazon Web Services and SQL Server 2012 seems like a perfect match. Unfortunately, there are some gotchas,…

Read more about SQL Server Always On Availability Groups in AWS 6 comments — Join the discussion

Why Availability Groups Make It Cool Again to Be a Sysadmin

Professions go through phases. Some skills are highly valued for a while, then go out of fashion. Just like leg warmers and skinny jeans, some skills come back into style when you least expect it. Database Administrators Started Out in the Server Room In the early days, most database administrators started out by racking servers.…

Read more about Why Availability Groups Make It Cool Again to Be a Sysadmin 6 comments — Join the discussion

Where to Run DBCC on Always On Availability Groups

With SQL Server 2012's new AlwaysOn Availability Groups, we have the ability to run queries, backups, and even DBCCs on database replicas.  But should we? Paul Randal (Blog - @PaulRandal) covered this issue in today's SQLskills Insider newsletter, and he says: "It’s not checking the I/O subsystem of the log shipping primary database – only…

Read more about Where to Run DBCC on Always On Availability Groups 48 comments — Join the discussion
T-SQL & Development

My 3 Favorite Connection String Tips

Connection strings - boring topic, right?  Well, it turns out there's a few things that can save your behind.
Tip 1: Build your application with 3 connection strings.
If you want to scale, write your application from the start with 3 different connection strings:

Writes and real-time reads
Reads that can tolerate data older than 15 seconds (no writes allowed with this connection string)
Reads that can tolerate data several hours old (like reports, and no writes allowed with this string)

Read more about My 3 Favorite Connection String Tips 27 comments — Join the discussion

How to Set Up SQL Server 2012 Always On Availability Groups

Before we get started, we need to talk about something. I'm going to be using the C word - that's right, Clustering. Deep, calming breaths. Relax. We can do this, you and me. This isn't the old-school clustering with shared disks, heartbeat networks, and hardware compatibility lists. This is just another feature you're going to…

Read more about How to Set Up SQL Server 2012 Always On Availability Groups 251 comments — Join the discussion

SQL Server 2012 AlwaysOn Availability Groups Rock

SQL Server 2012 brings huge improvements for scaling out and high availability. To put these changes into perspective, let's take a trip down memory road first and look at the history of database mirroring. SQL Server 2005 first introduced mirroring, although it wasn't fully supported until a service pack. In many ways, mirroring beat the…

Read more about SQL Server 2012 AlwaysOn Availability Groups Rock 105 comments — Join the discussion
Production DBA

Mirrors aren’t backups

Are you using any of these technologies as a method of database protection?

Database mirroring (keeping two database servers synchronized with the same data via SQL 2005/2008)
Replication (copying records between databases)
Log shipping (copying log files to another server and restoring them immediately)
SAN-based mirroring (storing two copies of your database on two different sets of disks)

Read more about Mirrors aren’t backups 3 comments — Join the discussion