Databases · Senior · Question 47 of 75

How can you do a major PostgreSQL version upgrade with minimal downtime?

Explanation

pg_upgrade is fast but needs downtime. Logical replication keeps the old cluster running until the cutover; sequences and DDL need extra care.

Further reading

Problem with a question

Databases · Senior · question 47

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz