~/talk

Distributed SQL Tuning and Optimization in YugabyteDB

Talkat Distributed SQL Summit 2022 · on Wednesday, 2022-09-14· [databases, testing]
slides:none on file

Workshop shows how YugabyteDB stores tables as primary-key indexes, splits data into tablets by hash or range, and replicates them (commonly replication factor 3). Hands‑on uses Docker, psql, EXPLAIN ANALYZE, pg_stat/statements and a small script to count seek/next calls. Demonstrations prove expression pushdown reduces RPCs, partial/covering indexes and index-only scans cut cross-node lookups, and follower reads or colocated indexes lower geo latency. Exercises build tables, indexes and joins, measure surprising differences, and validate that the optimizations actually speed queries.

AI-written summary · about

  1. 0:00Workshop introduction
  2. 4:33Distributed database theory
  3. 10:24Sharding and storage internals
  4. 23:58Table and index creation
  5. 35:25Query execution plans
  6. 41:17Instrumentation and monitoring
  7. 54:57Execution plan analysis
  8. 1:11:24Pushdown optimizations
  9. 1:20:02Secondary and partial indexes
  10. 1:34:18Index order and covering indexes
  11. 1:45:38Join methods and hints
  12. 1:55:40Geo-distribution and latency
  13. 2:10:45Bulk loading and troubleshooting
~/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.