Re: BUG #14404: High row estimates when query uses master inherited tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Clinton Adams <clinton(dot)adams(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14404: High row estimates when query uses master inherited tables
Date: 2016-11-02 18:45:24
Message-ID: 11482.1478112324@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Clinton Adams <clinton(dot)adams(at)gmail(dot)com> writes:
> -- Dropping the fkey causes the first query to show a much better row
> estimate, in line with 9.4 and 9.5 plans.

Ah. So this must be something to do with the foreign-key-driven rowcount
estimates we added in 9.6. Will look into it, thanks for the report!

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-11-02 19:53:10 Re: BUG #14404: High row estimates when query uses master inherited tables
Previous Message Clinton Adams 2016-11-02 18:37:16 Re: BUG #14404: High row estimates when query uses master inherited tables