Re: estimation problems for DISTINCT ON with FDW

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: estimation problems for DISTINCT ON with FDW
Date: 2020-07-25 17:30:22
Message-ID: CAMkU=1wmJZurcaaUCzefosBuLMn_dHAFESPijvU99VAMHnH+HQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 3, 2020 at 5:50 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

>
> OK, I'll go ahead and push the patch I proposed yesterday.
>

Thank you. I tested 12_STABLE with my real queries on the real data set,
and the "hard coded" estimate of 200 distinct rows (when use_remote_estimte
is turned back on) is enough to get rid of the worst plans I was seeing in
12.3.

Cheers,

Jeff

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2020-07-25 17:40:50 Re: Default setting for enable_hashagg_disk
Previous Message Jeff Davis 2020-07-25 17:23:43 Re: Default setting for enable_hashagg_disk