~/talk

Cost-Based Optimizer in YDB — How, Why and What For?

TalkinRussianat HighLoad++ 2024 · 2024-12-02..12-03· [databases]
links:none on file
slides:none on file

YDB added a cost-based query optimizer to improve query planning and execution. The talk explains why the optimizer was introduced, what problems it addresses (choosing cheaper query plans and resource-efficient execution), and how it works at a high level within YDB’s architecture.

AI-written summary · about

  1. 0:00Introduction
  2. 3:40Why optimizer needed
  3. 7:42YDB optimizer evolution
  4. 10:12Plan enumerators
  5. 13:51Dynamic programming
  6. 16:22JOIN optimization problems
  7. 20:14Statistics and cardinality
  8. 23:06Optimizer cost functions
  9. 25:12Competitor comparison
  10. 29:10Redshift, Oracle, Snowflake
  11. 31:40Development time allocation
  12. 32:50Future plans
  13. 33:13Q&A
~/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.