Re: DB Tuning Notes for comment...

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Treat <rtreat(at)webmd(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: DB Tuning Notes for comment...
Date: 2002-12-10 01:47:03
Message-ID: 5.1.0.14.0.20021210124459.04bb8fd8@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 |/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-12-10 01:47:06 Re: [GENERAL] PostgreSQL Global Development Group
Previous Message Tom Lane 2002-12-10 01:39:28 Re: DB Tuning Notes for comment...