Search Postgresql Archives

Re: Optimize pg_dump schema-only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ron <ronljohnsonjr@xxxxxxxxx> writes:
> On 4/28/19 3:21 PM, senor wrote:
>> I see only one CPU of 32 doing anything and it's often at 100%. Disk IO
>> is minimal. Memory use varies but always plenty to spare.

> "pg_dump --schema-only" is single-threaded.

Yup.  But ...

pg_upgrade does have a --jobs option, since 9.5 or so.  What it does
is to run the dump and restore tasks for different databases of the
cluster in parallel.  So it won't help much if you've just got one
DB with a lotta objects, but I thought it was worth mentioning.

			regards, tom lane





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux