Thread: pg_dump and pg_restore
Hello all,
If I opt for pg_dump to create a .sql backup file or the –Fc format, is there is significant difference in the time it will take to restore?
Regards,
Jayadevan
DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."
Jayadevan M <jayadevan.maymala@ibsplc.com> wrote: > Hello all, > > If I opt for pg_dump to create a .sql backup file or the –Fc format, is there > is significant difference in the time it will take to restore? Yes: with -Fc you can use the -j - Feature (pg_restore): -j number-of-jobs, --jobs=number-of-jobs tu run multiple table-inserts simultaneous. Andreas -- Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) "If I was god, I would recompile penguin with --enable-fly." (unknown) Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
> If I opt for pg_dump to create a .sql backup file or the –Fc format, > is there is significant difference in the time it will take to restore? Yes: with -Fc you can use the -j - Feature (pg_restore): -j number-of-jobs, --jobs=number-of-jobs tu run multiple table-inserts simultaneous. Thank you. Regards, Jayadevan DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressedand may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contactthe sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guaranteesthe accuracy, adequacy or completeness of the information contained in this email or any attachment and is notliable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."