~/talk

Transactions and Concurrency Control Patterns

Talkat Voxxed Days Zurich 2017 · on Thursday, 2017-02-23· [databases, distributed-systems]
slides:none on file

Explains concrete tradeoffs: two‑phase locking costs scale poorly while MVCC (demonstrated with PostgreSQL Xmin/Xmax MVCC demo) avoids reader‑writer blocking but requires vacuuming and can produce write skew and snapshot anomalies; contrasts Oracle, SQL Server, PostgreSQL, MySQL behaviors; shows application fixes using optimistic force‑increment versioning, versionless optimistic checks, table splits to avoid false‑positive conflicts, and how these patterns catch lost updates in multi‑request web flows where DB transactions alone fail.

AI-written summary · about

  1. 0:00Intro
  2. 2:25History
  3. 2:51Atomicity
  4. 4:38Consistency
  5. 6:09Durability
  6. 8:46Isolation
  7. 9:33Conflicts
  8. 11:48Locking
  9. 13:11Two Phase Locking
  10. 15:12MVCC
  11. 15:39MVCCC
  12. 17:11Delete
  13. 18:24Update
  14. 19:11Two types of isolation
  15. 21:22Isolation leverage
  16. 23:28Phantom rate
  17. 23:57Reads Q
  18. 28:53Lexical Standards
  19. 29:17Reality
  20. 33:24Version column
  21. 34:57Multiple columns
  22. 35:44Splitting tables
  23. 36:06Updating tables
  24. 36:27Hibernate
~/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.