227.You plan to control idle sessions that are blocking other sessions from performing transactions. Your
requirement is to automatically terminate these blocking sessions when they remain idle for a specified
amount of time.
How would you accomplish this task?
A. Set metric threshold
B. Implement Database Resource Manager
C. Enable resumable timeout for user sessions
D. Add directives to Automatic Database Diagnostic Monitor (ADDM)
Answer: B
答案解析:
参考:http://blog.csdn.net/rlhua/article/details/13092965
题意:你打算控制空闲会话阻塞其他会话执行事务。你的要求,在一个指定的时间内,这些会话仍然闲置,会自动终止这些阻塞的会话。
数据库资源管理器提供了空闲时间限制:可以指定会话的空闲时间,超过该时间后将终止会话(MAX_IDLE_TIME)。你可以进一步限制资源管理器,使其只终止阻止其它会话的会话(MAX_IDLE_TIME_BLOCKER)。