From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrus <eetasoft@online.ee>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query runs 38 seconds for small database!
Date: Mon, 08 May 2006 12:27:06 -0400
Message-ID: <27599.1147105626@sss.pgh.pa.us> (raw)
In-Reply-To: <e3nqv9$30v0$1@news.hub.org>
References: <e3n8at$1f7i$1@news.hub.org>
<26838.1147099614@sss.pgh.pa.us>
<e3nqv9$30v0$1@news.hub.org>
"Andrus" <eetasoft@online.ee> writes:
> I see autovacuum: processing database "mydb" messages in log file and I have
> stats_start_collector = on
> stats_row_level = on
> in config file. Why statistics was out-of-date ?
The default autovac thresholds are not very aggressive; this table was
probably not large enough to get selected for analysis.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, eetasoft@online.ee
Subject: Re: Query runs 38 seconds for small database!
In-Reply-To: <27599.1147105626@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox