...
Question 8123 – Database-Management-System
May 13, 2024
Question 11225 – Algorithms
May 13, 2024
Question 8123 – Database-Management-System
May 13, 2024
Question 11225 – Algorithms
May 13, 2024

Question 8124 – Database-Management-System

Suppose a database schedule S involves transactions T1, …, Tn. Construct the precedence graph of S with vertices representing the transactions and edges representing the conflicts. If S is serializable, which one of the following orderings of the vertices of the precedence graph is guaranteed to yield a serial schedule?

Correct Answer: A

Question 33 Explanation: 
If a schedule is conflict serializable then no cycle in precedence graph should be present.
But BFS and DFS are also possible for cyclic graphs.
And topological sort is not possible for cyclic graph.
Moreover option (D) is also wrong because in a transaction with more indices might come before lower one.
A
Topological order
B
Depth-first order
C
Breadth-first order
D
Ascending order of transaction indices
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!