DBMS & SQL · Pro · Topic 1 of 5
Transactions & ACID
5 questions.
Your progress0%
- 1st Visit
- 0/5
- 2nd Visit
- 0/5
- Revise
- 0/5
Overview
A transaction is a group of database operations that must be treated as one unit, such as the debit and the credit of a bank transfer. The ACID properties (atomicity, consistency, isolation and durability) describe what the DBMS guarantees for every transaction. This topic also covers the life cycle of a transaction, schedules (the order in which the operations of concurrent transactions are interleaved), serializability, recoverable schedules and crash recovery with logs. Interviewers often give you a short schedule and ask whether it is conflict serializable or recoverable, so practise drawing precedence graphs and spotting reads of uncommitted data.