Re: pg_dumpall size

Lists: pgsql-admin
From: Marc Fromm <Marc(dot)Fromm(at)wwu(dot)edu>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: pg_dumpall size
Date: 2008-10-21 17:56:56
Message-ID: B0D7C0A3F35FE144A70312D086CBCA9B020A8229CC@ExchMailbox2.univ.dir.wwu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

I have the same postgresql databases on two different servers.
Boteh servers have the same version of postgresql, 8.1.
The following backup command creates a file twice as big on one server, compared to the other server.
pg_dumpall -c -U postgres | gzip > alldb.gz

Red Hat 5EL: alldb.gz is 29MB
Fedora Core 5: alldb.gz is only 15MB

Any ideas as to why the red hat box pg_dumpall file is about twice the size?

Marc


From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Marc Fromm" <Marc(dot)Fromm(at)wwu(dot)edu>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_dumpall size
Date: 2008-10-22 02:18:23
Message-ID: dcc563d10810211918h42f47e25ubdec690bbe83262d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Tue, Oct 21, 2008 at 11:56 AM, Marc Fromm <Marc(dot)Fromm(at)wwu(dot)edu> wrote:
> I have the same postgresql databases on two different servers.
>
> Boteh servers have the same version of postgresql, 8.1.
>
> The following backup command creates a file twice as big on one server,
> compared to the other server.
>
> pg_dumpall -c -U postgres | gzip > alldb.gz

Different default compression levels for gzip? try gzip -6 or
something on both of them.

Otherwise, unzip them and compare sizes to see if they really are the
same unzipped.