Re: DB Tuning Notes for comment... - Mailing list pgsql-hackers

From Philip Warner
Subject Re: DB Tuning Notes for comment...
Date
Msg-id 5.1.0.14.0.20021210124459.04bb8fd8@mail.rhyme.com.au
Whole thread Raw
In response to Re: DB Tuning Notes for comment...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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   |/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] PostgreSQL Global Development Group
Next
From: Philip Warner
Date:
Subject: Re: psql's \d commands --- end of the line for