How To Use DBMS_SQLDIAG To Diagnose Query Performance Issues
Last updated on JANUARY 27, 2017
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
This article describes how to use DBMS_SQLDIAG to see if we can use PROBLEM_TYPE_PERFORMANCE to understand the performance problem of a SQL statement and implement any generated patch.
For other ways of using DBMS_SQLDIAG see:
This article is not intended to describe how to implement workarounds using the 'SQL Patch' functionality. It is intended to explore performance problem of a SQL statement using DBMS_SQLDIAG package.
For details of how to apply 'SQL Patch' refer to the DBMS_SQLDIAG.ACCEPT_SQL_PATCH procedure. See:
11g Release 2 (11.2)
Part Number E10577-04
Chapter 137 DBMS_SQLDIAG
Running the SQL Repair Advisor
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms