Notes from the workbench

The craft of PostgreSQL.

Field notes on running, measuring and shaping Postgres — from someone who has been at it since 2004. I'm Scott Mead: 5th employee at EnterpriseDB, founding partner at OpenSCG, Principal Engineer at AWS RDS, and now Sr. Staff at Databricks.

Writing

  1. Restoring 5 TB of Postgres in 5 seconds

    A Lakebase Postgres branch is an isolated instance of your postgres database. I grew one database from 22 GB to 5 TB and timed branch creation at every step.

  2. The Postgres Mistakes We All Still Make

    Slides from my NYC Postgres Meetup talk — connections, MVCC, idle transactions, bulk deletes and unused indexes, each with the query that finds it.

  3. Parallel Query is Silently Stealing Your CPU

    Slides from my Postgres Conference San Jose talk — five ways parallel query quietly burns CPU, and how to detect and tune each one.

  4. Tracking Postgres Stats

    Snapshot Postgres's cumulative statistics views so you can see what your workload actually did between two points in time.

  5. PgCraftsman

    Who I am, and why this site exists.

    1 min read