My Oracle Support Banner

How to find bind varaible value from ora-600 trace file (Doc ID 2542091.1)

Last updated on NOVEMBER 13, 2019

Applies to:

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

Goal

Sometimes when ora-600 error occurs, you might wan to get the related sql statement and execute it again to see whether you can reproduce the same issue,but from the sql statement, you find out that there are some bind variables in it, such as the following(:1 and :2 and so on):

ORA-00600: Internal Error Code, parameters: [mal0-size-too-large], [qesdpCoordMut+ in qesdpAllocExecMut], [], [], [], [], [], [], [], [], [], []
......

----- Current SQL Statement for this session (sql_id=49pk1ccqhs5dj)

SELECT a,b
FROM <table_name>
WHERE col1 = :1 and col2 = :2 ;

 

In order to get the complete sql text, you must find out those bind varaibles(eg: :1 and :2) value, and replace them.

Solution

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
Goal
Solution


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