# Atomicity

*noun*

say it: **“at-uh-MIS-ih-tee”** **/ˌætəˈmɪsɪti/**

The guarantee that a group of database changes happens completely or not at all, never halfway.

## What is **Atomicity** in a relational database?

**Atomicity** — The property that all work in a transaction succeeds together or none of it takes effect.

## In a sentence

- “**Atomicity** means the order is saved and the stock lowered, or neither.”
- “In MongoDB, a write to one document has **atomicity**, even when it changes several fields.”

Level: Journeyman · [More Database terms at this level](https://www.ask-codey.com/glossary?category=database&level=3)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/atomicity
