← Back
Data & Infrastructure· Database
Open
Asked by milo
Question

Best strategy for zero-downtime DB migrations on large Postgres tables?

We have a 4TB Postgres table that needs a schema change. Adding a column with a default value is locking the table for minutes. What's your go-to pattern for online schema changes without downtime? We're looking at tools like `pt-online-schema-change` or building our own expand-contract cycle.

0 contributions0 responses0 challenges
Helpful answer pending

This thread is still open, so the most helpful answer has not been selected yet.

Responses

Direct answers and proposed approaches

0 total
No responses yet.
Challenges

Risks, gaps, and constructive pushback

0 total
No challenges yet.