DB2 V7.1 in OS/390
Hi,
I have a table TABA with 8 columns.
There is a unique composite index on colno 7,9,5,6 in that sequence.
when i do an explain on the following query,
select col5, col6
from TABA
where col7= ? and
col9=?
I get indexed access with matchcols as 2. And Index only='N'
Why is index only='N' here? What is the need to access tablespace?
I tried putting col5 and 6 in the where clause, that just increases the matchcols to 4 but Indexonly is still 'N'
What could be the reason?
table has around 10 million rows. Stats are mostly upto-date.
xamar