52. View the Exhibits and examine lock waits.
Users HR and SH complain that their transactions on one of the application tables, EMP, are waiting for
response.
Which action would you take to release the lock and enable users HR and SH to continue with their
transactions?
A.Kill the session of the user SCOTT with session ID118.
B.Issue manual checkpoint using the ALTER SYSTEM command.
C.Modify the profile used by user SCOTT to reduce the CONNECT_TIME limit.
D.Flush the Shared Pool to remove the SQL statement causing "wait" in memory.
Answer: A
答案解析:
参考:http://blog.csdn.net/rlhua/article/details/12652569
有冲突的锁定请求以分层布局的形式显示,其中持有锁的会话位于顶部,下面是排队请求锁的所有会话。由图上可知,SCOTT是持有锁的会话。HR和SH是排队请求锁的会话。