已知事务 T1 的封锁序列为:LOCK S(A)...LOCK S(B)...LOCK X(C) ...UNLOCK(B) ...UNLOCK (A) ...UNLOCK (C) 事务 T2 的封锁序列为:LOCK S(A) ...UNLOCK (A) ...LOCK S(B) ...LOCK X(C) ...UNLOCK (C) ...UNLOCK (B) 则遵守两段封锁协议的事务是()A.T1B.T2C.T1 和 T2D.没有
已知事务 T1 的封锁序列为:LOCK S(A)...LOCK S(B)...LOCK X(C) ...UNLOCK(B) ...UNLOCK (A) ...UNLOCK (C) 事务 T2 的封锁序列为:LOCK S(A) ...UNLOCK (A) ...LOCK S(B) ...LOCK X(C) ...UNLOCK (C) ...UNLOCK (B) 则遵守两段封锁协议的事务是()
A.T1
B.T2
C.T1 和 T2
D.没有
参考答案和解析
T1
相关考题:
已知事务T 1的封锁序列为:LOCK S(A)…LOCK S(B)…LOCK X(C)…UNLOCK(B)…UNLOCK (A)…UNLOCK (C)事务T 2的封锁序列为:LOCK S(A)…UNLOCK (A)…LOCK S(B)…LOCK X(C)…UNLOCK (C)…UNLOCK (B)则遵守两段封锁协议的事务是( ) A.T 1B .T 2C .T 1和T 2D .没有
当复位PCU时,我们可以用不同的指令,下列哪个指令不会导致BSCreset?() A.reset_sitepcuB.reset_sitepcu0C.lock0pcu0,unlock0pcu0D.reset_devicepcu
单击()将弹出一菜单,从中可以设置Premiere能够显示的最小时间单位。A、Show/ Hide Audio WaveformsB、Time Zoom LevelC、Lock/Unlock TrackD、Track Options Dialog
在ASP中,Application对象的()方法用于控制应用程序变量的读写操作。A、Open()和Close();B、Lock()和Unlock();C、MoveNext()和Move();D、Read()和Write()
关于图形的Group(组合)与Lock(锁定)操作,下列描述不正确的是()A、多个图形一旦成组,要选择其中一个图形,必须先执行Ungroup(解组)命令才能进行选择B、Lock(锁定)命令只是固定图形的位置,并不影响对图形进行其它的操作,例如,改变填充色C、锁定后的成组图形一旦执行UnLock(解锁)命令,成组图形也自动解组D、对于成组的图形,通过选择工具(工具箱中的黑色箭头),单击其中的任何图形,都可选中整个群组
当复位PCU时,我们可以用不同的指令,下列哪个指令不会导致BSCreset?()A、reset_sitepcuB、reset_sitepcu0C、lock0pcu0,unlock0pcu0D、reset_devicepcu
当复位PCU时,我们可以用不同的指令,下列哪个指令不正确,会导致BSCreset()A、reset_site pcuB、reset_site pcu 0C、lock 0 pcu 0 , unlock 0 pcu 0D、reset_device pcu
What happens when thread X executes a wait() method on object A, without owning object A’s lock?() A、 Compilation fails.B、 An exception is thrown.C、 The wait() method has no effect.D、 Thread X receives the lock immediately.E、 Object A moves the thread to the wait pool.
User Scott has updated the salary of one of the employees in the EMPLOYEES table and has not committed the transaction. What are the two types of locks that this scenario would lead to?()A、null lock on the row being updatedB、null lock on the table containing the rowC、ROW SHARE lock for the row being updatedD、ROW EXCLUSIVE lock for the row being updatedE、shared row-exclusive lock for the row being updatedF、a shareable table lock for the table containing the rowG、exclusive table-level lock for the table containing the row
多选题User Scott has updated the salary of one of the employees in the EMPLOYEES table and has not committed the transaction. What are the two types of locks that this scenario would lead to?()Anull lock on the row being updatedBnull lock on the table containing the rowCROW SHARE lock for the row being updatedDROW EXCLUSIVE lock for the row being updatedEshared row-exclusive lock for the row being updatedFa shareable table lock for the table containing the rowGexclusive table-level lock for the table containing the row
单选题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?()Aexecute the command, ALTER SESSION KILL .., to kill the blocking sessionBexecute the DBMS_SESSION.KILL_SESSION procedure to kill the blocking sessionCexecute the command, ALTER SYSTEM KILL SESSION .., to kill the blocking sessionDexecute the command, ALTER SESSION UNLOCK .., to release the lock for the blocking sessionEexecute the command, ALTER SYSTEM UNLOCK SESSION .., to release the lock for the blocking session
单选题What happens when thread X executes a wait() method on object A, without owning object A’s lock?()A Compilation fails.B An exception is thrown.C The wait() method has no effect.D Thread X receives the lock immediately.E Object A moves the thread to the wait pool.
单选题在ASP.NET的内建对象中,必须要有Lock和Unlock方法以确保多个用户无法同时改变某一变量的对象是()ACacheBSessionCRequestDApplication