~/talk

The Seven Principles for Making a PostgreSQL DB Work Fast

Talkat Carolina Code Conference 2024 · 2024-08-23..08-24· [databases]
slides:none on file

Seven practical rules: ground schema in the real business model to avoid leaky abstractions; run PG stat statements and auto_explain to surface slow queries and capture plans; balance work between stored procedures and app code based on latency, team SQL fluency and hosting limits; design multicolumn indexes only after understanding query patterns; scale up, then add replication or sharding (Citus-style) when needed; use materialized views or ETL to columnar DBs for heavy analytics; prefer managed Postgres where it reduces ops.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13Principle 1 Good Relations
  3. 1:30Principle 2 Profiling
  4. 2:51Principle 3 Data Processing
  5. 4:52Principle 4 Indexing
  6. 6:29Principle 5 Scaling
  7. 7:53Principle 6 Quitting Relation Game
  8. 9:09Principle 7 Using the Right Tools
  9. 10:02Principle 8 Know Your Team
~/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.