pg_upgrade performance
Speeding up pg_upgrade and the binary-upgrade pg_dump/pg_restore steps it runs for clusters with many relations, sequences, databases and large objects.
Versions
- PostgreSQL 20 · in-development · improved · moderate · 2 commits · +54 / -29 lines
- PostgreSQL 19 · shipped · improved · moderate · 4 commits · +367 / -138 lines
- PostgreSQL 18 · shipped · improved · moderate · 27 commits · +2.8k / -1.1k lines
- improve performance of pg_dump --binary-upgrade
- improve performance of pg_dump with many sequences
- add --no-sync to pg_upgrade's calls to pg_dump and pg_dumpall
- More performance improvements for pg_dump in binary upgrade mode
- optimizing pg_upgrade's once-in-each-database steps
- use CREATE DATABASE STRATEGY = FILE_COPY in pg_upgrade
- Speeding up ruleutils' name de-duplication code, redux
- optimize file transfer in pg_upgrade
- Horribly slow pg_upgrade performance with many Large Objects
- PostgreSQL 17 · shipped · improved · moderate · 4 commits · +1.4k / -853 lines
- PostgreSQL 16 · worked-on · improved · moderate
- PostgreSQL 15 · worked-on · improved · moderate
- PostgreSQL 14 · worked-on · improved · moderate
Threads
- Should we skip foreign key checks in binary upgrade mode?
- BUG #19688: pg_dump --schema scans all sequences in PostgreSQL 18, causing severe performance regression
- Make pg_strtok() a bit faster
- pg_restore fails on extracted tar archives with large objects
- Do we need an index on pg_constraint.confrelid?
- Fix pg_dump of grouped large object ACLs granted by a non-owner
- Race between pg_dump and ALTER SEQUENCE can cause read failure
- RE: pg_upgrade failing for 200+ million Large Objects
- pg_upgrade: transfer pg_largeobject_metadata's files when possible
- Remove redundant AssertVariableIsOfType uses in pg_upgrade
- BUG #19365: postgres 18 pg_dump fails whan drop sequence concurrently
- improve performance of pg_dump with many sequences
- optimize file transfer in pg_upgrade
- Horribly slow pg_upgrade performance with many Large Objects
- pg_dump sort priority mismatch for large objects
- pg_restore - cannot to restore blobs in dictionary format from older pg dumps
- To make pg_dump and pg_restore parallel in processing limited number of LOs
- add --sequence-data to pg_dumpall
- prevent 006_transfer_modes.pl from leaving files behind
- doc: expand note about pg_upgrade's --jobs option
- PG17 --transaction-size=1000 caused MVU failure
- speed up pg_upgrade with large number of tables
- miscellaneous pg_upgrade cleanup
- optimizing pg_upgrade's once-in-each-database steps
- Speeding up ruleutils' name de-duplication code, redux
- Avoid possible dereference null pointer (src/bin/pg_dump/pg_dump.c)
- More performance improvements for pg_dump in binary upgrade mode
- pg_dump: optimize dumpFunc()
- use CREATE DATABASE STRATEGY = FILE_COPY in pg_upgrade
- improve performance of pg_dump --binary-upgrade
- add --no-sync to pg_upgrade's calls to pg_dump and pg_dumpall
- pg_dump versus enum types, round N+1
- Reducing connection overhead in pg_upgrade compat check phase
- pg_upgrade failing for 200+ million Large Objects
- pg_dump from v13 is slow
- Speeding up pg_upgrade