Re: Query runs 38 seconds for small database! - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Query runs 38 seconds for small database!
Date
Msg-id 20060508200258.GJ3351@surnet.cl
Whole thread Raw
In response to Re: Query runs 38 seconds for small database!  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Jeffrey Tenny
Date:
Subject: Re: performance question (something to do w/ parameterized
Next
From: Tom Lane
Date:
Subject: Re: performance question (something to do w/ parameterized