edkir98 Beginner

Joined: 27 Aug 2007 Posts: 102 Topics: 42 Location: Chennai
|
Posted: Tue May 26, 2009 4:45 am Post subject: Index/Table Space scan |
|
|
I have a query
Code: | SELECT IXCOL1,
IXCOL2,
NONIXCOL3
FROM TABLE1
WHERE IXCOL3 = :VALUE |
TABLE1 has 3 indices IXCOL1/2/3 and NONIXCOL3 is a non-indexed column.
Now when the above query is executed the explain information shows that tablespace scan is used. When i remove NONIXCOL3 from this SELECT list like
Code: | SELECT IXCOL1,
IXCOL2
FROM TABLE1
WHERE IXCOL3 = :VALUE | then it goes into index scan.
Will adding a non-index column in the select statement affect the nature of the scan? _________________ Thanks |
|