Re: Consider low startup cost in add_partial_path - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: Consider low startup cost in add_partial_path
Date
Msg-id 20200405141449.phonf2dicgrnqyns@development
Whole thread Raw
In response to Re: Consider low startup cost in add_partial_path  (James Coleman <jtc331@gmail.com>)
List pgsql-hackers
Hi,

For the record, here is the relevant part of the Incremental Sort patch
series, updating add_partial_path and add_partial_path_precheck to also
consider startup cost.

The changes in the first two patches are pretty straight-forward, plus
there's a proposed optimization in the precheck function to only run
compare_pathkeys if entirely necessary. I'm currently evaluating those
changes and I'll post the results to the incremental sort thread.


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [PATCH] Incremental sort (was: PoC: Partial sort)
Next
From: Alexander Korotkov
Date:
Subject: Re: WIP: BRIN multi-range indexes