Home » RDBMS Server » Performance Tuning » TOP_LEVEL_SQL_ID (Oracle 11.2.0.4, Windows 2008 Server)
TOP_LEVEL_SQL_ID [message #652376] |
Tue, 07 June 2016 16:27  |
jesuisantony
Messages: 166 Registered: July 2006 Location: Chennai
|
Senior Member |
|
|
We have been getting ORA-1652: unable to extend temp segment by 128 in tablespace TEMP error.
We enabled the trace and found the sql_id (select query) which was hitting the tablespace issue. The application user, machine and program details were identified. However, we were not sure which procedure was triggering this SQL statement. We understand that there is a column named "TOP_LEVEL_SQL_ID" in v$active_session_history. But I understand that we are not expected to use the tables provided through the diagnostic tuning pack.
Is there a way that I can find the top level sql during the runtime or through any other dynamic or fixed views.
We generated the trace through "1652 EVENTS ERRORSTACK LEVEL 3". This has bunch sql_id and statements mentioning parent and child cursor. I am unable to figure out the top level sql query.
Please help on this.
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Jun 06 05:51:50 CDT 2025
|