Home » RDBMS Server » Server Administration » Index usage
Index usage [message #50322] Mon, 11 March 2002 10:13 Go to next message
Jose Antonio Soares
Messages: 2
Registered: March 2002
Junior Member
How can I know what indexes are being used on my database in a given time period?
I need to drop unused indexes, if they exists, because I'm running low on disk availability.

Thanks for any help.
Re: Index usage [message #50330 is a reply to message #50322] Mon, 11 March 2002 13:01 Go to previous messageGo to next message
Wei Lang
Messages: 23
Registered: March 2002
Junior Member
Oracle9i has V$ view called something like used_objects and you can find the used indexes there.

For Oracle8i, it is difficult. You can use logminer (or V$sqltext, v$sqlarea) to get all sql statenment and do explain plan on them. Write a package and run them every week.

I do not have the working code here. Just an idea.

Sorry can not be more helpful.

Wei
Re: Index usage [message #50340 is a reply to message #50322] Tue, 12 March 2002 01:54 Go to previous message
Jose Antonio Soares
Messages: 2
Registered: March 2002
Junior Member
I'm so sorry. Forgot to mention my production version:
----------------------------------------------------------------
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
PL/SQL Release 8.1.6.0.0 - Production
CORE 8.1.6.0.0 Production
----------------------------------------------------------------
Previous Topic: Date format - is it possible to bypass it using settings ?
Next Topic: to run schedular in server
Goto Forum:
  


Current Time: Mon Jul 08 12:04:11 CDT 2024