How To Use DBMS_SQLDIAG To Diagnose Various Query Issues
(Doc ID 1509192.1)
Last updated on AUGUST 04, 2018
Oracle Database - Enterprise Edition - Version 18.104.22.168 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
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!