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 -> Concatenated Index

Concatenated Index

From: Steve Johnson <johnst_at_ncs.com>
Date: Tue, 4 Jun 2002 14:40:51 -0500
Message-ID: <ufq5u6am03kmcb@corp.supernews.com>


If I have a concatenated index on tablea columns (a, b, c) and a query:

SELECT count(*)
FROM tablea,
tableb
WHERE tablea.a like 'AB%'
 AND tablea.b=tableb.b
AND tablea.c=tableb.c

Will columns b and c of the index on tablea be used in the query? It uses the index like I wanted but I don't get the speed I think I should which leads me to believe that it doesn't.

Any help would be appreciated.

Thanks...
Steve Received on Tue Jun 04 2002 - 14:40:51 CDT

Original text of this message

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