Skip to main content

7 docs tagged with "schema-design"

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 drop a column

Drop a PostgreSQL column safely without downtime using lock_timeout, retries, rollout order, and reclaiming disk space.

How to use UUID

As of PG16 (year 2023), Postgres implements UUID versions from 1 to 5, based on RFC 4122.