Re: Need to vacuum multiple times for effectiveness?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Need to vacuum multiple times for effectiveness?
Date: 2002-02-25 15:55:16
Message-ID: 21220.1014652516@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my> writes:
> Why do I need to issue two or three or even more vacuums before the tables
> reach their fully cleaned sizes and states?

I seem to recall having noticed that there are corner cases where
VACUUM FULL doesn't achieve all the packing you might expect, and another
VACUUM FULL will accomplish more. Don't recall the details, but you
might find something if you grovel through the code or the pghackers
archives.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas T. Thai 2002-02-25 15:55:25 Re: help with getting index scan
Previous Message Tom Lane 2002-02-25 15:48:35 Re: Work Around For Oracle Feature