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 -> Creating Indexes

Creating Indexes

From: Praveen Mohanan <praveen_mohanan_at_hotmail.com>
Date: Wed, 17 Nov 1999 08:31:41 -0800
Message-ID: <942856189.920138@sj-nntpcache-1.cisco.com>


Hi. DBA Gurus,

   I have a select stmt,

select ....
from table1_at_ERP_ABC
where table1.fields1 = 'XYZ'
and table1.field2 = 'STU'
and table1.field3 != 'AAAA';

The query is very slow. And i found that there is no index on the composite column (field1, field2, field3). But there are other indexes on (field1, field2) & another one on (field3). If i create a index on (field1, field2, field3), will the query run faster?

Regards Received on Wed Nov 17 1999 - 10:31:41 CST

Original text of this message

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