Backend, Data & Security More detail C · Industry convention Platform: Web

ACID

ACID stands for atomicity, consistency, isolation, and durability. These four ideas help explain transaction safety, but exact promises depend on the database and isolation level.

See how it works
You might call it atomicity consistency isolation durabilitytransaction properties

See how it works

Original worked exampleACID

Another example

An inventory hold writes both the reservation and stock change, or neither. A rule keeps stock at zero or above. Serializable isolation stops two checkouts from both taking the last item. Recovery keeps the result after commit. Load tests still check the database's real behavior.

Main parts

  1. 01Atomicity and consistency
  2. 02Isolation
  3. 03Durability

Use it when

Use all four ideas as questions. Then write down the real constraints, isolation level, commit reply, and recovery promise.

Do not use it when

“ACID compliant” is not one complete yes-or-no promise. Database consistency also does not make every business rule correct by itself.

Name used in code

atomic commit + constraints + selected isolation level + durable commit policy

Before you ship

Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.

Request you can copy

Outcome: Design or review ACID for this system while keeping data correct, secure, and easy to operate. User context: An inventory hold writes both the reservation and stock change, or neither. A rule keeps stock at zero or above. Serializable isolation stops two checkouts from both taking the last item. Recovery keeps the result after commit. Load tests still check the database's real behavior. Technical concept or control: ACID. Why it fits: Use all four ideas as questions. Then write down the real constraints, isolation level, commit reply, and recovery promise. Do not use it when: “ACID compliant” is not one complete yes-or-no promise. Database consistency also does not make every business rule correct by itself. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary): No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.

Check this request

Review the current use of ACID. Definition: ACID stands for atomicity, consistency, isolation, and durability. These four ideas help explain transaction safety, but exact promises depend on the database and isolation level. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.

C
How official is this term?

Industry convention

People often use this term at work. The listed sources may support practice or limitations. They do not define every part of the term.

No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks.

Scope
Database transaction-property convention
Document status
stable
Checked on
2026-07-30

Evidence sources & scope

Authority source + Term reference · PostgreSQL Global Development Group · stable Transaction Isolation Scope: PostgreSQL transaction isolation and concurrency guarantees Role here: Direct term reference Source covers: canonical name, definition, platform API, implementation, usage guidance

Copy it yourself

The browser could not copy this. Select the request below and copy it yourself.