Re: PoC: Partial sort

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Jeremy Harris <jgh(at)wizmail(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PoC: Partial sort
Date: 2014-01-18 17:32:04
Message-ID: CABRT9RDva32yHfar3iEHYuji2zyi-nAnTam4FAmxzoQGS83hgg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Funny, I just wrote a patch to do that some minutes ago (didn't see your
email yet).

http://www.postgresql.org/message-id/CABRT9RCK=wmFUYZdqU_+MOFW5PDevLxJmZ5B=eTJJNUBvyARxw@mail.gmail.com

Regards,
Marti

On Sat, Jan 18, 2014 at 7:10 PM, Jeremy Harris <jgh(at)wizmail(dot)org> wrote:

> 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
>
>
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2014-01-18 17:34:25 Re: new json funcs
Previous Message Marti Raudsepp 2014-01-18 17:22:50 Re: PoC: Partial sort