nerdexam
Oracle

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.

Managing Performance

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)
  • A
    5% (3)
  • B
    81% (46)
  • C
    4% (2)
  • D
    11% (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.

ASetting a metric threshold

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.

BImplementing Database Resource ManagerCorrect

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.

CEnabling resumable timeout for user 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.

DDecreasing the value of the IDLE_TIME resource limit in the default profile

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

#Database Resource Manager#Idle sessions#Blocking sessions#Resource limits

Community Discussion

No community discussion yet for this question.

Full 1Z0-062 Practice