Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fu0xL-0007tp-9d for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 19:44:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fu0xJ-0004ce-Bk for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 19:44:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fu0xJ-0004cW-0S for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 19:44:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fu0xG-0001XB-DC for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 19:44:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w7QJi6Xe015596; Sun, 26 Aug 2018 15:44:06 -0400 From: Tom Lane To: Ron cc: pgsql-general@lists.postgresql.org Subject: Re: pg_dump order of operation In-reply-to: References: <19812.1535297050@sss.pgh.pa.us> <12838.1535308955@sss.pgh.pa.us> Comments: In-reply-to Ron message dated "Sun, 26 Aug 2018 14:26:38 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15594.1535312646.1@sss.pgh.pa.us> Date: Sun, 26 Aug 2018 15:44:06 -0400 Message-ID: <15595.1535312646@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ron 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