A - The only suggestion I've heard is to take the contents of V$SQL, perform EXPLAIN PLAN on all SQL, and try to build a list of indexes that are used. Hardly foolproof. I think Burleson has some scripts in his book Oracle High-Performance Tuning With STATSPACK, IIRC.
Dennis Williams DBA Lifetouch, Inc. [EMAIL PROTECTED] -----Original Message----- Sent: Tuesday, November 18, 2003 11:49 AM To: Multiple recipients of list ORACLE-L Hi, I had sent this some time back but got no answer for version 8.1.7. For table I understand auditing is an option. What about for index? Thank You A Joshi <[EMAIL PROTECTED]> wrote: Hi, Is there an easy way to find out if a table or an index is being used. I mean short of going thru all code or keeping looking at v$sqlarea. I mean even if code is covered there are always ad hoc SQL queries etc. Same for other objects like views etc. Is there a place where oracle stores objects accessed and any other related info. Thanks _____ Do you Yahoo!? Yahoo! <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> SiteBuilder - Free, easy-to-use web site design software _____ Do you Yahoo!? Protect <http://antispam.yahoo.com/whatsnewfree> your identity with Yahoo! Mail AddressGuard -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: DENNIS WILLIAMS INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (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).
