Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: index scan is costly
On your index_stats the LF_ROWS and DISTINCT_KEYS is "17705" but
distinct record count on your table returns "25147". Are you
experiening index corrupt? Try to rebuild the index or drop and
recreate it again.
COUNT(DISTINCTPRODUCTID)
25147
And also on your first post output of DBA_INDEX doesn't seems to have NUM_ROWS,DISTINCT_KEYS,LEAF_BLOCKS populated. I think your gather stats statement not gathering index statistics. Could you post the syntaxt that you using to gather statistics? Received on Wed Mar 07 2007 - 01:55:26 CST
![]() |
![]() |