Re: Query runs 38 seconds for small database!

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Query runs 38 seconds for small database!
Дата
Msg-id 20060508200258.GJ3351@surnet.cl
обсуждение исходный текст
Ответ на Re: Query runs 38 seconds for small database!  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Tom Lane wrote:
> Jan de Visser <jdevisser@digitalfairway.com> writes:
> > On Monday 08 May 2006 14:10, Andrus wrote:
> >> I created empty table konto and loaded more that 219 records to it during
> >> database creation.
> >> So it seems that if table grows from zero to more than 219 times larger
> >> then it was still not processed.
>
> > That's because you need at least 500 rows for analyze and 100 for a vacuum,
> > (autovacuum_vacuum_threshold = 1000, autovacuum_analyze_threshold = 500).
>
> This crystallizes something that's been bothering me for awhile,
> actually: why do the "threshold" variables exist at all?

Matthew would know about that -- he invented them.  I take no
responsability :-)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jeffrey Tenny
Дата:
Сообщение: Re: performance question (something to do w/ parameterized
Следующее
От: Tom Lane
Дата:
Сообщение: Re: performance question (something to do w/ parameterized