Microsoft Certified IT Professional Rudi Bruchez EI Microsoft Certified IT Professional

Rudi Bruchez EI · www.pachadata.com · rudi@pachadata.com · +33 6 22 48 76 99
Consulting, audit, performance tuning, solutions, training
SQL Server OLTP and BI / NoSQL

Version of October 14, 2026 (33a626f0) · https://www.pachadata.com/en/docs/howtos/performance/rcsi/

Read Committed Snapshot

How to enable the Read Committed Snapshot option in a SQL Server database

The Read Committed Snapshot Isolation (RCSI) option removes blocking between reads and writes in a database, by switching to an optimistic concurrency model based on row versioning.

Enable it with T-SQL rather than through the SSMS interface. The activation needs exclusive access to the database, and the ROLLBACK IMMEDIATE option below disconnects every user from the database. Plan it accordingly with the application owners.

USE [master]
GO
ALTER DATABASE [<database>]
SET READ_COMMITTED_SNAPSHOT ON
WITH ROLLBACK IMMEDIATE
GO

Replace <database> with the name of your database.

What RCSI changes

The default isolation level in SQL Server is READ COMMITTED. A SELECT has to wait for an in-flight data modification to finish before it can read, and a modification has to wait for readers: uncommitted changes cannot be read. When the modification is expensive, this produces blocking.

Read Committed Snapshot changes that behavior by keeping a version of each row before it is modified. Reads then proceed without waiting and without blocking, against a transactionally consistent version of the data as it stood before the modification.

Reads no longer block writes, and writes no longer block reads.

The one drawback is heavier activity in tempdb, which holds the version store. It also increases the size of the data slightly, since each row gets a versioning pointer.

Contact

I have been an independent SQL Server consultant since 2006. I help when an application slows down, when a server costs too much in storage or licenses, or when a migration must not stop production: audit and diagnosis, query and index tuning, migrations, high availability, training. On site, or as a remote audit delivered in five working days.

rudi@pachadata.com · +33 6 22 48 76 99 · www.pachadata.com/en/contact/