Performance Issue: Extremely Long Time to Add Large TDE-Encrypted Database to Cross-Site Availability Group

Mona Seddik 0 Reputation points
2025-09-21T09:36:17.06+00:00

We are experiencing significant delays when adding large databases (4TB+) encrypted with Transparent Data Encryption (TDE) to an Availability Group replica servers using scripts. This operation takes an unacceptably long time is this an expected behavior? We are seeking guidance on the recommended workaround or best practices to mitigate this issue and

SQL Server Database Engine
{count} votes

1 answer

Sort by: Most helpful
  1. Ben Miller-(DBADuck) 275 Reputation points MVP
    2025-09-21T14:19:39.2133333+00:00

    If this is Auto Seeding then you should not use that method with a database in the Terabytes. It is not a great way for that size of database. You should use Backup/Restore. Also ensure that you have the server certificate restored in the replicas master database.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.