Re: Bogus nestloop join estimate, ignores WHERE clause

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bogus nestloop join estimate, ignores WHERE clause
Date: 2011-08-31 13:46:44
Message-ID: CABRT9RDfSZn++xWfvrpKJ4Du6L1rRs=GGY-O+o=2dwz4uovoeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 31, 2011 at 16:34, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> On ons, 2011-08-31 at 15:38 +0300, Marti Raudsepp wrote:
>> I'm getting really surprising planner estimates for a query that's
>> joining another table via a varchar field. All of this was tested on
>> PostgreSQL 8.4.8, 9.0.4 and 9.1rc1.
>
> By any chance, did it work better in 8.4.7?

No. Estimates on 8.4.7 are pretty much the same (139820, 139820 and 9455)

(I built and installed 8.4.7 with a clean database)

Regards,
Marti Raudsepp
voicecom.ee

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thom Brown 2011-08-31 14:00:51 Re: "stored procedures"
Previous Message Gary Merkel 2011-08-31 13:45:52 dblink make fails under postgresql 8.4.4 on mac osx 10.4.11