Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: HOW TO KNOW INDEX NOT IN USE?
Another option you have if your Oracle version is high enough is to use Stored Outlines. Enable automatic generation of stored outlines for a full processing cycle as defined by the application (full month, Qtr, etc.) Then extract all of the indexes used during that cycle from OL$HINTS.HINT_TEXT (i.e.. WHERE HINT_TEXT LIKE 'INDEX%'). If all of your application code has been traversed in the cycle then this list will be pretty darn close to real usage. Even if you can't wait until year-end processing, you can eliminate the bulk of code to be mined for embedded SQL and focus on those once-a-year programs.
HTH Tony Aponte
-----Original Message-----
From: Seema Singh [mailto:oracledbam_at_hotmail.com]
Sent: Monday, February 04, 2002 12:55 PM
To: Multiple recipients of list ORACLE-L
Subject: HOW TO KNOW INDEX NOT IN USE?
Hi
I there any view which can tell us which indexes are not in use?
Thx
-Seema
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Seema Singh
INET: oracledbam_at_hotmail.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
To REMOVE yourself from this mailing list, send an E-Mail message
to: 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 - 16:41:03 CST
![]() |
![]() |