Podcast
Questions and Answers
What is the primary purpose of the lock table in a database system?
What is the primary purpose of the lock table in a database system?
- To manage concurrent access to shared memory (correct)
- To store query plans and execution results
- To implement atomic instructions for mutual exclusion
- To cache frequently accessed data
In a database system, which of the following is a strategy used to avoid the overhead of interprocess communication for lock requests?
In a database system, which of the following is a strategy used to avoid the overhead of interprocess communication for lock requests?
- Caching query plans for faster execution
- Having each database process operate directly on the lock table (correct)
- Implementing deadlock detection at the lock manager process
- Using operating system semaphores
What is the purpose of caching query plans in a database system?
What is the purpose of caching query plans in a database system?
- To implement deadlock detection
- To improve the performance of frequently executed queries (correct)
- To reduce the overhead of interprocess communication
- To manage concurrent access to shared memory
What is a characteristic of Data Servers in high-speed LANs?
What is a characteristic of Data Servers in high-speed LANs?
Which of the following is a benefit of using Data Servers in high-speed LANs?
Which of the following is a benefit of using Data Servers in high-speed LANs?
What is the primary difference between page-shipping and item-shipping architectures?
What is the primary difference between page-shipping and item-shipping architectures?
What is the condition for granting a lock request in a replicated data scenario?
What is the condition for granting a lock request in a replicated data scenario?
Which type of lock request requires a lock manager at all sites containing a replica of Q?
Which type of lock request requires a lock manager at all sites containing a replica of Q?
What is the advantage of the majority protocol in handling writes in the presence of site failure?
What is the advantage of the majority protocol in handling writes in the presence of site failure?
What is the drawback of the majority protocol in terms of messages required?
What is the drawback of the majority protocol in terms of messages required?
What is the potential risk in the majority protocol even with a single item?
What is the potential risk in the majority protocol even with a single item?
How does the biased protocol handle requests for shared locks?
How does the biased protocol handle requests for shared locks?
What is the primary advantage of page-shipping over item-shipping?
What is the primary advantage of page-shipping over item-shipping?
What is the main drawback of granting locks on prefetched items in page-shipping?
What is the main drawback of granting locks on prefetched items in page-shipping?
What is the benefit of lock caching?
What is the benefit of lock caching?
When can locks on a prefetched item be returned to the server?
When can locks on a prefetched item be returned to the server?
What happens when there are lock conflicts on a page?
What happens when there are lock conflicts on a page?