Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A4F76475E8A for ; Wed, 16 Oct 2002 14:18:33 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id B1710475C85 for ; Wed, 16 Oct 2002 14:18:31 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g9GIIFU17094; Wed, 16 Oct 2002 14:18:15 -0400 (EDT) From: Bruce Momjian Message-Id: <200210161818.g9GIIFU17094@candle.pha.pa.us> Subject: Re: VACUUM FULL fails to free diskspacef In-Reply-To: <20021016194613.C5130@linuxine.mogul.dk> To: PostgreSQL-admin@mogul.dk Date: Wed, 16 Oct 2002 14:18:14 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/116 X-Sequence-Number: 5974 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@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073