Hi,
Has anyone out there collected stats on index use?
I suspect that I have several (lots?) of indexes that are never used – if so, there might be a chance to improve OLTP (and save space – 50% of the db is indexes) by dropping the unused ones.
I raised a TAR with MetaLink, who replied that Oracle keeps no stats and Explain Plan was the only way to know which indexes are used.
If that is so, then my game plan is:
1) grab all the SQL from the Shared Pool (making sure it’s not been full)
2) replace the bind variables with ‘123’
3) run than through Explain Plan
4) pick out the references to indexes from the output
Has anyone any better ideas?
Thanks - DaPi
Has anyone out there collected stats on index use?
I suspect that I have several (lots?) of indexes that are never used – if so, there might be a chance to improve OLTP (and save space – 50% of the db is indexes) by dropping the unused ones.
I raised a TAR with MetaLink, who replied that Oracle keeps no stats and Explain Plan was the only way to know which indexes are used.
If that is so, then my game plan is:
1) grab all the SQL from the Shared Pool (making sure it’s not been full)
2) replace the bind variables with ‘123’
3) run than through Explain Plan
4) pick out the references to indexes from the output
Has anyone any better ideas?
Thanks - DaPi