AWR Analysis
AWR Analysis
Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
% Total DB Time is the Elapsed Time of the SQL statement divided into the Total Database Time multiplied by 100
What activities we were doing from sqlplus in Business Hours time? Can this be done in non-business
hrs. Can we do DB_imports in non-business hrs.
CPU
Buffer Gets per Elapsed SQL
Executions %Total Time SQL Id SQL Text
Gets Exec Time (s) Module
(s)
48,747,929 1 48,747,929.00 54.15 1205.45 1263.73 8vab19advdxbs SQL*Plus BEGIN
pkg_mig_ext_organization...
34,223,343 2,041 16,767.93 38.02 990.15 997.53 8btdqg396y5qp SQL*Plus SELECT COUNT(*) FROM
TPT_ACCOU...
19,441,512 1 19,441,512.00 21.60 359.74 373.61 fpdx65rx03g5h SQL*Plus BEGIN
pkg_mig_internal_person....
11,174,675 11,075 1,009.00 12.41 159.81 161.98 438pfygvt7sj1 SQL*Plus SELECT ID, CREATED_BY,
CREAT...
SELECT object_id, file_name, unprocessed, success, failure, total, created_on
FROM (Select CREATED_ON, TENANT_ID, OBJECT_ID, FILE_NAME, UNPROCESSED,
SUCCESS, FAILURE, TOTAL from(
SELECT cd.created_on created_on, cd.tenant_id tenant_id, cd.object_id
object_id, cd.file_name file_name, cd.unprocessed unprocessed, cd.success
success, cd.failure failure, cd.total total FROM (
SELECT min(created_on) created_on, object_id object_id, file_name
file_name, sum(decode(lower(status), 'unprocessed', 1, 0)) unprocessed,
sum(decode(lower(status), 'success', 1, 0)) success, sum(decode(lower(status),
'failure', 1 , 0)) failure, sum(decode(status, null, 0 , 1)) total, tenant_id
FROM tp2.tpt_conn_data GROUP by object_id, file_name , tenant_id )
cd
GROUP by cd.created_on, cd.object_id, cd.file_name, cd.unprocessed,
cd.success, cd.failure, cd.total, cd.tenant_id))
order by created_on desc