Re: pg_dump and pg_restore - Mailing list pgsql-novice

From Andreas Kretschmer
Subject Re: pg_dump and pg_restore
Date
Msg-id 20120921101439.GA22752@tux
Whole thread Raw
In response to pg_dump and pg_restore  (Jayadevan M <jayadevan.maymala@ibsplc.com>)
Responses Re: pg_dump and pg_restore
List pgsql-novice
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°


pgsql-novice by date:

Previous
From: Jayadevan M
Date:
Subject: pg_dump and pg_restore
Next
From: Bartosz Dmytrak
Date:
Subject: Re: Upgrade and Single User