Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

SQL: Online transaction processing, ACID

NoSQL: Online analytic processing, CAP


TRANSACTION, HIGH AVAIL/RESILIENT, FAULT TOLERANCE, RELIABILITY (Trx should be
successful)

Atomicity: Either all or none, i.e. either commit or rollback.


Consistency: Before the txn starts and after it finishes, the sum of money should be the
same. E.g. an amount is transferred from acct A to B.
Isolation: Convert a parallel schedule to a serial schedule conceptually.
Durability: All the changes done in the DB should be permanent.

You might also like