1 / 6

Examples

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?.

bryony
Télécharger la présentation

Examples

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Examples

  2. Conflict and View Serializable • Is the above schedule conflict serializable? • Is the above schedule view seializable to T3T1T2?

  3. Locking • Using the Wait-Die technique, which transaction will get aborted? • Using the Wound-wait technique, which transaction will get aborted?

  4. Timestamping

  5. Timestamping

  6. 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?

More Related