Troubleshooting Row-Versioning–Based Snapshot-Based Isolation Levels

SQL Server 2005’s snapshot isolation levels are new features of the database engine that are specifically meant to improve concurrency. These two levels are:

  • READ COMMITTED SNAPSHOT: a variation of the default READ COMMITTED isolation level

  • SNAPSHOT ISOLATION: a new isolation level for explicit transactions. (We’ll refer to this option as Full SNAPSHOT to distinguish it more clearly from READ COMMITTED SNAPSHOT.)

We refer to these two options together as the snapshot-based isolation levels. A SELECT statement executing in a database with READ COMMITTED SNAPSHOT enabled will return committed data that is consistent as of the beginning of the SELECT statement. A SELECT statement ...

Get Inside Microsoft® SQL Server™ 2005: Query Tuning and Optimization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.