Skip to main content

5 docs tagged with "locking"

View all tags

How to add a column

Add a column in PostgreSQL safely under load using lock_timeout, retries, DEFAULT and NOT NULL rules, and backfilling.

How to understand what's blocking DDL

In day 60, we discussed how to add a column and that under load you need low lock_timeout and retries (also see: Zero-downtime Postgres schema migrations need…