Row lock
Lock on individual rows instead of entire table. Standard for UPDATE/DELETE in modern DBs. Enables high concurrency: 100 sessions can UPDATE different rows simultaneously.
Explicit: SELECT ... FOR UPDATE takes exclusive row lock, SELECT ... FOR SHARE takes shared. PostgreSQL: row locks stored in tuple header + heavyweight lock table at contention. MySQL InnoDB: row locks via index — UPDATE without index on WHERE condition = full table lock. Lock escalation: some DBs escalate row locks to table lock at many locks (SQL Server). PostgreSQL doesn't do this. SKIP LOCKED clause: queue pattern in SQL (classic PostgreSQL job queue pattern).