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

Thread: How to check if an index created is being used by the application - Oracle 8.1.6

  1. #1
    Join Date
    Jul 2004
    Posts
    3

    How to check if an index created is being used by the application - Oracle 8.1.6

    Would appreciate if someone could help me to identify indexes which are being used by applications. My development team has created many many indexes and I am sure some of the indexes are not being used resulting in performance issues.

    Thanks

  2. #2
    Join Date
    Jul 2003
    Posts
    134
    Check the view v$object_usage. An Yes or a NO will indicate whether the index is being used.

    However if u want to know if a specific query of the application is using an index, you can EXPLAIN PLAN and see the output.

  3. #3
    Join Date
    Feb 2003
    Location
    INDIA
    Posts
    96
    Vipassana, the v$object_usage is included in the 9i, so we may have to rely on the Explain plan.

    You can search the queries for the related table from v$sql and then check the queries for the explain plan.
    Dilip Patel
    OCP 8i

    Catch me online at Yahoo: ddpatel256

  4. #4
    Join Date
    Jul 2003
    Posts
    134
    Originally posted by Dilippatel
    Vipassana, the v$object_usage is included in the 9i, so we may have to rely on the Explain plan.

    You can search the queries for the related table from v$sql and then check the queries for the explain plan.
    oh ur r right sir. i missed to observe he works on 8i.

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