3.2.9

Atomicity, Consistency, Isolation & Durability

Test yourself on Atomicity, Consistency, Isolation & Durability

Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Atomicity, Consistency, Isolation and Durability (ACID)

ACID ensures all transactions complete successfully, or if they fail, the data is left as it was before.

Atomicity

Atomicity

  • Atomicity is the classification of transactions as a single task that either passes or fails.
Consistency

Consistency

  • Consistency ensures that the data being committed as part of the transaction complies both with validation rules and referential integrity.
  • This means a record cannot be added or updated if it uses a value in a foreign key field that doesn’t exist in the linked table.
Isolation

Isolation

  • The isolation part of the principals ensures that the data is locked whilst a transaction is processing.
  • The data in the database should look the same as if all transactions happened sequentially instead of concurrently.
Durability

Durability

  • Durability ensures that once a transaction is completed, it is committed to the database and will stay in the database for good.
  • When booking your cinema tickets, the DBMS will make use of a buffer and record locks to store the individual parts of a transaction until it is all completed.
  • At this point, the transaction is committed to the database permanently.
Jump to other topics
1

Components of a Computer

2

Software & Software Development

3

Exchanging Data

4

Data Types, Data Structures & Algorithms

5

Legal, Moral, Cultural & Ethical Issues

6

Elements of Computational Thinking

6.1

Thinking Abstractly

6.2

Thinking Ahead

6.3

Thinking Procedurally

6.4

Thinking Logically

6.5

Thinking Concurrently

7

Problem Solving & Programming

8

Algorithms

Practice questions on Atomicity, Consistency, Isolation & Durability

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
Answer all questions on Atomicity, Consistency, Isolation & Durability

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium