PostgreSQL Version Upgrades: pg_upgrade (Link Mode vs. Copy) Quiz Home › PostgreSQL DBA › PostgreSQL Version Upgrades: pg_upgrade (Link Mode vs. Copy) 🔧 Postgres Database Administration – PostgreSQL Version Upgrades: pg_upgrade (Link Mode vs. Copy) 20 questions · 15 min timer · Explanations included · Free 1. Which of the following is a best practice when using pg_upgrade? Ensure both clusters use the same data directory. Upgrade directly from any older version to the latest version. Disable all user roles before upgrading. Review release notes for deprecated features. None Show Hint Reviewing release notes helps identify deprecated features and changes that may affect the upgrade process. 2. Why is it important to analyze and vacuum the new cluster after a pg_upgrade? To ensure data consistency. To reclaim disk space. To update system catalogs. To optimize query performance. None Show Hint Analyzing and vacuuming the new cluster updates statistics and optimizes query performance by allowing the planner to make informed decisions. Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Loading questions... Click Submit to see your final score! Previous Start Quiz Next Time's up