Skip to main content

35 docs tagged with "intermediate"

View all tags

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…

How to use pg_restore

Today – a few tips on using `pg_restore` to restore databases (or only parts of them) from dumps.

How to use UUID

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

psql tuning

The file ~/.psqlrc can be used to set some settings by default. For example: