How to Setup SPM Trace for Already Established Application Session
(Doc ID 2368856.1)
Last updated on NOVEMBER 04, 2019
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 9.2 to 12.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Sometimes it is quite difficult to get hold of SPM trace for queries that are coming from application sessions.
Also it is known that system trace setup for the SQL_ID is known to not produce the trace files.
This becomes more complex when such queries are not possible to be launched with exactly same SQL_TEXT from sqlplus, as that will change the SQL_TEXT which causes baseline to be not considered.
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