Skip to main content

Questions tagged [availability-groups]

Availability Groups are a new feature of SQL Server 2012 that provide continuous data synchronization, automatic failover and secondary read access for one or many SQL Server databases.

0 votes
1 answer
20 views

Users of SQL Server 2022 can use SAN snapshots to seed an Availability Group, as shown here. However, this uses 2022 constructs like BACKUP DATABASE ... WITH METADATA_ONLY. I am on SQL Server 2022, ...
J. Mini's user avatar
  • 1,394
2 votes
1 answer
66 views

The documentation tells us what happens when session timeout for a synchronous Availability Group replica expires "Even if a disconnected replica is configured for synchronous-commit mode, ...
J. Mini's user avatar
  • 1,394
2 votes
1 answer
87 views

We encountered an issue with view metadata becoming stale on a readable secondary replica in an AlwaysOn Availability Group. The views on the primary replica worked fine after a fix, but the secondary ...
adam.g's user avatar
  • 487
2 votes
1 answer
378 views

For all HA or DR solutions in SQL Server, I have heard that it is smart to have a table with a timestamp column in each database and to have an Agent Job run every minute to update that timestamp with ...
J. Mini's user avatar
  • 1,394
2 votes
1 answer
92 views

I am attempting to connect to the secondary replica in an HA RDS cluster. Usually I do this by connecting to hostname.vpc.local with the master user SQL Auth credential. Today I restored an HA cluster ...
Peter Vandivier's user avatar
4 votes
2 answers
375 views

We have a 3 node availability group running on SQL 2022. The application which has its databases hosted on the AG queries @@SERVERNAME as part of licensing checks. If @@SERVERNAME doesn't match what ...
Kirky's user avatar
  • 347
0 votes
1 answer
76 views

I have a question regarding SQL Always On. We’re setting up a new environment for a critical 24/7 healthcare system. The setup will include three Always On clusters with a total of nine databases, ...
Johnson's user avatar
-1 votes
1 answer
57 views

we have a 10+TB database. Whenever we failover it, the databases becomes with a session running a null command, with a HADR_DB_COMMAND wait_type. I believe this is related to a rollback or something? ...
Racer SQL's user avatar
  • 7,558
0 votes
1 answer
62 views

We need to upgrade our production SQL servers from SQL 2017 to 2019 (both are Ent. Edition) in the near future. We have ~70 servers hosted in our DC. Each SQL Server instance consists of 2 VMs in a 2 ...
Remillard's user avatar
0 votes
1 answer
106 views

When I'm querying select * from sys.dm_hadr_database_replica_states, I see 11k seconds (3 hours). But when I go to the AOAG dashboard and select the "Estimated Data Loss (time)" column, it ...
Racer SQL's user avatar
  • 7,558
0 votes
0 answers
145 views

I have two SQL Server 2022 environments with Contained AG configured with a listener that the users are connecting too. All three have db mail configured identically. The two servers are able to ...
Lumpy's user avatar
  • 2,129
1 vote
1 answer
105 views

I created a TDE certificate on the primary node. I then backed it up and copied the files to the secondary. When I created the cert on the secondary from the backup files, I accidentally created it ...
Addu's user avatar
  • 13
0 votes
1 answer
76 views

In my Always On AG setup, when I add a database with a Database Master Key (DMK) using auto seeding, the credentials linked to the DMK do not work on the secondary immediately after seeding completes. ...
Manthan Prabhu's user avatar
0 votes
0 answers
153 views

Installed new SQL Always on setup, everything working fine, but when I do fail over form exsting primary to secondary and existing secondary to primary, I am unable to connect with listener name. Both ...
Charan Adabala's user avatar
0 votes
1 answer
58 views

To have an Availability Group, I must have a Windows Server Failover Cluster. All Windows Server Failover Clusters have the ability to form exactly one quorum. This clearly means that if I have two ...
J. Mini's user avatar
  • 1,394

15 30 50 per page
1
2 3 4 5
111