~/talk

Accelerating QuestDB: Lessons from a 6x Performance Boost

Talkat Berlin Buzzwords 2025 · 2025-06-15..06-17· [databases]
links:none on file
slides:none on file

QuestDB (Apache‑2.0) moves from being 33× slower on ClickBench to roughly 3× and reports up to a 6x performance boost on some queries by adding SIMD-style string scans, a smjit JIT for compiled predicates, specialized hash tables and a 256-way parallel merge for high‑cardinality GROUP BYs, plus UTF‑8 “German” string storage and faster regex/replace paths. An improved as-of join tolerance and binary‑search join strategy cut expensive backward scans. All changes live in QuestDB’s GitHub and show measurable speedups.

AI-written summary · about

  1. 0:00Introduction to QuestDB
  2. 1:03Why databases need speed
  3. 3:51QuestDB architecture and design
  4. 6:41Time series query optimizations
  5. 8:06Improving non-time queries
  6. 9:10Choosing the right benchmark
  7. 10:16ClickBench performance baseline
  8. 12:44Performance improvements over time
  9. 15:54Two-year performance journey
  10. 16:35Simple optimizations that worked
  11. 18:01Just-in-time compiler enhancements
  12. 20:50Parallelizing string filters
  13. 23:25Query rewriting techniques
  14. 23:46SIMD and low-level optimizations
  15. 25:34String storage improvements
  16. 26:39Handling variable-size data
  17. 29:50Optimizing group by operations
  18. 31:36High cardinality group by
  19. 32:58Specialized hash tables
  20. 34:22As-of join improvements
  21. 37:57Tolerance in as-of joins
  22. 38:40Lessons learned and future plans
~/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.