How To Use DBMS_SQLDIAG To Diagnose Various Query Issues
Last updated on MARCH 19, 2015
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Information in this document applies to any platform.
This article is a central point containing to links describing the various ways that DBMS_SQLDIAG can be used to find workarounds for various issues with SQL Statements. DBMS_SQLDIAG is shipped with the standard Oracle Database Software and usage requires no additional license. The "problem resolution" modules were introduced in Oracle 11g.
There are the following possible problem types for DBMS_SQLDIAG :
- PROBLEM_TYPE_PERFORMANCE - User suspects this is a performance problem
- PROBLEM_TYPE_WRONG_RESULTS - User suspects the query is giving inconsistent results
- PROBLEM_TYPE_COMPILATION_ERROR - User sees a crash in compilation
- PROBLEM_TYPE_EXECUTION_ERROR - User sees a crash in execution
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms