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 1ftwtq-0004H2-Nn for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 15:24:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ftwtl-0006MK-88 for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 15:24:17 +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 1ftwtk-0006MC-T8 for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 15:24:17 +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 1ftwth-0003xz-Ka for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 15:24:14 +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 w7QFOA5s019813; Sun, 26 Aug 2018 11:24:10 -0400 From: Tom Lane To: Ron cc: pgsql-general@lists.postgresql.org Subject: Re: pg_dump order of operation In-reply-to: References: Comments: In-reply-to Ron message dated "Sat, 25 Aug 2018 23:25:44 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19811.1535297050.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 26 Aug 2018 11:24:10 -0400 Message-ID: <19812.1535297050@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ron writes: > In v8.4, I noticed that the tables seemed to be dumped in alphabetical = > order. Not so much, though, in a multithreaded 9.6 dump of an 8.4 datab= ase; = > there's no pattern that I can discern. > In what order does the 9.6 pg_dump dump tables? I don't believe the ordering rules have changed materially since 8.4; it's intended to be by object kind, and within that by name, except where dependencies force doing something else. But what are you thinking constitutes the "dump order" in a parallel dump? regards, tom lane