-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade PostgreSQL from 9.5 to 14+ #3740
Comments
🍾 |
maybe have a look at https://pgbackrest.org/ |
Resources from past upgrades: kobotoolbox/kobo-docker#259, kobotoolbox/kobo-docker#265 |
quick wip scratch pad
|
to dos:
plan for switchover:
upgrading mongo and redis:
don't forget:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After a first reading of the release notes for the major versions:
…I think these may require our attention:
9.6
Merge the archive and hot_standby values of the wal_level configuration parameter into a single new value replica (Peter Eisentraut)
10
Hash indexes must be rebuilt after pg_upgrade-ing from any previous major PostgreSQL version (Mithun Cy, Robert Haas, Amit Kapila)
Major hash index improvements necessitated this requirement. pg_upgrade will create a script to assist with this.
Rename write-ahead log directory pg_xlog to pg_wal, and rename transaction status directory pg_clog to pg_xact (Michael Paquier)
Users have occasionally thought that these directories contained only inessential log files, and proceeded to remove write-ahead log files or transaction status files manually, causing irrecoverable data loss. These name changes are intended to discourage such errors in future.
Rename SQL functions, tools, and options that reference “xlog” to “wal” (Robert Haas)
For example, pg_switch_xlog() becomes pg_switch_wal(), pg_receivexlog becomes pg_receivewal, and --xlogdir becomes --waldir. This is for consistency with the change of the pg_xlog directory name; in general, the “xlog” terminology is no longer used in any user-facing places.
13
Rename configuration parameter wal_keep_segments to wal_keep_size (Fujii Masao)
The text was updated successfully, but these errors were encountered: