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

From Tom Lane
Subject Re: Query runs 38 seconds for small database!
Date
Msg-id 27599.1147105626@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query runs 38 seconds for small database!  ("Andrus" <eetasoft@online.ee>)
List pgsql-performance
"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

pgsql-performance by date:

Previous
From: "Andrus"
Date:
Subject: Re: Query runs 38 seconds for small database!
Next
From: "Andrus"
Date:
Subject: Re: Query runs 38 seconds for small database!