From: Neil Conway <neilc@samurai.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Query question
Date: Fri, 14 Nov 2003 11:07:15 -0500
Message-ID: <87llqjj5n0.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <200311122120.28882.josh@agliodbs.com>
References: <3FB303E9.20903@familyhealth.com.au>
<200311122120.28882.josh@agliodbs.com>
Josh Berkus <josh@agliodbs.com> writes:
> The only thing you're adding to the query is a second SORT step, so it
> shouldn't require any more time/memory than the query's first SORT
> did.
Interesting -- I wonder if it would be possible for the optimizer to
detect this and avoid the redundant inner sort ... (/me muses to
himself)
-Neil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: neilc@samurai.com, josh@agliodbs.com, chriskl@familyhealth.com.au
Subject: Re: Query question
In-Reply-To: <87llqjj5n0.fsf@mailbox.samurai.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox