{"id":49323,"date":"2023-03-28T08:00:00","date_gmt":"2023-03-28T15:00:00","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/sql-server\/blog\/?p=49323"},"modified":"2024-01-31T13:37:09","modified_gmt":"2024-01-31T21:37:09","slug":"accelerated-database-recovery-enhancements-in-sql-server-2022","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/en-us\/sql-server\/blog\/2023\/03\/28\/accelerated-database-recovery-enhancements-in-sql-server-2022\/","title":{"rendered":"Accelerated Database Recovery enhancements in SQL Server 2022\u00a0"},"content":{"rendered":"\n
Part of the <\/em>SQL Server 2022 blog series<\/em><\/a>. <\/p>\n\n\n\n We are excited to share that there are several Accelerated Database Recovery (ADR) enhancements in SQL Server 2022<\/a> that further improve the overall availability and scalability of the database, primarily around persistent version store (PVS) cleanup and management.<\/p>\n\n\n\n ADR improves database availability, especially in the presence of long running transactions, by redesigning the SQL database engine recovery process. ADR is introduced in SQL Server 2019 (15.x) and improved in SQL Server 2022 (16.x). <\/p>\n\n\n\n ADR is also available for databases in Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse SQL. ADR is enabled by default in SQL Database and SQL Managed Instance and cannot be disabled. <\/p>\n\n\n\n The primary benefits of Accelerated Database Recovery (ADR) are<\/p>\n\n\n\n With ADR, long running transactions do not impact the overall recovery time, enabling fast and consistent database recovery irrespective of the number of active transactions in the system or their sizes. <\/p>\n\n\n\n With ADR, transaction rollback is instantaneous, irrespective of the time that the transaction has been active or the number of updates that has performed. <\/p>\n\n\n\n With ADR, the transaction log is aggressively truncated, even in the presence of active long running transactions, which prevents it from growing out of control. <\/p>\n\n\n\n ADR completely redesigns the database engine recovery process.<\/p>\n\n\n\n At a high level, ADR achieves fast database recovery by versioning all physical database modifications and only undoing logical operations, which are limited and can be undone almost instantly. Any transactions that were active at the time of a crash are marked as aborted and, therefore, any versions generated by these transactions can be ignored by concurrent user queries.<\/p>\n<\/div>\n\n\n\n Note<\/strong>: For more details about ADR, please visit this page<\/a>: and this video<\/a> for a high-level overview of ADR and its components.<\/p>\n\n\nOverview of Accelerated Database Recovery (ADR) <\/h2>\n\n\n\n
Fast and consistent database recovery <\/h3>\n\n\n\n
Instantaneous transaction rollback <\/h3>\n\n\n\n
Aggressive log truncation <\/h3>\n\n\n\n
\n