CS411 Database Systems
#1

CS411 Database Systems

[attachment=17098]
Timestamps
• Scheduler assigns each transaction T a timestamp
of its starting time TS(T)
• Each database element X is associated with
– RT(X): the highest timestamp of a transaction that has
read X
– WT(X): the highest timestamp of a transaction that
has written X
– c(X): the commit bit of X, which is true iff the most
recent transaction to write X has already committed



Scheduler’s response to a T’s request
1. Grant the request
2. Abort and restart (roll back) T with a new
timestamp
3. Delay T and later decide whether to abort T or
to grant the request



Multiversion Timestamping Scheduler
• When wT(X) occurs, if it’s legal, a new version of X,
Xt where t = TS(T), is created.
• When rT(X) occurs, find the version Xt of X s.t.
t <= TS(T), but no Xt’ with t < t’ <= TS(T)
• Write times are associated with versions of an element,
and they never change
• Read times are also associated with versions
• When Xt has a write time t s.t. no active transaction has a
timestamp less than t, we can delete any version of X
previous to Xt


Concurrency Control by Validation
• Another type of optimistic concurrency control
• Maintains a record of what active transactions are
doing
• Just before a transaction starts to write, it goes
through a “validation phase”
• If a there is a risk of physically unrealizable
behavior, the transaction is rolled back
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  SLOT VIEW SIMULATION OF WIND ELECTRICAL SYSTEMS seminar paper 1 1,400 26-11-2012, 01:49 PM
Last Post: seminar details
  AN INVESTIGATION OF ANTI-LOCK BRAKING SYSTEMS FOR HEAVY GOODS VEHICLES project uploader 1 1,875 23-11-2012, 12:06 PM
Last Post: seminar details
  INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS seminar paper 1 2,249 13-11-2012, 12:18 PM
Last Post: seminar details
  BUG TRACKING SYSTEMS project uploader 1 1,792 20-10-2012, 12:37 PM
Last Post: seminar details
  VIRTUAL DATABASE TECHNOLOGY FOR DISTRIBUTED DATABASE abstract seminar details 0 1,411 09-06-2012, 06:00 PM
Last Post: seminar details
  DISTRIBUTED DATABASE ARCHITECTURE FOR GLOBAL ROAMING IN FUTURE MOBILE NETWORKS seminar details 0 986 08-06-2012, 05:22 PM
Last Post: seminar details
  An Open Source Laboratory for Operating Systems Projects full report seminar details 0 960 08-06-2012, 04:21 PM
Last Post: seminar details
  Mobile Agents for World Wide Web Distributed Database Access project uploader 0 1,255 08-06-2012, 03:01 PM
Last Post: project uploader
  Mobile Radio Systems Historical Milestones to 1995 seminar details 0 791 08-06-2012, 11:55 AM
Last Post: seminar details
  An Open Source Laboratory for Operating Systems Projects seminar details 0 905 08-06-2012, 11:31 AM
Last Post: seminar details

Forum Jump: