1. Content
1. Lock granularity: row lock, page lock and table lock.
2. Database management: Commonly shared locks, exclusive locks, and accidental locks .
3. Programmer: Optimistic lock, pessimistic lock.
Two, reference
1. About the classification
of database locks 2. The classification and summary
of database locks 3. The classification of database locks