~/talk

Reducing Costs and Improving Performance With Data Modeling in Postgres

Talkat Percona Live 2022 · 2022-05-16..05-18· [databases, web-performance]
slides:none on file

Shows concrete wins: inspects Postgres heap pages and the Free Space Map with hex dumps and an extension, demonstrates reduced table from 73MB to 52MB by reordering columns to eliminate padding and align fields, copies data with SELECT INTO to preserve rows, explains TOAST and per-page headers. Demonstrates query-only optimization that goes from 2000ms to 160ms (contest winner 120ms) without adding indexes, and shows how these changes save disk, memory and CPU. examines page headers and FSM column reordering to remove padding

AI-written summary · about

  1. 0:00Start
  2. 7:10What is this talk about?
  3. 8:28Memory architecture/hierarchy
  4. 13:35Disk Data access
  5. 15:43HDD Performance
  6. 27:31Heap File in Postgres
  7. 31:23Page Layout
~/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.