From: Jason DiCioccio <geniusj@gmail.com>
To: chen@musc.edu
Cc: pgsql-admin list <pgsql-admin@postgresql.org>
Subject: Re: is this normal?
Date: Mon, 4 Apr 2005 10:46:24 -0400
Message-ID: <89bc2a040504040746662b6e62@mail.gmail.com> (raw)
In-Reply-To: <425140BD.3080902@musc.edu>
References: <425140BD.3080902@musc.edu>
Greetings,
On Apr 4, 2005 9:27 AM, Chuming Chen <chen@musc.edu> wrote:
> Dear all,
>
> I have a postgresql database.
>
> "du -ks /var/lib/pgsql/data" gives me the following disk usage
> 45592808 /var/lib/pgsql/data (about 44G)
>
> But after I did a pg_dump, the dump file only has the size of 5.9 G.
>
> Thank you for your kind reply and comments.
I'd guess most of this space is going to your indexes. If you want to
drop the space, I'd drop/recreate the indexes and do a VACUUM FULL.
Note that these can both be intrusive and should be done during a
maintenance period.
Regards,
-JD-
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: geniusj@gmail.com, chen@musc.edu
Subject: Re: is this normal?
In-Reply-To: <89bc2a040504040746662b6e62@mail.gmail.com>
References: <425140BD.3080902@musc.edu> <89bc2a040504040746662b6e62@mail.gmail.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