# CAP Theorem

say it: **“KAP THEER-um”** **/ˈkæp ˈθɪrəm/**

During a network split, a distributed database must pick consistency or availability.

## What is **CAP Theorem**?

The **CAP theorem** says that when the network between database machines breaks, a distributed database must choose between consistency (everyone sees the same data) and availability (everyone gets an answer).

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

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/cap-theorem
