Re: Suboptimal plan choice problem with 8.3RC2 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Suboptimal plan choice problem with 8.3RC2
Date
Msg-id 20080122222223.GN10897@alvh.no-ip.org
Whole thread Raw
In response to Re: Suboptimal plan choice problem with 8.3RC2  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Responses Re: Suboptimal plan choice problem with 8.3RC2  ("Guillaume Smet" <guillaume.smet@gmail.com>)
List pgsql-hackers
Guillaume Smet escribió:

> It seems that autovacuum took care of them just after the import which
> is what I expected:

[...]

> So I wonder why the stats were so bad... I didn't update the data at
> all after the initial import. Any idea?

Hmm, perhaps the analyze was done with the default statistic target (10)?

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


pgsql-hackers by date:

Previous
From: "Guillaume Smet"
Date:
Subject: Re: Suboptimal plan choice problem with 8.3RC2
Next
From: "Guillaume Smet"
Date:
Subject: Re: Suboptimal plan choice problem with 8.3RC2