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

Home -> Community -> Usenet -> c.d.o.misc -> Table scan ....

Table scan ....

From: Raquel <raquel_rodriguezus_at_yahoo.com>
Date: 27 Jul 2004 22:50:02 -0700
Message-ID: <9a73b58d.0407272150.37acf334@posting.google.com>


I have this simple query:

SELECT COUNT(*)
FROM T1, T2
WHERE T1.COL1 = T2.COL2 There is a unique index on COL1 (on table T1) and a unique index on COL2 (on table T2). Then why does the Explain plan show me that Oracle is using a table scan on T1 and T2? Should it not have used indexes on both tables?

TIA
Raquel. Received on Wed Jul 28 2004 - 00:50:02 CDT

Original text of this message

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