~/talk

The Database: A Sophisticated and Special Data Structure

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [databases]
links:none on file
slides:none on file

Compares B-tree–based databases (SQLite, Postgres, Oracle) and LSM-tree systems (Cassandra, RocksDB, LevelDB): B-trees map nodes to disk pages so range scans read whole pages and searches remain O(log N) with balanced, splitable nodes, while LSM trees buffer writes in memory, flush to SSTables and run compactions so writes are amortized near-constant but reads require multi-level lookups and pay compaction costs. Discusses tunable parameters (fillfactor/PCTFREE, compaction interval, SSTable size) and describes building a file manager and image cache on B-trees that achieves good local-disk performance.

AI-written summary · about

  1. 0:00Database introduction
  2. 1:25Internal database operation
  3. 2:31Key data structures: B-Tree and LSM-Tree
  4. 14:47B-Tree discovery and performance
  5. 25:05B-Tree disk storage
  6. 34:13LSM-Tree introduction and advantages
  7. 36:48LSM-Tree compaction process
  8. 41:31B-Tree vs LSM-Tree comparison
  9. 42:57Advanced applications and optimizations
  10. 44:02Conclusion
~/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.