Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: HOW TO KNOW INDEX NOT IN USE?

RE: HOW TO KNOW INDEX NOT IN USE?

From: Aponte, Tony <AponteT_at_hsn.net>
Date: Mon, 04 Feb 2002 14:41:03 -0800
Message-ID: <F001.004058BD.20020204143038@fatcity.com>

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US