~/talk

Understanding the Query Execution in YugabyteDB

Talkat Distributed SQL Summit Asia 2023 · on Tuesday, 2023-03-28· [databases]
links:none on file
slides:none on file

Yugabyte uses the Postgres query layer pluggable into a custom DocDB on RocksDB storage engine, and the planner/executor/optimizer are extended to be shard- and node-aware. Primary vs secondary indexes and hash vs range sharding determine physical ordering; a simple Docker demo compares two tables with different primary keys and shows the same query taking about 5 ms versus 1.7 ms, illustrating a ~3 ms penalty when the index choice forces scanning many rows.

AI-written summary · about

  1. 0:00YugabyteDB overview
  2. 2:02YugabyteDB architecture
  3. 4:15PostgreSQL compatibility
  4. 7:10Query layer enhancements
  5. 9:00Supported PostgreSQL features
  6. 10:54Storage layer execution
  7. 11:38Key-value storage model
  8. 13:28Data sharding impact
  9. 17:44Demo: Query performance
  10. 24:16Key takeaways
~/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.