Read committed Snapshot VS Snapshot Isolation Level

后端 未结 4 1596
无人共我
无人共我 2020-12-04 07:21

Could some one please help me understand when to use SNAPSHOT isolation level over READ COMMITTED SNAPSHOT in SQL Server?

I understand that in most cases READ COMMIT

4条回答
  •  眼角桃花
    2020-12-04 07:54

    READ COMMITTED SNAPSHOT does optimistic reads and pessimistic writes. In contrast, SNAPSHOT does optimistic reads and optimistic writes.

    Microsoft recommends READ COMMITTED SNAPSHOT for most apps that need row versioning.

    Read this excellent Microsoft article: Choosing Row Versioning-based Isolation Levels. It explains the benefits and costs of both isolation levels.

    And here's a more thorough one: http://msdn.microsoft.com/en-us/library/ms345124(SQL.90).aspx

提交回复
热议问题