Index range scan on T1 index is taking 34 seconds where as table access by index rowid T1 is taking 32 minutes. T1 is a big table with 250 columns and 15.2 million rows. Is that the reason table access by index rowid taking more time?
Oracle version: 11.02
OS - HPUX
Please let me know if you need any more details to address this.
Thanks,
Vijay Tummala
Try hard to get what you like OR you will be forced to like what you get.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Yes, I was referring to cardinality.
As I can see query is doing a range scan on index T1_INDX11 ... 13M rows, too many rows when compared with the 500 rows that are expected to be retrieved.
You may want to double-check indexing strategy, may be a new index more aligned with the queries predicate would help.
Last edited by PAVB; 10-12-2010 at 12:52 PM.
Reason: typo
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
when doing more research on this issue, yesterday i found that there are no stats available for the index in issue. How did optimizer choose to pick the index when there is no stats available? Is this because number of output rows are very less?
I am also looking into the indexing strategy.
Thanks,
Vijay Tummala
Try hard to get what you like OR you will be forced to like what you get.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Bookmarks