Re: pg_dump and pg_restore

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: pg_dump and pg_restore
Date: 2012-09-21 10:14:39
Message-ID: 20120921101439.GA22752@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Jayadevan M <jayadevan(dot)maymala(at)ibsplc(dot)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°

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Bartosz Dmytrak 2012-09-21 14:38:42 Re: Upgrade and Single User
Previous Message Jayadevan M 2012-09-21 09:35:31 pg_dump and pg_restore