Re: pg_dump 3 times as slow after 8.4 -> 9.5 upgrade - Mailing list pgsql-performance

From Tom Lane
Subject Re: pg_dump 3 times as slow after 8.4 -> 9.5 upgrade
Date
Msg-id 7442.1511283687@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump 3 times as slow after 8.4 -> 9.5 upgrade  ("Henrik Cednert (Filmlance)" <henrik.cednert@filmlance.se>)
Responses Re: pg_dump 3 times as slow after 8.4 -> 9.5 upgrade  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-performance
"Henrik Cednert (Filmlance)" <henrik.cednert@filmlance.se> writes:
> The last pg_dump with 8.4 took 212 minutes and 49 seconds.And now with 9.5 the very same pg_dump takes 644 minutes
and40 seconds. To it takes about three times as long now and I have no idea to why. Nothing in the system or hardware
otherthan the pgsql upgrade have change. 

Can you get a profile of where the machine is spending its time during the
dump run?  On Linux I'd recommend "perf", but on macOS, hmm ...
You could use Activity Monitor, but as far as I can see that just captures
short-duration snapshots, which might not be representative of a 10-hour
run.  XCode's Instruments feature would probably be better about giving
a full picture, but it has a steep learning curve.
        regards, tom lane


pgsql-performance by date:

Previous
From: Igor Neyman
Date:
Subject: RE: pg_dump 3 times as slow after 8.4 -> 9.5 upgrade
Next
From: Andres Freund
Date:
Subject: Re: Using GROUPING SETS with more than one set disables predicate pushdown?