QuestionQ36
VerifiedMonitoring and Tuning Database PerformanceYou must investigate the execution plan and statistics for a complex UPDATE that takes longer to run than expected.
The UPDATE is run by the PAYROLL module through the APPS service. Review this list of statements:
EXECUTE DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE (service_name => 'APPS', module_name => 'PAYROLL');EXECUTE DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE(service_name => 'APPS', module_name => 'PAYROLL');EXECUTE DBMS_MONITOR.SERV_MOD_ACT_STAT_DISABLE(service_name => 'APPS', module_name => 'PAYROLL');EXECUTE DBMS_MONITOR SERV_MOD_ACT_TRACE_DISABLE(service_name => 'APPS', module_name => 'PAYROLL');EXECUTE DBMS_SESSION.SESSION_TRACE_ENABLEEXECUTE DBMS_SESSION.SESSION_TRACE_DISABLEtrcsess output=agg_apps_payroll.trc service='APPS' module='PAYROLL'tkprof agg_apps_payroll.trc formatted_output.txt sort=fchelatkprof agg_apps_payroll.trc formatted_output.txt sort=exeela
Which set of commands should be executed?
Community Discussion