Get the latest tech news
Parallel Snapshotting: make pg_dump and pg_restore multi-threaded per table
pg_dump and pg_restore are reliable tools for backing up and restoring Postgres databases. They're essential for database migrations, disaster recovery and so on. They offer precise control over object selection for backup/restore, dump format option...
This significantly slows down the dump and restore of databases with a star schema common in real-world applications such as Time series and IoT. The benchmark was conducted under optimal conditions, i.e., using the correct flags and region collocating the source, target, and the VM on which pg_dump and pg_restore were running, among other factors. The intent of this blog is to share the design principles we followed to enable faster database migrations and discuss how they can be extended to enhance pg_dump and pg_restore in the future.
Or read this on Hacker News