Re: DB Tuning Notes for comment...

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: DB Tuning Notes for comment...
Дата
Msg-id 5.1.0.14.0.20021210124459.04bb8fd8@mail.rhyme.com.au
обсуждение исходный текст
Ответ на Re: DB Tuning Notes for comment...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] PostgreSQL Global Development Group
Следующее
От: Philip Warner
Дата:
Сообщение: Re: psql's \d commands --- end of the line for