~/talk

Data Modeling for Distributed SQL

TalkinJapaneseat Distributed SQL Summit Asia 2024 · on Wednesday, 2024-04-24· [databases]
links:none on file
slides:none on file

Explains how YBDB (YugaByte) uses the primary key to determine sharding: choose hash sharding for write distribution and range sharding for range scans, since hash defaults to one tablet per node. Covers sequence cache tuning (default 100 per connection, can increase to 1,000 per tserver to reduce hotspots), tablet sizing costs (~1,000 tablets ≈ 0.4 vCPU) and avoiding unnecessary splits via colocation and split_in, and recommends using the Voyager migration tool with small test clusters, schema analysis, and tuning before full imports.

AI-written summary · about

  1. 0:00Welcome
  2. 1:08Distributed vs traditional SQL
  3. 2:57Data sharding with primary keys
  4. 4:44Hash vs range sharding
  5. 6:543 sharding design points
  6. 7:16Primary key design methods
  7. 9:27Secondary indexes in action
  8. 14:20Table sizing and colocation
  9. 17:15Best practices for models
  10. 17:35Voyager migration tool
  11. 21:07UUID anti-patterns vs sequences
  12. 24:03Denormalizing data models
  13. 28:03Summary and Q&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.