Home Discussions Questions & Answers Auditing Index Usage for Slow Queries

Auditing Index Usage for Slow Queries

Avatar photoCustomer July 15, 2025 at 7:32 pm

We have a handful of critical reports that sporadically run very slowly. We need to check their execution plan history to see if they suddenly started skipping indexes. Which Blitz Report should I use?

Viewing 4 reply threads
  • Author
    Replies
    • Support July 16, 2025 at 7:29 pm  

      You have two main options, depending on when the slow run occurred. Use DBA AWR SQL Execution Plan History for past runs, or DBA SGA SQL Execution Plan History for recent runs currently in memory. Both retrieve the plan history for a particular SQL_ID.

    • Avatar photoCustomer July 18, 2025 at 12:38 pm  

      What does a change in the ‘Plan Hash Value’ indicate about the query execution?

    • Support July 19, 2025 at 10:12 pm  

      The ‘Plan Hash Value’ is an identifier for one particular execution plan. A change indicates that the optimizer chose a different path (e.g., stopping using an index and starting a full table scan), even if the SQL text itself hasn’t changed.

    • Avatar photoCustomer July 20, 2025 at 12:15 pm  

      If the DBA AWR SQL Performance Summary shows a high value for ‘Is Bind Sensitive’, what should I check?

    • Support July 21, 2025 at 11:05 pm  

      If ‘Is Bind Sensitive’ is ‘Y’, it means the DB might consider a different explain plan for different bind values (Adaptive Cursor Sharing). For EBS transactional SQL, the path usually shouldn’t change, so ‘Y’ often indicates ‘instable’ SQL where the optimizer is struggling to find the best path.

Viewing 4 reply threads
  • You must be logged in to reply to this post.

Login with: