RE: Slow running Query.

  • From: Wolfgang Breitling <breitliw@xxxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 22 Jun 2004 08:48:40 -0700

The difference between statement1 and statement 2 is that statement 2 requests 
the data for one specific client_code and oracle can use an index 
me_client_assets to quickly hone in on that particular client.

Statement 1 has no such limiting predicate and therefore Oracle can not use an 
index. If it can't use an index the only other option is a FTS.

Quoting "Kumar, Dharminder" <Dharminder.Kumar@xxxxxxxxx>:


-- 
regards

Wolfgang Breitling
Oracle 7,8,8i,9i OCP DBA
Centrex Consulting Corporation
www.centrexcc.com

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: