~/talk

ACID in SQL Server: what it is, how it works, and how to live more adventurously.

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

Covers how SQL Server implements ACID with concrete demos: isolation levels from read uncommitted to serializable, a banking transfer demo showing dirty reads and blocking, and how merge with HOLDLOCK causes unexpected shared range locks and deadlocks even for distinct keys — solved by switching to read committed. Explains deadlock detection picking a victim (error 1205) and retry strategy, snapshot/RCSI row-versioning and update conflicts, delayed durability boosting throughput at risk of data loss, and tempdb growth under versioning.

AI-written summary · about

  1. 0:00ACID overview
  2. 1:12ACID in SQL Server
  3. 4:28Isolation levels
  4. 10:50Read committed isolation
  5. 11:33Repeatable read and phantoms
  6. 16:13Serializable isolation
  7. 24:06Isolation trade-offs
  8. 25:27Deadlocks in SQL Server
  9. 33:18Deadlocks with merge
  10. 41:47Snapshot isolation
  11. 47:04Durability and transaction log mechanics
  12. 49:10Delayed durability
  13. 50:36Key takeaways
~/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.