Examples
Download
1 / 6

Examples - PowerPoint PPT Presentation


  • 129 Views
  • Uploaded on

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Examples' - bryony


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

Conflict and view s erializable
Conflict and View Serializable

  • Is the above schedule conflict serializable?

  • Is the above schedule view seializable to T3T1T2?


Locking
Locking

  • Using the Wait-Die technique, which transaction will get aborted?

  • Using the Wound-wait technique, which transaction will get aborted?




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


ad