The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 2 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Exercise 17.1 Answer the following questions:
Â
1.    Describe how a typical lock manager is implemented. Why must lock and unlock be atomic operations? What is the difference between a lock and a latch? What are  convoys and how should a lock manager handle them?
2.     Compare lock downgrades with upgrades. Explain why downgrades violate 2PL but are nonetheless acceptable. Discuss the use of update locks in conjunction with lock downgrades.
3.     Contrast the timestamps assigned  to  restarted  transactions  when  tinwstanlps  are  used for deadlock prevention versus when timestamps are used for concurrency control.
4.     State and justify the Thomas Write Rule.
5.     Show that, if two schedules are conflict equivalent, then they are view equivalent.
7.     Give an example of a strict schedule that is not serialiable.
8. Â
 and describe the use of locks for improved conflict resolution in  Optinlistic Concurrency Control.
Â
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll