Computer Science, asked by manvithaburugupalli, 9 hours ago

What can be used to test the Serializability of a schedule and how to test serializability? Explain​

Answers

Answered by vanshika9700
0

Answer: Serialization Graph is used to test the Serializability of a schedule. Assume a schedule S. For S, we construct a graph known as a precedence graph. This graph has a pair G = (V, E), where V consists of a set of vertices, and E consists of a set of edges.

Explanation:

Answered by Anonymous
1

Explanation:

Serialization Graph is used to test the Serializability of a schedule.

Assume a schedule S. For S, we construct a graph known as precedence graph. This graph has a pair G = (V, E), where V consists a set of vertices, and E consists a set of edges. The set of vertices is used to contain all the transactions participating in the schedule. The set of edges is used to contain all edges Ti ->Tj for which one of the three conditions holds:

Create a node Ti → Tj if Ti executes write (Q) before Tj executes read (Q).

Create a node Ti → Tj if Ti executes read (Q) before Tj executes write (Q).

Create a node Ti → Tj if Ti executes write (Q) before Tj executes write (Q).

Similar questions