~/talk

Speed Wins: The Basics Of How To Push More Queries Through Each CPU Core

Talkat Big Data LDN 2022 · 2022-09-21..09-22· [data-engineering]
links:none on file
slides:none on file

Real case: a 1.1B-row (~30GB) events table returns an 8s query that reads ~42GB; reordering sort keys to event + timestamp and pushing filters first cuts reads to 46M rows (~1.7GB) and latency to ~0.7s. Materializing the join and aggregation with materialized view (Tinybird) yields ~54k rows (~0.002GB) and ~0.003s per query. Customers report similar wins (reads 45GB → 2.5GB, latency 2s → 30ms). Key tactics: filter early, index/sort by query predicates, pre-aggregate incrementally.

AI-written summary · about

  1. 0:00Start
  2. 2:58Definition
  3. 18:01Materialized View
  4. 20:04Final dashboard
~/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.