Re: Suboptimal plan choice problem with 8.3RC2

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Guillaume Smet <guillaume(dot)smet(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Suboptimal plan choice problem with 8.3RC2
Date: 2008-01-22 22:22:23
Message-ID: 20080122222223.GN10897@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2008-01-22 22:37:39 Re: Suboptimal plan choice problem with 8.3RC2
Previous Message Guillaume Smet 2008-01-22 21:48:28 Re: Suboptimal plan choice problem with 8.3RC2