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: Oracle Order By Clause

Re: Oracle Order By Clause

From: Falk Schiel <09114089236-0001_at_t-online.de>
Date: 1998/02/07
Message-ID: <6bi1jb$mii$1@news01.btx.dtag.de>#1/1

Which optimizer goal do you use?

Try the cost-based optimizer and use a optimizer hint:

select /*+ all_rows */ ...
or
select /*+ first_rows */ ...

Don't forget to analyze your schema on a regulary basis:

execute dbms_utility.analyze_schema('<SCHEMA_NAME (capital letters)>','COMPUTE');

hope that helps
Falk Received on Sat Feb 07 1998 - 00:00:00 CST

Original text of this message

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