From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ole Langbehn <ole@freiheit.com>
Cc: Pierre-Frédéric Caillaud <lists@boutiquenumerique.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: sequential scan on select distinct
Date: Thu, 07 Oct 2004 13:26:41 -0400
Message-ID: <199.1097170001@sss.pgh.pa.us> (raw)
In-Reply-To: <200410071921.08685.ole@freiheit.com>
References: <200410061130.58625.ole@freiheit.com>
<29194.1097091506@sss.pgh.pa.us>
<opsfh00bfrcq72hf@musicbox>
<200410071921.08685.ole@freiheit.com>
Ole Langbehn <ole@freiheit.com> writes:
>> What do you think about the idea of an "UniqueSort" which would do
>> sort+unique in one pass ?
> This is what oracle does and it is quite fast with it...
Hashing is at least as fast, if not faster.
regards, tom lane
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: tgl@sss.pgh.pa.us, ole@freiheit.com, lists@boutiquenumerique.com
Subject: Re: sequential scan on select distinct
In-Reply-To: <199.1097170001@sss.pgh.pa.us>
* 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