At 08:39 PM 9/12/2002 -0500, Tom Lane wrote:
>A VACUUM
>done just after startup does not have any historical info to base this
>decision on.
The actual order is:
start
delete
vacuum;
insert <- does not use free space
vacuum;
insert <- does not use free space
vacuum;
vacuum;
insert <- uses free space
my guess is the fact that the second vacuum has no useful statistics means
that (somehow) it is choosing the tables with free space -- perhaps because
they are the largest?
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \| | --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/