SELECT FOR UPDATE
← Back to Optimistic vs Pessimistic Locking
Pessimistic locking strategy that acquires row-level locks when reading data, preventing other transactions from modifying the locked rows until the transaction completes.
← Back to Optimistic vs Pessimistic Locking
Pessimistic locking strategy that acquires row-level locks when reading data, preventing other transactions from modifying the locked rows until the transaction completes.