Please indicate the source of the original reprint: http://agilestyle.iteye.com/blog/2369740
Table-level locks: low overhead and fast locking; no deadlock; large locking granularity, the highest probability of lock conflicts and the lowest concurrency.
Row-level locks: high overhead, slow locking; deadlocks; the smallest locking granularity, the lowest probability of lock conflicts, and the highest concurrency.
Page locks: Overhead and locking time are between table locks and row locks; deadlocks can occur; locking granularity is between table locks and row locks, and the degree of concurrency is average.