~/talk

Maximizing Database Performance With Isolation Levels

Talkat SQLBits 2022 · 2022-03-08..03-12· [databases]
links:none on file
slides:none on file

Covers SQL Server and Azure SQL isolation levels with concrete demos: a 41,437-row ZIP code table, 5,000 updates repeatedly moving rows while another session counts results, showing default read committed returns wrong counts (correct 60/1000, 371 undercounts, 569 overcounts) while read committed snapshot returns correct results every time. Shows using DBCC USEROPTIONS, ALTER DATABASE to enable RCSI or snapshot, inspects locks with Extended Events, explains key-range locks for serializable, and demonstrates error 3960 (snapshot update conflict) and tempdb version store impact.

AI-written summary · about

  1. 0:00Introduction to concurrency
  2. 1:21Concurrency conflicts
  3. 3:56Locking and deadlock
  4. 7:05Pessimistic vs optimistic
  5. 8:04SQL Server isolation levels
  6. 13:54Read uncommitted isolation
  7. 19:34Read committed isolation
  8. 26:58Repeatable read isolation
  9. 29:23Serializable isolation
  10. 31:54Optimistic concurrency
  11. 34:21Read committed snapshot
  12. 37:29Snapshot isolation
  13. 44:38Cloud considerations and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.