Re: PoC: Partial sort - Mailing list pgsql-hackers

From Jeremy Harris
Subject Re: PoC: Partial sort
Date
Msg-id 52DAB569.2030006@wizmail.org
Whole thread Raw
In response to Re: PoC: Partial sort  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: PoC: Partial sort  (Marti Raudsepp <marti@juffo.org>)
List pgsql-hackers
On 13/01/14 18:01, Alexander Korotkov wrote:
> Thanks. It's included into attached version of patch. As wall as estimation
> improvements, more comments and regression tests fix.

Would it be possible to totally separate the two sets of sort-keys,
only giving the non-index set to the tuplesort?  At present tuplesort
will, when it has a group to sort, make wasted compares on the
indexed set of keys before starting on the non-indexed set.
-- 
Cheers,  Jeremy




pgsql-hackers by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: ECPG FETCH readahead
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Make various variables read-only (const)