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 -> Why DISTINCT is costly?

Why DISTINCT is costly?

From: <juhunu_at_gmail.com>
Date: 11 Sep 2005 23:45:05 -0700
Message-ID: <1126507505.386016.211310@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.

Thanks in Advance. Received on Mon Sep 12 2005 - 01:45:05 CDT

Original text of this message

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