Docsity

CS 487 Final Exam December 2004 - Database Systems, Exams of Deductive Database Systems

Partial preview of the text

Download CS 487 Final Exam December 2004 - Database Systems and more Exams Deductive Database Systems in PDF only on Docsity!

Name:

CS 487 Final December 14, 2004

In the wound-wait protocol what timestamp is used for a restarted transaction?

What do wait-for graphs in a DBMS where the wound-wait protocol is used look like?

How does the wound-wait protocol prevent livelock from occurring?

Sketch two different two phase locking protocols and explain the difference between them in terms of performance and deadlock.

Name:

CS 487 Final December 14, 2004

What problem(s), if any, is there with the following schedule? The letter is the operation read/write, the left number is the transaction number, and the right number is the sequence number. S: r 1 , 1 : (X); w 1 , 2 : (X); r 1 , 3 : (Y); w 2 , 2 : (Y); w 1 , 4 : (X); r 2 , 1 : (X);

For the transactions from the previous question, list 3 conflict serializable schedules, or state why it is not possible to create three.

Explain which is more important the dependency preservation property or the lossless join property.

Explain which is more generic functional dependencies or multivalued dependencies?