Skip to Content
Getting Started with CockroachDB
book

Getting Started with CockroachDB

by Kishen Das Kondabagilu Rajanna
March 2022
Intermediate to advanced
246 pages
4h 36m
English
Packt Publishing
Content preview from Getting Started with CockroachDB

Chapter 3: Atomicity, Consistency, Isolation, and Durability (ACID)

In the Chapter 2, How Does CockroachDB Work Internally, we learned about the different layers of CockroachDB. In this chapter, we will learn about what ACID is, its importance, and what the ACID guarantees that CockroachDB provides are.

ACID guarantees the following things:

  • Atomicity: This is achieved through the notion of a transaction, in which all the statements within a transaction are executed as a single unit. So, either all of them succeed or fail together.
  • Consistency: The database state should be consistent before and after a transaction is executed and should ensure that the database constraints are never violated.
  • Isolation: Multiple transactions can get executed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Getting Started with Mule Cloud Connect

Getting Started with Mule Cloud Connect

Ryan Carter
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9781800560659Supplemental Content