Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: HOW TO KNOW INDEX NOT IN USE?
Could you conclusively say that? What about those obscure indexes that may have been added for long running reports that get run once every quarter / year end what ever.. Just for example.. Without knowing the nature of the system as well.. It would be pretty hard to tell if an index was *never* used.
-----Original Message-----
Sent: 04 February 2002 20:45
To: Multiple recipients of list ORACLE-L
Hmm...
One option might be to monitor x$bh for blocks belonging to that object every ten minutes for a week. If it doesn't appear, the object can pretty conclusively be called "not in use".
Paul
---
www.pythian.com -- vallee_at_pythian.com -- 877-PYTHIAN
Smarter than adding another team member, Pythian has new services for
supplementing DBAs: get our help with monitoring, 24x7 on-call, daily
verifications, storage management, performance and more.
Seema,
It is always better to include the OS and database versions to the post :)
Okay.. To answer your question.. If you are using Oracle9i you can find that by querying V$OBJECT_USAGE after turning the monitoring option for the index. If it is pre Oracle9i database there is no direct way of doing this.
Best Regards,
K Gopalakrishnan
Bangalore, INDIA
-----Original Message-----
Sent: Monday, February 04, 2002 9:55 AM
To: Multiple recipients of list ORACLE-L
Hi
I there any view which can tell us which indexes are not in use?
Thx
-Seema
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: K Gopalakrishnan
INET: kaygopal_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Paul Vallee
INET: dbalist_at_pythian.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mark Leith
INET: mark_at_cool-tools.co.uk
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Feb 04 2002 - 15:50:11 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message