Re: Performance tuning on RedHat Enterprise Linux 3 - Mailing list pgsql-general

From Tom Lane
Subject Re: Performance tuning on RedHat Enterprise Linux 3
Date
Msg-id 10419.1102396136@sss.pgh.pa.us
Whole thread Raw
In response to Re: Performance tuning on RedHat Enterprise Linux 3  (Paul Tillotson <pntil@shentel.net>)
Responses Re: Performance tuning on RedHat Enterprise Linux 3
List pgsql-general
Paul Tillotson <pntil@shentel.net> writes:
> Does postgres actually do multiple concurrent sorts within a single
> backend?

Certainly.  Consider for example a merge join with each input being
sorted by an explicit sort step.  DISTINCT, ORDER BY, UNION, and related
operators require their own sort steps in the current implementation.
It's not difficult to invent queries that require arbitrarily large
numbers of sort steps.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: hooks for supporting third party blobs?
Next
From: Neil Conway
Date:
Subject: Re: Performance tuning on RedHat Enterprise Linux 3