题目
题目

COMP90050_2025_SM2 Quiz 4

单项选择题

Given the hierarchy of database objects and the corresponding granular locks in the following picture, which transactions can run concurrently from the beginning till end (that is, all operations and locks are compatible to run concurrently with another one), if the transactions arrive in the order T1-T2-T3?    Compatibility table: 

选项
A.No transaction can run concurrently
B.T1, T2 can run concurrently from the beginning till end, but T3 will be delayed
C.All transactions can run concurrently from beginning till end
题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
To understand which transactions can run concurrently from the beginning, we need to consider the granularity locks and their compatibility. Option analysis begins by noting the arrival order: T1 arrives first, then T2, then T3. Each transaction acquires locks on database objects as it progresses down the hierarchy (Database, File, Record, etc.) with modes such as IS (Intention Shared), IX (Intention Exclusive), S (Shared), SIX (Shared with Intent Exclusive), U (Update), and X (Exclusive). - If two transactions can share the same resource without conflicting locks at every level along their access path, they can execute concurren......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!