Examples
This presentation is the property of its rightful owner.
Sponsored Links
1 / 6

Examples PowerPoint PPT Presentation


  • 102 Views
  • Uploaded on
  • Presentation posted in: General

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

Download Presentation

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


Examples

Examples


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?


Timestamping

Timestamping


Timestamping1

Timestamping


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?


  • Login