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: index usage

Re: index usage

From: Niall Litchfield <niall.litchfield_at_dial.pipex.com>
Date: Thu, 1 Aug 2002 20:51:48 +0100
Message-ID: <3d499154$0$227$cc9e4d1f@news.dial.pipex.com>


"Andy" <andy.spaven_at_eps-hq.co.uk> wrote in message news:CFb29.257$9R.1282958_at_newsr2.u-net.net...
> Whoops - ignore the , in the hint. It's just a space really :-))
>
> select /*+ index(<table_name_or_alias> <index_name>) */ ....

and do remember to set timing on first. I (like richard) suspect that Oracle is choosing the correct plan for a selection of all the records in a table in some order.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
*****************************************
Please include version and platform
and SQL where applicable
It makes life easier and increases the
likelihood of a good answer
******************************************
Received on Thu Aug 01 2002 - 14:51:48 CDT

Original text of this message

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