|
When to drop an index, if you are using Oracle9i, you can turn on the Index Monitor for a few days, if the index has never been used, then it should be dropped.
---- But, believe it or not ---
a dropped index may affect other SQL statements’ execution plan although the original plan was not using the index. So, the overall SQL performance may be changed out of your expectation.
I used DB Expert to test one of our systems in these few weeks, I found that some SQL statements was not using a specific index originally, but once a specific index was dropped, the execution plan may changed. It is a very interest founding I have never imagined before! I am using Oracle 9i and keep multiple SQL in Plan Version Tracker; I drop an index on in Pre-script in Plan Version Tracker and take a new Snapshot, then I recreate the Index on Post-script. I found some SQL’s execution plan were change although the original plans were not using that index. Please share with us if you find the same Oracle problem! |
|