Problem
1. What is lock granularity?
2. Explain the difference between an exclusive lock and a shared lock.
3. Explain two-phase locking.
4. How does releasing all locks at the end of a transaction relate to two-phase locking?
The response should include a reference list. Double-space, using Times New Roman 12 pnt font, one-inch margins, and APA style of writing and citations.