1Z0-062 · Question #115
In your database, you want to ensure that idle sessions that are blocking active are automatically terminated after a specified period of time. How would you accomplish this?
The correct answer is B. Implementing Database Resource Manager. Database Resource Manager provides a directive specifically designed to automatically terminate idle sessions that are blocking active sessions after a configurable time period.
Question
In your database, you want to ensure that idle sessions that are blocking active are automatically terminated after a specified period of time. How would you accomplish this?
Options
- ASetting a metric threshold
- BImplementing Database Resource Manager
- CEnabling resumable timeout for user sessions
- DDecreasing the value of the IDLE_TIME resource limit in the default profile
How the community answered
(57 responses)- A5% (3)
- B81% (46)
- C4% (2)
- D11% (6)
Why each option
Database Resource Manager provides a directive specifically designed to automatically terminate idle sessions that are blocking active sessions after a configurable time period.
Metric thresholds in Oracle generate alerts or trigger advisory notifications when a threshold is exceeded but do not autonomously terminate sessions; they require external scripting or manual DBA action to act on the alert.
Database Resource Manager provides the MAX_IDLE_BLOCKER_TIME consumer group directive, which instructs Oracle to automatically kill any session that is idle and holding a lock that is blocking another active session for longer than the specified number of minutes. This is the only built-in Oracle feature that targets idle blocking sessions specifically, without affecting non-blocking idle sessions.
Resumable timeout defines how long a suspended resumable operation waits for a resource condition (such as out-of-space) to be resolved before raising an error; it has no mechanism to detect or terminate idle blocking sessions.
The IDLE_TIME resource limit in a user profile disconnects any session idle beyond the limit regardless of whether it is blocking another session, making it an indiscriminate control that does not specifically target blocking behavior.
Concept tested: Database Resource Manager MAX_IDLE_BLOCKER_TIME directive
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-resources-with-oracle-database-resource-manager.html
Topics
Community Discussion
No community discussion yet for this question.