2023 For each of the following locking protocols assuming that every transaction follows that locking protocol state which of these desirable | Assignment Collections
Computer Science 2023 Database Question
2023 For each of the following locking protocols assuming that every transaction follows that locking protocol state which of these desirable | Assignment Collections
For each of the following locking protocols, assuming that every transaction follows that locking
protocol, state which of these desirable properties are ensured: (1), con
ict-serializability, (2) recoverability, (3)
avoidance of cascading rollbacks, (4) strict schedules. You don’t have to give any explanations, just state for
each of (1),(2),(3), (4) YES or NO. For example, your answer might be (1) YES, (2) NO (3) NO (4) YES.
(a) Always obtain an exclusive lock before writing; hold exclusive locks until end-oftransaction. No shared
locks are ever obtained i.e. don’t need to get locks to read.
(b) Always obtain an exclusive lock before writing; hold exclusive locks until end-oftransaction. In addition,
obtain a shared lock before reading; shared locks can be released at any time.
(c) Always obtain an exclusive lock before writing; hold exclusive locks until end-oftransaction. In addition,
obtain a shared lock before reading; shared locks can be released at any time. In addition, locking is
two-phase.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.