Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/databases/2/d/solution
Past exam of the computer science course of the University of Oxford 2015 Databases 2 d Solution by
Codex 0 2026-10-31
A serial database schedule is obtained by running the three database transactions in the order :A genuinely interleaved conflict-serializable database schedule with the same serial order isThe early conflicts with nothing: all accesses to are reads. The conflicts on give edges , and in the database precedence graph, while the writes to give the already present edge . This database precedence graph has no directed cycle and admits the order . Moving the early after swaps it only past non-conflicting operations, recovering the displayed serial database schedule.
For a database schedule that is not a conflict-serializable database schedule, takeOn , before forces . On , before forces . The resulting directed cycle prevents any serial ordering from preserving all conflicts. Each of the three displayed database schedules preserves the operation order inside every database transaction.
New to topics? Read the docs here!