Questions tagged [read-committed-snapshot]
34 questions
0
votes
1 answer
How do I avoid a deadlock while setting read committed snapshot off in SQL Server?
For a testing scenario, I need to set read committed snapshot off on an SQL server instance. After the test I need to revert the changes. I use an IF statement to determine which action to perform. Here is the script that I use:
USE [master]
GO
IF…

Anoop R Desai
- 712
- 5
- 18
0
votes
1 answer
Can a SELECT performed with READ COMMITTED trigger an exception in Postgresql?
I need to take a snapshot (SELECT) of some table rows for display. These rows will never be modified or deleted in that same transaction, or transmitted to another transaction which could modify those rows. I only want a simple snapshot-like read in…

Jérôme Verstrynge
- 57,710
- 92
- 283
- 453
0
votes
3 answers
Read Committed Snapshot Isolation: Does Update Conflict Rollback appear as Deadlock?
I have read committed snapshot isolation and allow isolation ON for my database. I'm still receiving a deadlock error. I'm pretty sure I know what is happening...
First transaction gets a sequence number at the beginning of its transaction.
Second…

Eric J. Price
- 2,740
- 1
- 15
- 21
-2
votes
1 answer
Can you still lock rows exclusively (block readers) in a SQL Server db that has Snapshot Isolation and RCSI enabled?
Can you still lock rows exclusively (block readers) in a SQL Server db that has Snapshot Isolation and RCSI enabled?
I want to basically do a xlock, rowlock select on a table.

BigErn77
- 47
- 3