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: speed up select distinct

Re: speed up select distinct

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Tue, 10 May 2005 08:04:38 -0700
Message-ID: <1115737226.628525@yasure>


Tomislav Kokoska wrote:

> What is the best way to speed up query looks like:
>
> SELECT DISTINCT COLUMN1, COLUMN2, COLUMN3, COLUMN4 FROM TABLE WHERE COLUMN5
> = 5

Depends on the cardinality of the COLUMN5 and what percentage of the rows are returned by the query. When you provide that information also provide the complete version number.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Tue May 10 2005 - 10:04:38 CDT

Original text of this message

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