Question: what is 2pl in database?
Answer: In databases and transaction processing, two-phase locking (2PL) is a concurrency control method that guarantees serializability. ... The protocol utilizes locks, applied by a transaction to data, which may block (interpreted as signals to stop) other transactions from accessing the same data during the transaction's life.