Re: Very ineffective plan with merge join

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>, "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>
Subject: Re: Very ineffective plan with merge join
Date: 2010-04-15 21:33:52
Message-ID: 4BC73FF00200002500030989@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I'm not sure how much it would help to increase the statistics
> targets, but that would be worth trying.

I notice that the scan rowcount estimates are very accurate, there's
that one hash join result that's way off, though.

What's up with the sort of _accrged7200 (in the slower plan) taking
in 3.5 million rows and putting out 1 row? There's something there
I'm not understanding.

-Kevin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-04-15 22:00:58 Re: Very ineffective plan with merge join
Previous Message Bruce Momjian 2010-04-15 21:31:13 Re: Rogue TODO list created