pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bob Lunney <bob_lunney@yahoo.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Parallel pg_dump on a single database
Date: Fri, 24 Jun 2011 14:21:36 -0700 (PDT)
Message-ID: <877182.59904.qm@web39704.mail.mud.yahoo.com> (raw)

Is it possible (or smart!) to run multiple pg_dumps simulataneously on a single database, dumping different parts of the database to different files by using table and schema exclusion?  I'm attempting this and sometimes it works and sometimes when I check the dump files with 


  pg_restore -Fc <dumpfile> > /dev/null

I get 

  pg_restore: [custom archiver] found unexpected block ID (4) when reading data -- expected 4238

I suspect that locks are colliding sometimes and not others, but I'm not sure.  Little help?  

Thanks in advance,

Bob Lunney



view thread (3+ messages)  latest in thread

Message-ID: <877182.59904.qm@web39704.mail.mud.yahoo.com>
Permalink:  ../877182.59904.qm@web39704.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/877182.59904.qm@web39704.mail.mud.yahoo.com

 · 

reply

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: bob_lunney@yahoo.com
  Subject: Re: Parallel pg_dump on a single database
  In-Reply-To: <877182.59904.qm@web39704.mail.mud.yahoo.com>

* 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