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

Home -> Community -> Usenet -> c.d.o.server -> Re: Performance with ORDER BY !!!

Re: Performance with ORDER BY !!!

From: David Hart <dghart_at_ibm.net>
Date: Sun, 05 Dec 1999 12:07:48 -0500
Message-ID: <384A9BE4.1703510D@ibm.net>


Create an index on the column order you need and use an index_asc() hint. The rows will be returned in index order.

D.

Franz Mueller wrote:
>
> If I have a query that returns, say 500 rows. I have good indices on
> the WHERE clauses and the answer time is OK. The problem is that in
> practice you always want to show the results sorted (alphabetically).
> If you add ORDER BY <something> the performance descreases
> dramatically. What can be done?
Received on Sun Dec 05 1999 - 11:07:48 CST

Original text of this message

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