> On May 31, 2020, at 08:05, tony@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxx