QuestionQ179

VerifiedManage Diagnostic Data

Review the commands executed to monitor database operations:

$> conn sys/oracle@prod as sysdba  
  
SQL> VAR eid NUMBER -  
SQL>EXEC :eid := DBMS_SQL_MONITOR.BEGlN_OPERATION('batch_job,FORCED_TRACKING=>'Y');  

Which two statements are correct?

Choose two
Explanation

DBMS_SQL_MONITOR.BEGIN_OPERATION begins a composite database operation in the current session. With forced tracking set to Y, Oracle tracks the operation immediately rather than waiting for it to consume the normal CPU or I/O threshold. The operation groups the subsequent SQL statements or PL/SQL subprograms in that session until it is ended. Database-operation monitoring requires CONTROL_MANAGEMENT_PACK_ACCESS=DIAGNOSTIC+TUNING and a supported STATISTICS_LEVEL setting; TYPICAL is supported (as is ALL).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!