pg_dump and pg_restore

Поиск
Список
Период
Сортировка
Искать

pg_dump and pg_restore

От:
Jayadevan M <jayadevan.maymala@ibsplc.com>
Дата:

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."

Re: pg_dump and pg_restore

От:
Andreas Kretschmer <akretschmer@spamfence.net>
Дата:
Jayadevan M  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°

Re: pg_dump and pg_restore

От:
Jayadevan M <jayadevan.maymala@ibsplc.com>
Дата:

> 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 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." 
FAQ