Re: VACUUM FULL fails to free diskspacef

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-admin(at)mogul(dot)dk
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: VACUUM FULL fails to free diskspacef
Date: 2002-10-16 18:18:14
Message-ID: 200210161818.g9GIIFU17094@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Morten Guldager wrote:
> Hi,
>
> My database cluster have one database with one table. (if we don't
> count template0 and 1.
>
> My table has 3 collumns, 2 ints and a bytea. 2.5M rows and it consumes
> 150G diskspace. I have a unique index on the 2 ints.
>
> I did a TRUNCATE on the table, and a VACUUM FULL.
>
> But PostgreSQL-7.2.3 did not return the space to the filesystem. (ext3
> on linux)

That is interesting. I originally thought maybe the indexes aren't
truncated, but it looks like that is happening. Please try
/contrib/oid2name to find which files are taking the space.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rusty Wright 2002-10-16 19:36:17 Re: newbie qs; fixing and checking databases
Previous Message Josh Goldberg 2002-10-16 17:58:22 Re: Tools / Monitoring