Re: add_path optimization - Mailing list pgsql-hackers

From Robert Haas
Subject Re: add_path optimization
Date
Msg-id 603c8f070902030754s68806da4xfe884aec454291b8@mail.gmail.com
Whole thread Raw
In response to Re: add_path optimization  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: add_path optimization
Re: add_path optimization
List pgsql-hackers
On Tue, Feb 3, 2009 at 10:17 AM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
>> We're going to need to see the test case, because I don't see that in
>> some simple tests here.
> Plans from 8.3.5 and 8.4devel attached.
>
> If you need something else, let me know.

I had a suspicion we were going to see something like this.  You're
using several NOT EXISTS clauses and 8.4devel is converting those into
Anti Joins. Aside from the longer planning time, the resulting plan
appears to have a much higher estimated cost, so I'm suspicious of a
bug in the new Semi/Anti join stuff, but I don't have time to track it
down right now (and I suspect Tom will figure it out faster than I can
anyway).

...Robert


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: add_path optimization
Next
From: Hannu Krosing
Date:
Subject: Re: Hot Standby (v9d)