Re: pg_dump of database with numerous objects

Поиск
Список
Период
Сортировка
Искать
От
Christophe Pettus
Тема
Re: pg_dump of database with numerous objects
Дата
в 20:13:57
Msg-id
B7B953F4-9CAF-46C1-80FF-C8C2BF4CD59B@thebuild.com
Ответ на
Список
Дерево обсуждения
pg_dump of database with numerous objects tony@exquisiteimages.com
Re: pg_dump of database with numerous objects Christophe Pettus <xof@thebuild.com>
Re: pg_dump of database with numerous objects tony@exquisiteimages.com
Re: pg_dump of database with numerous objects Christophe Pettus <xof@thebuild.com>
Re: pg_dump of database with numerous objects Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump of database with numerous objects Christophe Pettus <xof@thebuild.com>
Re: pg_dump of database with numerous objects Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump of database with numerous objects Bruce Momjian <bruce@momjian.us>
Re: pg_dump of database with numerous objects Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_dump of database with numerous objects Bruce Momjian <bruce@momjian.us>
Re: pg_dump of database with numerous objects Adrian Klaver <adrian.klaver@aklaver.com>
Re: pg_dump of database with numerous objects tony@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



В списке pgsql-general по дате отправления
От: tony@exquisiteimages.com
Дата:
От: Adrian Klaver
Дата:
FAQ