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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: why the index is not used ?

Re: why the index is not used ?

From: Steve Boyd <pimaco_oracle_at_yahoo.com>
Date: Thu, 27 Apr 2000 05:23:49 -0700 (PDT)
Message-Id: <10480.104278@fatcity.com>


You are on the right track John. Basically there is no criteria that limits the number of rows returned. Your query will return every row in the two tables. It is actually faster to do a full tablescan than an index lookup if you are returning all the rows, so Oracle is doing the right thing here.

HTH,
Steve Boyd


Do You Yahoo!?
Talk to your friends online and get email alerts with Yahoo! Messenger. Received on Thu Apr 27 2000 - 07:23:49 CDT

Original text of this message

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