Chapter 18: Problem 23
Prove that the wait-die and wound-wait protocols avoid deadlock and starvation.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 18: Problem 23
Prove that the wait-die and wound-wait protocols avoid deadlock and starvation.
These are the key concepts you need to understand to accurately answer the question.
All the tools & learning materials you need for study success - in one app.
Get started for free
Prove that the basic two-phase locking protocol guarantees conflict serializability of schedules. (Hint: Show that, if a serializability graph for a schedule has a cycle, then at least one of the transactions participating in the schedule does not obey the two-phase locking protocol.)
How do optimistic concurrency control techniques differ from other concurrency control techniques? Why are they also called validation or certification tech. niques? Discuss the typical phases of an optimistic concurrency control method.
Discuss the problems of deadlock and starvation, and the different approaches to dealing with these problems.
What is a certify lock? What are the advantages and disadvantages of using certify locks?
What is a phantom record? Discuss the problem that a phantom record can cause for concurrency control.
What do you think about this solution?
We value your feedback to improve our textbook solutions.