~/talk

Data Modeling: Master This Critical Step to Adopting a Distributed Database

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

Explains concrete rules for YugabyteDB data placement and tradeoffs: pick primary key partition columns to co-locate rows (example: store_id partitioning vs product_id), use secondary and covering index to make reads finish in one RPC (demo: index including in_store_count returns stores for a product in a single network round trip), avoid global sequences and prefer uuid over sequences for uniqueness, accept extra update cost for cross-node indexes, and denormalize bounded children or enums to eliminate joins; YCQL offers static objects, YSQL is regular SQL.

AI-written summary · about

  1. 0:00Start
  2. 0:35Data Model and Your Application Use Patterns
  3. 3:51Rules of Thumb
  4. 7:06Primary Key Selection
  5. 7:43Sequence Numbers
  6. 13:07Gigabyte Indexes
  7. 15:58Denormalization
  8. 18:29Data Duplication
~/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.