What is the difference between explicit and implicit locking in a database?

What is the difference between explicit and implicit locking in a database?

+3
source share
3 answers

Implicit locks are usually placed in the DBMS automatically. Most DBMSs allow a developer or application to issue locks called explicit locks.

+2
source

Implicit Lock

Objectivity / DB will implicitly receive appropriate locks for your application at the moment when they are needed. An operation that reads an object will receive a read lock; an operation that modifies an object will receive a write lock.

Explicit lock

, . Objectivity/DB concurrency, .

. , , .

, , . , , . , , . , , .

+2
  • : - .
  • : - ,
0

Source: https://habr.com/ru/post/1763871/


All Articles