Re: No merge sort? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: No merge sort?
Date
Msg-id 9431.1047590914@sss.pgh.pa.us
Whole thread Raw
In response to No merge sort?  (Taral <taral@taral.net>)
Responses Re: No merge sort?
List pgsql-hackers
Taral <taral@taral.net> writes:
> Do I need to code merge sort into postgresql?

Seems like a waste of effort to me.  I find this example less than
compelling --- the case that could be sped up is quite narrow,
and the potential performance gain not all that large.  (A sort
is a sort however you slice it, with O(N log N) runtime...)

Also, the direction we'd likely be going in in future is to merge
multiple indexscans using bitmap techniques, so that the output
ordering of the scans couldn't be counted on anyway.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Upgrading the backend's error-message infrastructure
Next
From: Larry Rosenman
Date:
Subject: Re: Upgrading the backend's error-message infrastructure