Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YB5rZ-0004cb-G7 for pgsql-admin@arkaria.postgresql.org; Tue, 13 Jan 2015 18:06:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YB5rY-0001GP-WA for pgsql-admin@arkaria.postgresql.org; Tue, 13 Jan 2015 18:06:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YB5rX-0001Du-P5 for pgsql-admin@postgresql.org; Tue, 13 Jan 2015 18:06:43 +0000 Received: from resqmta-po-10v.sys.comcast.net ([2001:558:fe16:19:96:114:154:169]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YB5rT-0004oK-9I for pgsql-admin@postgresql.org; Tue, 13 Jan 2015 18:06:42 +0000 Received: from resomta-po-14v.sys.comcast.net ([96.114.154.238]) by resqmta-po-10v.sys.comcast.net with comcast id fW3p1p00558ss0Y01W6Zyl; Tue, 13 Jan 2015 18:06:33 +0000 Received: from jerry.enova.com ([38.98.177.132]) by resomta-po-14v.sys.comcast.net with comcast id fW6J1p00H2rmZlA01W6L6L; Tue, 13 Jan 2015 18:06:31 +0000 Received: by jerry.enova.com (Postfix, from userid 1001) id E97557401E3; Tue, 13 Jan 2015 12:06:16 -0600 (CST) From: Jerry Sievers To: Stephen Frost Cc: Tom Lane , Ray Stell , "pgsql-admin\@postgresql.org" Subject: Re: 9.4 pg_dump use on 9.0 db References: <54B52E9B.8020208@vt.edu> <11235.1421162639@sss.pgh.pa.us> <20150113153445.GQ3062@tamriel.snowman.net> <20150113153610.GR3062@tamriel.snowman.net> Date: Tue, 13 Jan 2015 12:06:16 -0600 In-Reply-To: <20150113153610.GR3062@tamriel.snowman.net> (Stephen Frost's message of "Tue, 13 Jan 2015 10:36:10 -0500") Message-ID: <86a91m5zdz.fsf@jerry.enova.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pg-Spam-Score: -0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Stephen Frost 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