This is the authors' abstract. We don't add key points for this paper.
SQL Azure utilizes Multi-Version Concurrency Control (MVCC) to support several features such as Read Committed Snapshot Isolation (RCSI), Snapshot Isolation (SI), Constant Time Recovery, and Metadata Versioning. MVCC maintains multiple versions of data rows to support these features. A background version cleaner lazily reclaims older versions that are not required by any of these features. The prior version cleaner algorithms suffered from several drawbacks which prevented it from cleaning older versions quickly leading to space bloat. Under conflicting workloads, the cleaner failed to acquire locks, delaying cleanup. Cleanup also slowed down significantly while handling very large databases and multi-database instances. When a consumer of some versions lagged, it held up many versions in the system from being cleaned up. This paper outlines the innovative solutions that SQL Azure implements to address these drawbacks, such as transaction-level version tracking, statement level cleanup, dynamic multi-threaded cleaner, and user-assisted cleanup. The paper also presents the impact of deploying these changes across millions of SQL databases in Azure.
Answers are grounded in this paper and cite their sources.
No takes yet. Share an insight, caveat, or question.
Gandikota et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: