Re: 9.4 -> 9.5 dump size reduction - Mailing list pgsql-general

From Sebastian P. Luque
Subject Re: 9.4 -> 9.5 dump size reduction
Date
Msg-id 871t8h3738.fsf@gmail.com
Whole thread Raw
In response to 9.4 -> 9.5 dump size reduction  (Seb <spluque@gmail.com>)
List pgsql-general
On Thu, 11 Feb 2016 23:48:53 -0500,
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Seb <spluque@gmail.com> writes:
>> I recently upgraded a server from 9.4 to 9.5 (Debian) via
>> pg_upgradecluster.  The upgrade finished well, and so far the
>> databases in the upgraded cluster seem in good form.  However, I
>> noticed a dramatic reduction in the size of the dump created by the
>> new server.  One of the databases was 34G when dumped by the 9.4
>> server is now dumped at 1.1G in the new 9.5 version (using pg_dump
>> -Fc in both cases).  What has caused such remarkable improvement?!

> That seems really fishy.  Better check to see if all your data is
> still there :-(

Sure enough, upon closer inspection I see that the pgagent job that was
generating these dumps had aborted before finishing.  It looks like the
upgrade interrupted the job.  I've restarted the agent, reran the job
right away, and now see that the dumps with the new server haven't
changed size, and all data are there.

Sorry for the premature post,

--
Seb

pgsql-general by date:

Previous
From: ioan ghip
Date:
Subject: Trying to move away from Firebird
Next
From: George Neuner
Date:
Subject: Re: Windows performance