Site icon Gig XP

SQL Server Availability Group Limitations – 2017 2019 & 2022

SQL Server Availability Group Limitations - 2017 2019 & 2022

This post lists the various SQL Server Availability Group limitations that must be considered before deployments.

SQL Server’s Always On Availability Groups is a high-availability and disaster recovery solution that provides an enterprise-level alternative to database mirroring. However, like any technology, it comes with its own set of prerequisites, restrictions, and recommendations.

SQL Server Availability Group Limitations: Table

Here’s a detailed table summarizing the restrictions associated with SQL Server Availability Groups:

Category Restriction Description
General Restrictions Backup on Secondary Replicas Secondary replica backup priority must be set to 50 or higher.
Cross-database Transactions Not supported for databases in availability groups.
Database Mirroring Cannot be combined with Always On availability groups.
Database Ownership SQL Server instance service account must have necessary permissions.
Distributed Transactions Not supported for databases in availability groups.
Encrypted Databases Server certificate must be the same on every server instance for TDE.
Filestream Supported on readable secondary replicas with limitations.
gMSA Supported with some restrictions.
Linked Servers Must start MSDTC service on all replicas.
SQL Server Agent Jobs Jobs might need to be scripted and created on every server hosting a replica.
SQL Server FCIs Supported with some restrictions.
Unsupported SQL Server Features Includes stretch databases, system-versioned temporal tables, etc.
Target Replica Restrictions Backup System databases cannot be backed up on secondary replicas.
Database Snapshots Not supported on secondary replicas.
DBCC Some DBCC commands are not supported on secondary replicas.
Direct Updates Direct updates to system tables not supported on secondary replicas.
Client Connection Restrictions Read-Only Access Clients must use ApplicationIntent=ReadOnly for read-only access to a secondary replica.
Availability Database Restrictions Adding/Removing Database Files Must take log backups and restore them on every secondary database.
Changing Database Options Some changes to database options are not supported.
Changing the Recovery Model Changing recovery model of a database in an availability group is not supported.
Database Collation Must be the same on every server instance hosting a replica.
Database Compatibility Level Must be set to 110 or higher.
Database Filegroups and Files All filegroups must be online.
Database Size Maximum size is 10TB.
Full-Text Indexes Must be unique across replicas.
Availability Group Restrictions Availability Group with No Databases Not supported.
Availability Group Listener Can have multiple IP addresses but only one DNS name.
Maximum Number of Replicas Supports one primary replica and up to eight secondary replicas.
Network Name Must be unique in the domain and in NetBIOS.

SQL Server Availability Group Limitations

This blog post will delve into the restrictions associated with SQL Server Availability Groups, as sourced from Microsoft’s official documentation.

1. General Restrictions

2. Restrictions on the Target Replica

3. Restrictions for Client Connections

4. Restrictions on Availability Databases

5. Restrictions on Availability Groups

Conclusion

Always On Availability Groups in SQL Server offers a robust solution for high availability and disaster recovery. However, it’s essential to be aware of its restrictions to ensure smooth operation and avoid potential issues. Always refer to the official Microsoft documentation for the most up-to-date and comprehensive information.

Note: Always refer to the official documentation for a detailed understanding and the latest updates.

Exit mobile version