~/talk

Tutorial

Talkat PGConf Silicon Valley 2015 · 2015-11-17..11-18· [databases]
slides:none on file

Three-hour tutorial unpacks exactly what happens between sending SQL and getting rows: use of libpq PQexec over port 5432, tokenizing to a parse tree, and planner choices (sequential / index / bitmap scans; nested‑loop, hash, merge joins). Storage uses 8KB pages and item pointers with TOAST for oversize fields; MVCC relies on xmin/xmax plus a two‑bit clog; durability uses the WAL replay and checkpoints model (first full page write then incremental WAL records; checkpoints recycle WAL). Generic query optimizer kicks in for large joins (≈11+ tables).

AI-written summary · about

  1. 0:00Start
  2. 6:56Query in Libp
  3. 11:55TCP/IP Packet
  4. 13:12Query Processing
  5. 27:10Backend Flowchart - Magnified
  6. 36:10Scanner Identifier Rule
  7. 38:04Scanner Numeric Rules
  8. 40:16SELECT Parser Action
  9. 43:08Range Table Entry Structure
  10. 43:29Target Entry Structure
  11. 46:31Var Structure
~/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.