From: Jim C. Nasby <jnasby@pervasive.com>
To: Jason Minion <jason.minion@sigler.com>
Cc: mcelroy, tim <tim.mcelroy@bostonstock.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: dbsize & pg_dump
Date: Wed, 26 Apr 2006 17:47:32 -0500
Message-ID: <20060426224732.GF97354@pervasive.com> (raw)
In-Reply-To: <261CF9EEB14F5442894AB6DDA93AA6F4283AEB@mail.siglercompanies.com>
References: <261CF9EEB14F5442894AB6DDA93AA6F4283AEB@mail.siglercompanies.com>
On Tue, Apr 25, 2006 at 04:47:53PM -0500, Jason Minion wrote:
> Usually a dump is significantly smaller than a live database due to
> space taken up by indexes and discarded tuples from MVCC. If it's
> significantly smaller you may also want to take a look at your vacuuming
> procedure.
Between excluding the database overhead (mostly tuple headers),
excluding indexes, and compression, getting a 10x reduction in database
size isn't unexpected. Using pg_dumpall and bzip2 the databases on
http://stats.distributed.net go from 41G down to 2G.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jnasby@pervasive.com, jason.minion@sigler.com, tim.mcelroy@bostonstock.com
Subject: Re: dbsize & pg_dump
In-Reply-To: <20060426224732.GF97354@pervasive.com>
References: <261CF9EEB14F5442894AB6DDA93AA6F4283AEB@mail.siglercompanies.com> <20060426224732.GF97354@pervasive.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