Re: [COMMITTERS] pgsql: Fix cardinality estimates for parallel joins.
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-03-15T07:00:25Z
Lists: pgsql-hackers
On Tue, Mar 14, 2017 at 9:59 PM, Robert Haas <robertmhaas@gmail.com> wrote: > On Tue, Jan 17, 2017 at 11:49 AM, Robert Haas <robertmhaas@gmail.com> wrote: >> On Mon, Jan 16, 2017 at 7:23 AM, Amit Kapila <amit.kapila16@gmail.com> wrote: >>> >>> >>> Isn't it better to call clamp_row_est in join costing functions as we >>> are doing in cost_seqscan()? Is there a reason to keep those >>> different? >> >> No, those should probably be changed to match. > > So I guess that'd look something like this? > Yes, the patch looks good to me. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
Commits
-
Fix failure to use clamp_row_est() for parallel joins.
- 5feb78ae885c 9.6.3 landed
- 1ea60ad602f9 10.0 landed
-
Fix cardinality estimates for parallel joins.
- 2d443ae1b012 9.6.2 cited