From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Maciej Piekielniak <piechcio@isb.com.pl>
Cc: pgsql-sql@postgresql.org
Subject: Re: pg_dump and diffrent sizes
Date: Fri, 03 Mar 2006 14:15:31 -0600
Message-ID: <1141416931.18820.111.camel@state.g2switchworks.com> (raw)
In-Reply-To: <6810493901.20060303211026@isb.com.pl>
References: <6810493901.20060303211026@isb.com.pl>
On Fri, 2006-03-03 at 14:10, Maciej Piekielniak wrote:
> Hello pgsql-sql,
>
> I dump db with pg_dump v.8.1.3 on database postgresql server 7.4.7.
> Data directory with my db on pg 7.4.7 had 1,8GB and
> file with dump had 2,7GB.
> Database have blob fields.
>
> When I restore db on pg 8.1 - data directory have only 1GB, why?
I would guess that you have lots of highly compressible text entries,
and postgresql is compressing them for you. The difference in size
between 7.4 and 8.1 is likely due to unrecycled tuples in the data
store. Even with regular vacuuming, some small percentage of dead
tuples is normal.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: smarlowe@g2switchworks.com, piechcio@isb.com.pl
Subject: Re: pg_dump and diffrent sizes
In-Reply-To: <1141416931.18820.111.camel@state.g2switchworks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox