Skip to content
Ameen Abozaid
Planned lessonJNR-031-L01

ACID by example

  • Lesson 1 of 8
  • Junior
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

explain A, C, I, and D with a failure story each.

Planned topics

  • Atomicity: all steps or none. Money leaves account A but a crash stops before B is credited: rollback undoes the debit.
  • Consistency: rules stay true (stock never below zero, foreign keys valid).
  • Isolation: concurrent transactions do not see each other's half-done work (levels come in later modules).
  • Durability: once committed, data survives a crash.
  • A transaction is one unit of work that begins, then commits or rolls back.
Draft outline details

Demonstration

a table: letter / promise / failure it prevents.

Check your understanding

Which letter protects a half-finished transfer?

Show answer

Atomicity.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.