What would you recommend to accomplish the task?

You created two services HR and FINANCE on a single instance database. These services are used by the middle-tier applications to connect to the database by using connection pools. The applications have various modules and you asked the developers to invoke the DBMS_APPLICATION_INFO.SET_MODULE procedure to set the module name and action in the code for the application. As part of performance management, you want to gather statistics for these modules and see the amount of workload created by these modules.
What would you recommend to accomplish the task?

You created two services HR and FINANCE on a single instance database. These services are used by the middle-tier applications to connect to the database by using connection pools. The applications have various modules and you asked the developers to invoke the DBMS_APPLICATION_INFO.SET_MODULE procedure to set the module name and action in the code for the application. As part of performance management, you want to gather statistics for these modules and see the amount of workload created by these modules.
What would you recommend to accomplish the task?

A.
Using the DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE procedure to collect statistics for a module and querying the V$SERVICE_EVENT view

B.
Using the DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE procedure to collect statistics for a module and querying the V$SERVICE_STATS view

C.
Using the DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE procedure to collect statistics for a module and querying the V$SERV_MOD_ACT_STATS view

D.
Querying the V$SERVICE_STATS view because the statistics for the modules are collected automatically when you invoke the
DBMS_APPLICATION_INFO.SET_MODULE procedure



Leave a Reply 0

Your email address will not be published. Required fields are marked *