From oracle-l-bounce@freelists.org Thu May 12 14:07:43 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j4CJ7hcw031485 for ; Thu, 12 May 2005 14:07:43 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j4CJ7h4Z031481 for ; Thu, 12 May 2005 14:07:43 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 01F741925DF; Thu, 12 May 2005 13:05:00 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18191-02; Thu, 12 May 2005 13:04:59 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7ED3A19251B; Thu, 12 May 2005 13:04:59 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Subject: RE: best way to identify an unused index Date: Thu, 12 May 2005 14:03:06 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: best way to identify an unused index Thread-Index: AcVXEOX7FTBXRywFTpm+DPPo2w3cBwACy2cwAAAtiTA= From: To: , , , X-OriginalArrivalTime: 12 May 2005 18:03:06.0582 (UTC) FILETIME=[D9453760:01C5571C] X-CanItPRO-Stream: default X-Spam-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . roaringpenguin . com) on 167.78.2.21 X-archive-position: 19630 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: Paula_Stankus@doh.state.fl.us Precedence: normal Reply-To: Paula_Stankus@doh.state.fl.us X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,LINES_OF_YELLING, NO_REAL_NAME autolearn=no version=2.63 OK in 9i much easier per Tom Kyte: Any performance hit on using this? select=20 index_name,monitoring,used,start_monitoring,end_monitoring 2 from v$object_usage; no rows selected ops$tkyte@ORA920.US.ORACLE.COM> ops$tkyte@ORA920.US.ORACLE.COM> ops$tkyte@ORA920.US.ORACLE.COM> alter index t_pk monitoring usage 2 / Index altered. ops$tkyte@ORA920.US.ORACLE.COM> ops$tkyte@ORA920.US.ORACLE.COM> select=20 index_name,monitoring,used,start_monitoring,end_monitoring 2 from v$object_usage; INDEX_NAME MONITORING USED START_MONITORING END_MONITORING ------------ ---------- ---- ------------------- ------------------- T_PK YES NO 05/26/2003 10:06:32 ops$tkyte@ORA920.US.ORACLE.COM> ops$tkyte@ORA920.US.ORACLE.COM> set echo off -----Original Message----- From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Stankus, Paula G Sent: Thursday, May 12, 2005 1:58 PM To: arivenes@llnl.gov; dba.orcl@gmail.com; oracle-l@freelists.org Subject: RE:best way to identify an unused index In Oracle 9i what is the best way to identify an unused index? -- http://www.freelists.org/webpage/oracle-l BEGIN-ANTISPAM-VOTING-LINKS ------------------------------------------------------ Teach CanIt if this mail (ID 32179039) is spam: Spam: https://dohsmsi01.doh.state.fl.us/canit/b.php?c=3Ds&i=3D32179039&m=3Dccc5= c6629 316 Not spam: https://dohsmsi01.doh.state.fl.us/canit/b.php?c=3Dn&i=3D32179039&m=3Dccc5= c6629 316 Forget vote: https://dohsmsi01.doh.state.fl.us/canit/b.php?c=3Df&i=3D32179039&m=3Dccc5= c6629 316 ------------------------------------------------------ END-ANTISPAM-VOTING-LINKS -- http://www.freelists.org/webpage/oracle-l