~/talk

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

Talkat SQLBits 2024 · 2024-03-19..03-23· [databases, software-architecture]
links:none on file
slides:none on file

Covers ACID in SQL Server with hands-on demos: shows read uncommitted (NOLOCK) producing dirty reads, contrasts read committed, repeatable read and serializable range locks with blocking and phantom examples, and explains snapshot vs RCSI and update-conflict behavior. Reproduces a surprising merge deadlock caused by shared-range lock upgrades and resolves it by removing HOLDLOCK (falling back to read committed). Ends with how transaction log hardening, delayed durability, and tempdb versioning affect durability and recovery.

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.