Oracle
1Z0-043 · Question #30
You work as a database administrator at certkiller.com. In your test database, you find that a user's session is executing a lot of SQL statements, resulting in the generation of a large number of…
The correct answer is B. by using DBMS_MONITOR.SESSION_TRACE_DISABLE to disable the tracing for the user session. See the full explanation below for the reasoning.
Question
You work as a database administrator at certkiller.com. In your test database, you find that a user's session is executing a lot of SQL statements, resulting in the generation of a large number of trace files. While investigating the reason, you find that SQL trace has been enabled at the instance level. You want to disable SQL trace, remotely, only for that user session to reduce the volume of trace data being generated. How do you achieve this objective?
Options
- Aby setting the SQL_TRACE parameter to FALSE in the parameter file
- Bby using DBMS_MONITOR.SESSION_TRACE_DISABLE to disable the tracing for the user session
- Cby setting the SQL_TRACE parameter to FALSE by using the ALTER SYSTEM command in the user
- Dby setting the SQL_TRACE parameter to FALSE by using the ALTER SESSION command in the
How the community answered
(48 responses)- A6% (3)
- B81% (39)
- C2% (1)
- D10% (5)
Community Discussion
No community discussion yet for this question.