pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump order of operation
Date: Sun, 26 Aug 2018 15:44:06 -0400
Message-ID: <15595.1535312646@sss.pgh.pa.us> (raw)
In-Reply-To: <d800369b-1896-607a-819f-6896df12fdee@gmail.com>
References: <fc7ab83e-93d4-23e9-51d2-1836ba9bdc29@gmail.com>
	<19812.1535297050@sss.pgh.pa.us>
	<d6d29967-bf13-ec40-99af-ae62d553955a@gmail.com>
	<12838.1535308955@sss.pgh.pa.us>
	<d800369b-1896-607a-819f-6896df12fdee@gmail.com>

Ron <ronljohnsonjr@gmail.com> writes:
> On 08/26/2018 01:42 PM, Tom Lane wrote:
>> Perhaps I don't understand *your* question.  What concrete problem are you
>> having?

> I want to track the progress of pg_dump so as to estimate completion time.

Well, if you don't use --jobs then you should get more or less the same
behavior as in 8.4.  If you do use that, then it's hardly surprising that
things are more complicated.

It looks like there's a hack in there to order tables by decreasing size
during a parallel dump, on the theory that we'll get more parallelism
that way.  (Not sure I believe that, and the part of it that also orders
index dumps that way is certainly brain-dead.)

			regards, tom lane




view thread (7+ messages)  latest in thread

Message-ID: <15595.1535312646@sss.pgh.pa.us>
Permalink:  ../15595.1535312646@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15595.1535312646@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com
  Subject: Re: pg_dump order of operation
  In-Reply-To: <15595.1535312646@sss.pgh.pa.us>
  References: <fc7ab83e-93d4-23e9-51d2-1836ba9bdc29@gmail.com> <19812.1535297050@sss.pgh.pa.us> <d6d29967-bf13-ec40-99af-ae62d553955a@gmail.com> <12838.1535308955@sss.pgh.pa.us> <d800369b-1896-607a-819f-6896df12fdee@gmail.com> <15595.1535312646@sss.pgh.pa.us>

* 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