Transaction schedules in DBMS

December 4, 2026 · Team EasyExamNotes · 2 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CS-502-CBGS DBMS June 2020 solved question paper

RGPV CS-502-CBGS | June 2020 | Q4(b) | 7 marks

Question: What do you mean by Schedule?

Answer

Transaction schedules in DBMS
Transaction schedules in DBMS

A schedule is an ordering of operations from one or more transactions that preserves the original order of operations within each individual transaction. It describes how a DBMS interleaves reads, writes, commits and aborts. The notation r1(X) means transaction T1 reads X, w1(X) means it writes X, and c1 denotes its commit.

Serial schedule: One transaction completes before another begins. For example r1(X), w1(X), c1, r2(X), w2(X), c2. Serial execution is straightforward but may waste resources while a transaction waits for I/O.

Nonserial schedule: Operations of transactions are interleaved. For example r1(X), r2(Y), w1(X), w2(Y), c1, c2. Because the transactions access different items, this interleaving is equivalent to a serial execution.

Serializable schedule: A nonserial schedule is serializable if it is equivalent to some serial schedule under the chosen equivalence criterion. Conflict serializability can be tested using a precedence graph; an acyclic graph indicates a conflict-serializable schedule. View serializability uses initial reads, reads-from relationships and final writers.

Recoverable schedule: If T2 reads a value written by T1, T2 must not commit before T1 commits. A cascadeless schedule additionally requires T1 to commit before T2 reads its value. A strict schedule prohibits another transaction from reading or writing an item written by an uncommitted transaction.

For a bank account, a schedule that lets two transactions read the same initial balance and overwrite each other’s updates can cause a lost update. Concurrency control therefore selects schedules that satisfy the required isolation and recovery properties. Serializability and recoverability are distinct: a serializable schedule may still be unrecoverable if commit ordering is unsafe.

← RGPV CS-502-CBGS DBMS June 2020 solved question paper

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion