Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Why DISTINCT is costly?

Re: Why DISTINCT is costly?

From: Dan Koren <dankoren_at_yahoo.com>
Date: Mon, 12 Sep 2005 03:18:24 -0400
Message-ID: <43252bc6$1@news.meer.net>


<juhunu_at_gmail.com> wrote in message
news:1126507505.386016.211310_at_f14g2000cwb.googlegroups.com...
> Whenever I use a DISTINCT in my query, I see the "SORT UNIQUE" getting
> added to the execution plan.
>
> "SORT UNIQUE" is increasing the cost of the query by a greater factor.
>
> Any help in reducing the cost in using DISTINCT would be of much help.
>

And how else would one be able to
eliminate duplicates without sort
unique?

dk Received on Mon Sep 12 2005 - 02:18:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US