~/talk

Performance: Tips & Tricks to Optimize the Speed of Your Mission-Critical Database

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

Concrete YugabyteDB tactics: pick primary keys that avoid extra RPCs (make email the PK instead of a serial id), prefer high-cardinality hash keys or explicit range sharding for timestamps, and size tablets ~6–8 per device. Use YB_ENABLE_EXPRESSION_PUSH_DOWN and follower reads (rf3/rf5 with configurable staleness) for fewer round trips, create covering and partial indexes (index-only scans limited to 32 columns), pack infrequent fields in JSONB, and enable packed rows (v2.15+) to cut write amplification and read latency.

AI-written summary · about

  1. 0:00Introduction
  2. 0:21Speed Costs Money
  3. 1:07Areas of Focus
  4. 1:22Data Modeling
  5. 1:53Key Organization
  6. 2:59Primary Key
  7. 5:50Pass Splitting
  8. 8:39Range Splitting
  9. 10:17Change Primary Keys
  10. 12:15Use Less Reference Columns
  11. 14:04Use the Right Number of Tablets
  12. 15:48Avoid Common Mistakes
  13. 17:49Mask Tablespaces
  14. 19:05Example
  15. 20:08Performance Structures
  16. 21:21Partial Indexes
  17. 22:39Duplicate Indexes
  18. 23:49Session tunables
  19. 25:14Followers
  20. 26:24Session Tunable
  21. 27:41Packed Rows
  22. 29:16Summary
~/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.