Re: PostgreSQL Dump rate is too slow

From: "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu>
To: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PostgreSQL Dump rate is too slow
Date: 2015-01-08 15:44:04
Message-ID: 20150108154404.GH3783@aart.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jan 08, 2015 at 08:38:37AM -0700, David G Johnston wrote:
> On Thu, Jan 8, 2015 at 12:12 AM, Adalkonda Harshad [via PostgreSQL] <
> ml-node+s1045698n5833283h97(at)n5(dot)nabble(dot)com> wrote:
>
> >
> > As the database size is too large and tweaking few database parameters
> > will result towards performance improvement on pg_dump to some extent and
> > pg_dump -j option would have helped if the DB version is PostgreSQL 9.3 but
> > unfortunately your DB version is PostgreSQL 9.2
> >
> >
> ​pg_dump 9.3+ can be used against the 9.2 server without problems. Read
> the documentation for the --jobs option for details.
>
> David J.
> ​
>
+1

This is a nice option for allowing you to leverage more than a single CPU core
for the dump, provided you have the CPU and I/O cycles to support it. As others
have suggested, offloading to a replica can help with that.

Regards,
Ken

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2015-01-08 18:03:52 Re: PostgreSQL Dump rate is too slow
Previous Message David G Johnston 2015-01-08 15:38:37 Re: PostgreSQL Dump rate is too slow