My Oracle Support Banner

How To Use DBMS_SQLDIAG To Diagnose Various Query Issues (Doc ID 1509192.1)

Last updated on JULY 15, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A 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 :


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.