From: Christophe Pettus <xof@thebuild.com>
To: tony@exquisiteimages.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump of database with numerous objects
Date: Sun, 31 May 2020 13:13:57 -0700
Message-ID: <B7B953F4-9CAF-46C1-80FF-C8C2BF4CD59B@thebuild.com> (raw)
In-Reply-To: <ae8645ed93326a2be802b87bd33cc4fc@exquisiteimages.com>
References: <6ef5dbeb1a02e0d01c5f085e4e49e496@exquisiteimages.com>
<00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com>
<ae8645ed93326a2be802b87bd33cc4fc@exquisiteimages.com>
> On May 31, 2020, at 13:10, tony@exquisiteimages.com wrote:
>
> 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
To which version? You might try the dump with the version of pg_dump corresponding to the PostgreSQL version you are upgrading *to* (which is recommended practice, anyway) to see if that improves matters.
--
-- Christophe Pettus
xof@thebuild.com
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: xof@thebuild.com, tony@exquisiteimages.com
Subject: Re: pg_dump of database with numerous objects
In-Reply-To: <B7B953F4-9CAF-46C1-80FF-C8C2BF4CD59B@thebuild.com>
References: <6ef5dbeb1a02e0d01c5f085e4e49e496@exquisiteimages.com> <00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com> <ae8645ed93326a2be802b87bd33cc4fc@exquisiteimages.com> <B7B953F4-9CAF-46C1-80FF-C8C2BF4CD59B@thebuild.com>
* 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