DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: 8i Monitoring Index-Usage ?

  1. #1
    Join Date
    Apr 2002
    Location
    Germany.Laudenbach
    Posts
    448
    Hello;
    i know this feature is supported in 9i, is there a possiblilty to do this in any way in a 8i Database ?

    Orca

  2. #2
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    It is a 9i feature.

    In 8i you have to query v$sqlarea and run explain plan to figure out which indexes are used and which ones are not used.
    Oracle Certified Master
    Oracle Certified Professional 6i,8i,9i,10g,11g,12c
    email: ocp_9i@yahoo.com

  3. #3
    Join Date
    Sep 2000
    Location
    Sao Paulo,SP,Brazil, Earth, Milky Way
    Posts
    350
    OR the poster can use an AFTER LOGON trigger to set
    CREATE_STORED_OUTLINES to true. If the users have the CREATE ANY OUTLINE system privilege, you'll be able to see which indexes are being used in the DBA_OUTLINE_HINTS view.
    Or even better : if all he wants is to know IF the index are being used, maybe he could put the index in a separated tablespace, and monitor it with the V$FILESTAT statistics.

    []s

    Chiappa

  4. #4
    Join Date
    Sep 2000
    Location
    Sao Paulo,SP,Brazil, Earth, Milky Way
    Posts
    350
    Addendum : OF COURSE, V$FILESTATs show only PHYSICAL reads, so the new tablespace MUST go offline, and then online, to flush off the blocks from cache, and this way the next read WILL be marked on v$filestat

    []s

    Chiappa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width