INTERMEDIATEFrequently Tested 4 min read 21 views
Conflict Serializability (Precedence Graph) & B+ Tree Order Math
Testing conflict serializability via cycle detection, counting topological serial equivalents, and B vs B+ tree node equations.
Conflict Serializability & Precedence Graph
Two operations conflict if they belong to different transactions, access the same data item , and at least one is a WRITE(X) (RW, WR, or WW).
- Build directed graph with edge whenever an operation in precedes and conflicts with one in .
- Schedule is Conflict Serializable has NO directed cycle (is a DAG)!
- Every Conflict Serializable schedule is View Serializable, not vice-versa (blind writes can create view-serializable schedules with cycles).
Key Formulas Summary
B+ Tree Internal Node Order p
Note: Internal nodes store NO data record pointers in a B+ Tree!
B-Tree Node Order p
Note: Every key in a B-Tree carries a data record pointer!
#DBMS#Transactions#B+ Tree#Indexing
Practice Questions on This Chapter (3)
Q1GATE CS DBMS NATNATMEDIUM
+2M • 0 Neg
In a tree index, disk block size is , search key size is , block pointer is , and data record pointer is . What is the maximum order (maximum block pointers) of an internal (non-leaf) node?
Q2GATE CS 2023NATMEDIUM
+2M • 0 Neg
In a tree, search keys are , disk block pointers are , record pointers are , and disk block size is . What is the maximum order (maximum number of block pointers) of an internal node?
Q3GATE CS 2021 Set-1MCQMEDIUM
+2M • -0.67
Consider schedule . Is Conflict Serializable, and if so, what is its equivalent serial order?
⚡ Click an option above to verify instantly