From: Jan Lentfer <Jan.Lentfer@web.de>
To: Mel Llaguno <mllaguno@coverity.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump and pg_restore with multiple streams does Not seem to improve overall times
Date: Mon, 04 May 2015 18:42:26 +0200
Message-ID: <7dc008d2afe5d9b9dcfd90a3bb540f98@imap.lan.net> (raw)
In-Reply-To: <D16CF6D3.369FE%mllaguno@coverity.com>
References: <em5e30e63a-661c-44ad-8996-601c945efc8b@oyster-creek>
<a37a287dd1d3a528f0d3a2a8b529f2a0@imap.lan.net>
<D16CF6D3.369FE%mllaguno@coverity.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Am 2015-05-04 18:19, schrieb Mel Llaguno:
> My understanding of parallel dump performance is that it only makes a
> difference when you have a large number of DBs (thousands if not tens
> of
> thousands). We performed similar testing using 9.3.x and found little
> performance gains using -j (with 100+ tables). See Bruce Momjianās
> post :
> http://momjian.us/main/blogs/pgblog/2012.html
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 wrapped pg_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
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: Jan.Lentfer@web.de, mllaguno@coverity.com
Subject: Re: pg_dump and pg_restore with multiple streams does Not seem to improve overall times
In-Reply-To: <7dc008d2afe5d9b9dcfd90a3bb540f98@imap.lan.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox