Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfUHl-0005UF-Fu for pgsql-general@arkaria.postgresql.org; Sun, 31 May 2020 20:10:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jfUHj-0001rf-LN for pgsql-general@arkaria.postgresql.org; Sun, 31 May 2020 20:10:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfUHj-0001pt-3U for pgsql-general@lists.postgresql.org; Sun, 31 May 2020 20:10:19 +0000 Received: from bay.acenet.us ([173.230.252.50]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jfUHg-0002tQ-Eg for pgsql-general@lists.postgresql.org; Sun, 31 May 2020 20:10:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=exquisiteimages.com; s=default; h=Message-ID:References:In-Reply-To:Subject :To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=S4hLQ/fcKvBVo+7LTbj7nnvfGtcnDuArcEV6aGniNFU=; b=IWmEKMYr851pz5Jao5EMuvqjYk p0v/7kmZMW6uwMdDof4MpA7UEqhOIhU5Ga4C+KD1YA7w1ZRKQRk6oIPPKoiDlHcchZntImVN662WS L5lCMzBWnS1NQfe/l4t33HGNbCHS+MLVu8TlLld4Ax5pIuYJ3N/aV+BVy98zZP2Osdg7H0qB+Sqte N17Lf8DT2yFyHyGOHdxAm2IX/bsMeMxPX53P+NFaE5IN3XwEGXs+6crHS7Fzd8goLpDOKGKeic0L9 DjWxOtrOWkrGKlVAR21XeoF68QgAYQyoRaSox5UffzssrdUCMdcTvEXl1S263Daar5/2yRlFPlr1G tcr1835A==; Received: from [::1] (port=34412 helo=bay.acenet.us) by bay.acenet.us with esmtpa (Exim 4.93) (envelope-from ) id 1jfUHc-00D1NJ-Iv for pgsql-general@lists.postgresql.org; Sun, 31 May 2020 16:10:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 31 May 2020 16:10:12 -0400 From: tony@exquisiteimages.com To: pgsql-general@lists.postgresql.org Subject: Re: pg_dump of database with numerous objects In-Reply-To: <00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com> References: <6ef5dbeb1a02e0d01c5f085e4e49e496@exquisiteimages.com> <00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com> Message-ID: X-Sender: tony@exquisiteimages.com User-Agent: Roundcube Webmail/1.3.8 X-OutGoing-Spam-Status: No, score=5.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - exquisiteimages.com X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: tony@exquisiteimages.com X-Authenticated-Sender: bay.acenet.us: tony@exquisiteimages.com X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-05-31 13:08, Christophe Pettus wrote: >> On May 31, 2020, at 08:05, tony@exquisiteimages.com wrote: >> >> My pg_class table contains 9,000,000 entries and I have 9004 schema. > > Which version of pg_dump are you running? Older versions (don't have > the precise major version in front of me) have N^2 behavior on the > number of database objects being dumped. I am upgrading from 9.3 > > -- > -- Christophe Pettus > xof@thebuild.com