Which method would you use to overcome this problem?

One of the users in the PROD database, Adams, complains that his update on the table,
TRANS, is taking an unusually long time to complete. You find that the table gets locked by
another database user before Adams starts his transactions, and you are unable to contact
the user holding the table lock. As Adams is updating some crucial rows in the table, he
should get the highest priority. Which method would you use to overcome this problem?

One of the users in the PROD database, Adams, complains that his update on the table,
TRANS, is taking an unusually long time to complete. You find that the table gets locked by
another database user before Adams starts his transactions, and you are unable to contact
the user holding the table lock. As Adams is updating some crucial rows in the table, he
should get the highest priority. Which method would you use to overcome this problem?

A.
execute the command, ALTER SYSTEM UNLOCK SESSION .., to release the lock for
the blocking session

B.
execute the command, ALTER SESSION UNLOCK .., to release the lock for the blocking
session

C.
execute the command, ALTER SYSTEM KILL SESSION .., to kill the blocking session

D.
execute the command, ALTER SESSION KILL .., to kill the blocking session

E.
execute the DBMS_SESSION.KILL_SESSION procedure to kill the blocking session



Leave a Reply 0

Your email address will not be published. Required fields are marked *