Re: Optimize pg_dump schema-only - Mailing list pgsql-general

From Ron
Subject Re: Optimize pg_dump schema-only
Date
Msg-id 17505fec-be0a-526a-9ee5-18bb0408a62a@gmail.com
Whole thread Raw
In response to Optimize pg_dump schema-only  (senor <frio_cervesa@hotmail.com>)
Responses Re: Optimize pg_dump schema-only  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Optimize pg_dump schema-only  (senor <frio_cervesa@hotmail.com>)
List pgsql-general
On 4/28/19 3:21 PM, senor wrote:
> Hi All,
>
> I'm looking for advice for optimizing the pg_dump portion of "pg_upgrade
> --link". Since this schema only dump can't take advantage of parallel
> processing with jobs I'm looking for any preparation or configuration
> settings that can improve speed.
>
> 9.2 to 9.6
> CentOS 6/64bit
> 512GB
>
> 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.


-- 
Angular momentum makes the world go 'round.



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Optimize pg_dump schema-only
Next
From: Tom Lane
Date:
Subject: Re: Optimize pg_dump schema-only