~/talk

BerkeleyDB

Talkat The Databaseology Lectures (Fall 2015) · 2015-09-10..11-12· [databases]
links:none on file
slides:none on file

Berkeley DB is a simple key-value engine that stores data in fixed-size pages with a shared in-memory hash cache and a B+ tree whose root lives at page zero; keys can be arbitrarily large via off-page chaining. It uses page-level locking with deadlock detection and configurable victim selection, and a log-first durability design: every update records an LSN in fixed-length log files that carry enough info to both undo and redo, enabling full replay, checkpoints, and log-driven master/replica replication with quorum commits. Slicing splits databases across environments for scale.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33History
  3. 3:45Tigerwire
  4. 4:18Design
  5. 6:07Pages
  6. 7:39Cache
  7. 10:03Btree
  8. 14:36Insert a Key
  9. 15:41Locking
  10. 17:55deadlock detection
  11. 23:04log entry
  12. 24:58offset
  13. 25:44operation data
  14. 27:43consistency
  15. 29:35checkpointing
  16. 31:04recovery
  17. 36:22Slices
  18. 37:36Sales Pitch
~/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.