Re: Different size in the DATA directory - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: Different size in the DATA directory
Date
Msg-id 200211020348.gA23m0w10244@candle.pha.pa.us
Whole thread Raw
In response to Re: Different size in the DATA directory  (Tim Perdue <tim@perdue.net>)
Responses Re: Different size in the DATA directory  ("Alexander M. Pravking" <fduch@antar.bryansk.ru>)
List pgsql-sql
Tim Perdue wrote:
> I had this same problem with 7.1.x, even doing full vacuums on 
> SourceForge.net last year.
> 
> I assumed after a while that there was some hidden bug where file bloat 
> occurred, despite the vacuum. After 3 months or so, you'd have to 
> dump/restore the entire db and you'd be golden for a while again. After 
> the dump/restore process things seemed much snappier too, and vacuum ran 
> almost instantly.
> 
> I haven't verified if this problem still occurs in 7.2.x, using vacuum full.

Tim, I guess your problem is dead index pages that can't be reclaimed,
and it isn't fixed in 7.3.  Only REINDEX fixes it, and we have a
/contrib/reindexdb script in 7.3.

-- 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,
Pennsylvania19073
 


pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: How do I get rid of these messages?
Next
From: Bruce Momjian
Date:
Subject: Re: select syntax question