Granularity locking Explanation, How does granularity affect the performance

Granularity is the size of data items that are allowed to lock. There are three types of lock granularity Course granularity: It is used to lock tables, files, databases, and records. It reduces the transaction number and decreases the throughput to increase the response time of the transaction. But this also causes the concurrency to … Read more