~/talk

An Introduction to B-trees and LSM-trees for DEVs and DevOps

Talkat PostgreSQL Conference Europe 2025 · 2025-10-21..10-24· [databases]
links:none on file
slides:none on file

Benchmarks use PGbench comparisons between vanilla Postgres and Postgres-compatible LSM engines (PG Rocks, Cockroach, Yugabyte) at scale factors up to millions of rows, showing B-tree primary lookups stay at ~4 disk reads until an extra index level appears (~5 reads at ~5.1M rows). LSM engines deliver much higher ingest but suffer write-optimized, read-amplified behavior: bloom-filter false positives, no cheap range scans, heavy compaction that makes truncate is expensive and background updates or long transactions collapse throughput.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:47Traditional vs ordered storage
  3. 3:57Binary trees to B-trees
  4. 8:14B+ trees and range scans
  5. 8:35LSM trees overview
  6. 10:23LSM tree structure and writes
  7. 11:52LSM trees in distributed systems
  8. 13:18Reading data in LSM trees
  9. 15:50Historical context and old vs new
  10. 16:55Google and NoSQL evolution
  11. 17:59Postgres-compatible LSM solutions
  12. 18:41Apache Flink and update strategies
  13. 19:23Synchronous replication pain points
  14. 20:28Dev and DevOps training approach
  15. 21:10Postgres topologies at Adion
  16. 23:16Surprising LSM tree behaviors
  17. 25:44Postgres compatibility challenges
  18. 26:05Monitoring and observability issues
  19. 27:07Compaction and vacuum comparison
  20. 27:49Workload suitability and tests
  21. 28:09Resources and further reading
  22. 29:34Q&A session
~/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.