Question: Consider a database organized in the form of a rooted
Consider a database organized in the form of a rooted tree. Suppose that we insert a dummy vertex between each pair of vertices. Show that, if we follow the tree protocol on the new tree, we get better concurrency than if we follow the tree protocol on the original tree
Relevant QuestionsShow by example that there are schedules possible under the tree protocol that is not possible under the two-phase locking protocol, and vice versa.Locking is not done explicitly in persistent programming languages. Rather, objects (or the corresponding pages) must be locked when the objects are accessed. Most modern operating systems allow the user to set access ...Show that there are schedules that are possible under the two-phase locking protocol, but are not possible under the timestamp protocol, and vice versa.Explain the difference between the three storage types—volatile, nonvolatile, and stable—in terms of I/O cost.Explain the benefits of logical logging. Give examples of one situation where logical logging is preferable to physical logging and one situation where physical logging is preferable to logical logging.
Post your question