SELECT index_name FROM user_indexes WHERE table_name='EMP';For all indexes that are returned, issue the following:
ALTER INDEX index_name MONITORING USAGE;After exercising your application, query the V$OBJECT_USAGE view. The USED column of this view will contain YES if the index was used; otherwise, it will contain NO. This will tell you if the index has ever been used since the MONITORING USAGE command was last given.
If you are not using indexes, drop them. When done, you can turn off monitoring with the following:
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
ALTER INDEX index_name NOMONITORING USAGE;
Dig Deeper on Oracle database design and architecture
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.