How to use DBMS_SQLDIAG to Diagnose Crash or Error Issues (Doc ID 1360120.1)

Last updated on MARCH 25, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Information in this document applies to any platform.

Goal

This article describes how to use DBMS_SQLDIAG to find workarounds for issues where a query causes a session to crash or raise a critical error.
The article is specifically designed to address ora-7445 errors but can be easily modified to deal with other issue types.

For other ways of using DBMS_SQLDIAG see:

<Document 1509192.1> How To Use DBMS_SQLDIAG To Diagnose Various Query Issues

This article is not intended to describe how to implement workarounds using the 'SQL Patch' functionality. It is intended to provide potential workaround for critical errors like an ORA-7445 error.
For details of how to apply 'SQL Patch' refer to the DBMS_SQLDIAG.ACCEPT_SQL_PATCH procedure. See:

Oracle® Database PL/SQL Packages and Types Reference
11g Release 2 (11.2)
Part Number E10577-04
Chapter 137 DBMS_SQLDIAG
Running the SQL Repair Advisor
http://docs.oracle.com/cd/E11882_01/appdev.112/e40758/d_sqldiag.htm#CEGGDBAA

Solution

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