Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

Who is Using CAGs?

While talking to a customer a few weeks ago, they mentioned that they used Contained Availability Groups (CAG) everywhere. They also said they were amazing and wondered why everyone wasn't using them in other environments. Of course, I questioned the "everywhere", which turned out to be more of a default for new systems than a standard across all systems. That's likely true of most things since it's rare we get to update/patch/set something across an environment of any size and ensure every system is the same.

Still, setting a CAG as a default makes some sense for enterprises. This ensures that in an HA situation I have my logins, jobs, etc. already on a secondary node. That's been one of the challenges of using lightly linked systems that only sync up database level information. Log shipping, Replication, Availability Groups can all work to keep a secondary ready to take over, but they all miss information that is stored in master or msdb.

That's the stuff we have to sync manually. It can be done, but it's work. We've had numerous articles at SQL Server Central on syncing logins and other objects outside of your database.

Today I wonder how many of you are using CAGs in your environment? As the default for new systems? Moving all ones to this setup?

Or do you even know about them? They are relatively new, since SQL Server 2022, and I have to admit I've heard relatively little about them in the community or from customers. Many people use Availability Groups, but not many seem to use Contained Availability Groups.

Maybe another question is would you want to use them? There are a few things you have to consider and they can be slightly tricky, but they do some reduce some of the work when you have failovers. Of course, like any other technology, you need to test that your failovers work and you understand  the ins and outs of how they work, just in case that switch isn't as smooth as you expect.

It should be, but sometimes things break. If they do, you want to ensure you, or someone on your staff, knows how to fix them.

Steve Jones - SSC Editor

Join the debate, and respond to today's editorial on the forums

 
 Featured Contents
SQLServerCentral Article

What is New in SQL Server 2025

Daniel Calbimonte from SQLServerCentral

Learn about the latest version of SQL Server and get help installing it on your system.

External Article

How to pass Microsoft certification exams: tips and guidance

Additional Articles from SimpleTalk

In my previous article, I discussed how to prepare for Microsoft certification exams. In this article, I’m covering what you should do when actually taking the exams.

Blog Post

From the SQL Server Central Blogs - How to Connect to SQL Server When Nothing Else Works – DAC

gbargsley from GarryBargsley

It's 2 AM. Your phone is going off. Users can't connect to the application, and when you open SSMS to investigate, the connection spinner just keeps spinning. SQL Server...

Blog Post

From the SQL Server Central Blogs - Monday Monitor Tips: Oracle Custom Metrics

Steve Jones - SSC Editor from The Voice of the DBA

One of the popular features of Redgate Monitor has been the ability to add custom mertics for various purposes. This has been popular, and along with our curated list...

Delta Lake: The Definitive Guide: Modern Data Lakehouse Architectures with Data Lakes

Site Owners from SQLServerCentral

Ready to simplify the process of building data lakehouses and data pipelines at scale? In this practical guide, learn how Delta Lake is helping data engineers, data scientists, and data analysts overcome key data reliability challenges with modern data engineering and management techniques.

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

May the Fourth Be With You Fun

In honor of May the fourth and Star Wars (may the force be with you), finish this quote:
"Do, or do not.  ..."

Think you know the answer? Click here, and find out if you are right.

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Increase Deadlock Detection

How can I alter the deadlock detection interval to 2 seconds instead of 5 seconds on my SQL Server 2025 instance?

Answer: You cannot manually change the interval

Explanation: You cannot manually alter the interval. SQL Server will adjust this internally, based on the workload. Ref: There is no reference directly noting this, but these articles do not give a way to alter the detection threshold:

Discuss this question and answer on the forums

 

 

 

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.


SQL Server 2019 - Administration
Having Issue deploying a report to an on prem server from PowerBI desktop - Using PowerBI Version1.25.9508.3237(January 2026). Installed Microsoft Power BI Desktop (Optimized for Power BI Report Server - January 2026). I get an error when I try to deploy a simple report to the on prem server. 2026-04-29 14:31:28.5398|ERROR|8|library|Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/PowerBI/Test2.pbix' cannot be found.;| RequestID = s_472c98e1-fc0d-4ad1-adce-43f79272dbe9 All other aspects of the server […]
SQL 2019 instance with AG, across 2 Windows 2016 OS servers - OSin-place upgrade - Hi all Can I get some perspective from the community please on performing in-place OS upgrades on Windows servers, where there is a SQL instance layered on top. I have 2 Servers, Windows 2016 ones, that need upgrading to Windows 2022\Windows 2025 by end of year. There are 20 DB's on this instance, SQL 2019, […]
SQL Server 2019 - Development
Warning: Could not open global shared memory to communicate with performance DLL - Hi everyone I am getting below warning when I run SSIS: Warning: 0x80049304 at Update Table, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console. It gives the solution.  It works.  […]
that one limitation in replication - Hi as shown below a replication target requires a primary key.  if we want to replicate from the db level, how do we deal with target tables whose source has no pk?
General
A question about how to store the address in the database - I have an app that has an address field on the customer and the users. The address information on the users is informational and it is not used anyplace. The address used by the customer has only one purpose. It is one of the ways for the application administrator to determine that when they get […]
Integration Services
SSIS package failing intermittently on last Excel Component - Good Afternoon, I have a Job which "fires" off an SSIS package (that is sitting on SSMS Integration Services Catalog). The package simply contains a series of components which pick up data from various SQL tables and places it into corresponding sheets in the same Excel File. Now the package fails intermittently on the last […]
Editorials
Half of All Engineers - Comments posted to this topic are about the item Half of All Engineers
Spring Connections and Learning at PASS On Tour - Comments posted to this topic are about the item Spring Connections and Learning at PASS On Tour
Let's Talk Community Events! - Comments posted to this topic are about the item Let's Talk Community Events!
Local Agents - Comments posted to this topic are about the item Local Agents
Article Discussions by Author
How Long is a Long I/O? - Comments posted to this topic are about the item How Long is a Long I/O?
T-SQL Trigonometric Functions in SQL Server - Comments posted to this topic are about the item T-SQL Trigonometric Functions in SQL Server
T-SQL in SQL Server 2025: JSON_ARRAYAGG - Comments posted to this topic are about the item T-SQL in SQL Server 2025: JSON_ARRAYAGG
Multiple Sequence Values - Comments posted to this topic are about the item Multiple Sequence Values
Detecting Deadlocks - Comments posted to this topic are about the item Detecting Deadlocks
 

 

RSS FeedTwitter

This email has been sent to {email}. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -