60 likes | 209 Views
Examples. Conflict and View S erializable. Is the above schedule conflict serializable ? Is the above schedule view seializable to T3T1T2?. Locking. Using the Wait-Die technique, which transaction will get aborted? Using the Wound-wait technique, which transaction will get aborted?.
E N D
Conflict and View Serializable • Is the above schedule conflict serializable? • Is the above schedule view seializable to T3T1T2?
Locking • Using the Wait-Die technique, which transaction will get aborted? • Using the Wound-wait technique, which transaction will get aborted?
Recovery Consider the following log file: <T1, begin> <T1, X, 20> <T2, begin> <T2, A, 10> <T3, begin> <T1, Y, 100> <T4, begin> <T4, C, 180> <T1, commit> <T3, B, 0> <T3, commit> <T5, begin> <Checkpoint> <T5, D, 100> <T6, begin> <T4, commit> <T6, W, 20> <T6, commit> • Using the Deferred Updates, which transactions will: • Get undone? • Get redone? • Using the Immediate Updates, which transactions will: • Get undone? • Get redone?