in Others edited by
534 views
0 votes
0 votes

Consider the following statements:
Statement $\text{I}$: Conservative $2 \mathrm{PL}$ is a deadlock-free protocol.
Statement $\text{II}$: Thomas's write rule enforces conflict serializability.
Statement $\text{III}$: Timestamp ordering protocol ensures serializability based on the order of transaction timestamps.

Which of the following is correct?

  1. Statement $\text{I}$, Statement $\text{II}$ true and Statement $\text{III}$ false
  2. Statement $\text{I}$, Statement $\text{III}$ true and Statement $\text{II}$ false
  3. Statement $\text{I}$, Statement $\text{II}$ false and Statement $\text{III}$ true
  4. Statement $\text{I}$, Statement $\text{II}$ and Statement $\text{III}$ true
in Others edited by
by
534 views

1 Answer

0 votes
0 votes
  • Statement I: Conservative 2 PL is a protocol for managing concurrent access to a database and it aims to prevent deadlocks. Hence, Statement I is true. 

  • Statement II: Thomas's write rule is a method for ensuring conflict serializability in database systems. It defines the conditions under which two transactions can write to the same data item and ensures that the transactions are executed in a serializable order. Hence, Statement II is true. 

  • Statement III: Timestamp ordering protocol is a method for ensuring serializability in database systems by assigning a unique timestamp to each transaction. Transactions are executed in the order of their timestamps, which ensures that all conflicting transactions are executed in a serializable order. 

  • Hence, Statement III is true.

by

1 comment

Statement II is false as Thomas write rule ensures view serializability.
2
2

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true