drcrazy44
asked on
How to find procedure/package by SQL statement(SQL_TEXT) for tuning
Hi,
Our systems are running well-known ERP and Oracle 8i or above.
We have performance issues.
We can find problematic SQL statements (SQL full text)by monitoring, but we don't know
which procedure/package the SQL statements were executed from.
Could anyone please tell us how to find procedure/packages by SQL text?
Assumption: we did not set module, action, client_info, etc by using
DBMS_MONITOR and DBMS_APPLICATION_INFO packages.
Thank you in advance.
Our systems are running well-known ERP and Oracle 8i or above.
We have performance issues.
We can find problematic SQL statements (SQL full text)by monitoring, but we don't know
which procedure/package the SQL statements were executed from.
Could anyone please tell us how to find procedure/packages by SQL text?
Assumption: we did not set module, action, client_info, etc by using
DBMS_MONITOR and DBMS_APPLICATION_INFO packages.
Thank you in advance.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
use statspack. documentation : ORACLE_HOME/rdbms/admin/sp doc.txt
ASKER
Thank you very much for all.