pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerry Sievers <gsievers19@comcast.net>
To: Stephen Frost <sfrost@snowman.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ray Stell <stellr@vt.edu>
Cc: pgsql-admin\@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: 9.4 pg_dump use on 9.0 db
Date: Tue, 13 Jan 2015 12:06:16 -0600
Message-ID: <86a91m5zdz.fsf@jerry.enova.com> (raw)
In-Reply-To: <20150113153610.GR3062@tamriel.snowman.net>
References: <54B52E9B.8020208@vt.edu>
	<11235.1421162639@sss.pgh.pa.us>
	<20150113153445.GQ3062@tamriel.snowman.net>
	<20150113153610.GR3062@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Stephen Frost <sfrost@snowman.net> writes:

> * Stephen Frost (sfrost@snowman.net) wrote:
>
>> Looking at pg_dump, for my 2c anyway, it'd be nicer if we threw an error
>> on parallel dump request when the major version doesn't support
>> synchronized snapshots, unless the user explicitly passed
>> --no-synchronized-snapshots, indicating that they don't care.
>
> Ah, bah, we do that already.  Good on us.  I was looking at where the
> snapshot is actually taken and didn't notice the earlier check.

The OP didn't mention if the DB is huge and/or inconvenient to quiesce.

But in any case, doing a --jobs N dump from a per-snapshot origin system
requuires the system be quiescent just long enough to get the pg_dump
master process and all workers connected.

I assume this is due to pg_dump running all of its N workers each using
a persistent connection and in a serialized transaction.

Thus --jobs --no-sync-snap is very slick indeedy!!

FYI

>
> Nevermind me.
>
> 	Thanks,
>
> 		Stephen

-- 
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (5+ messages)

Message-ID: <86a91m5zdz.fsf@jerry.enova.com>
Permalink:  ../86a91m5zdz.fsf@jerry.enova.com/
Also on:    postgresql.org/message-id/86a91m5zdz.fsf@jerry.enova.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: gsievers19@comcast.net, sfrost@snowman.net, tgl@sss.pgh.pa.us, stellr@vt.edu
  Subject: Re: 9.4 pg_dump use on 9.0 db
  In-Reply-To: <86a91m5zdz.fsf@jerry.enova.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