Re: pg_dump of database with numerous objects

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: tony(at)exquisiteimages(dot)com
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_dump of database with numerous objects
Date: 2020-05-31 17:08:18
Message-ID: 00424372-5321-4183-9CBB-BBFC8585ECE7@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On May 31, 2020, at 08:05, tony(at)exquisiteimages(dot)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.

--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2020-05-31 19:47:44 How to start slave after pg_basebackup. Why min_wal_size and wal_keep_segments are duplicated
Previous Message tony 2020-05-31 17:06:08 Re: pg_dump of database with numerous objects