Re: Disabling options lowers the estimated cost of a query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
Cc: Arne Roland <A(dot)Roland(at)index(dot)de>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Disabling options lowers the estimated cost of a query
Date: 2021-04-16 13:09:48
Message-ID: 4007313.1618578588@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I wrote:
> ... The code to select the
> right child path would be approximately like get_cheapest_fractional_path,
> except that you need to restrict it to paths with the right sort order.

Duh, I forgot about get_cheapest_fractional_path_for_pathkeys().

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2021-04-16 13:27:38 Re: Why is there a tenfold difference between Postgres's alleged query execution time and packet transmission time?
Previous Message Tom Lane 2021-04-16 12:58:13 Re: Disabling options lowers the estimated cost of a query