Re: pg_dump and pg_restore with multiple streams does Not seem to improve overall times - Mailing list pgsql-admin

From Igor Neyman
Subject Re: pg_dump and pg_restore with multiple streams does Not seem to improve overall times
Date
Msg-id A76B25F2823E954C9E45E32FA49D70ECCD4520AE@mail.corp.perceptron.com
Whole thread Raw
In response to Re: pg_dump and pg_restore with multiple streams does Not seem to improve overall times  (Jan Lentfer <Jan.Lentfer@web.de>)
Responses Re: pg_dump and pg_restore with multiple streams does Not seem to improve overall times
List pgsql-admin

-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Jan Lentfer
Sent: Monday, May 04, 2015 12:42 PM
To: Mel Llaguno
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] pg_dump and pg_restore with multiple streams does Not seem to improve overall times

I don't know about parallel pg_dump as we use -Fc and pg_dump can't do that in parallel (afaik). For dumping I have
wrappedpg_dump in a shell script to dump several databases in parallel.
 
But for pg_restore -j option does make a big difference, at least when you have a lot of larger tables and indexes.

Regards,

Jan


Combination of -Fc  and -j definitely works in pg_dump.  And there is nothing in the docs that states otherwise.

Regards,
Igor Neyman


pgsql-admin by date:

Previous
From: Marc Fromm
Date:
Subject: Re: migrating to 9.2 created blank dbs
Next
From: Jeff Frost
Date:
Subject: Re: migrating to 9.2 created blank dbs