Databases

From Bitnami MediaWiki
Revision as of 22:12, 17 February 2021 by User (talk | contribs) (Created page with "===Background and Invention=== ;What The Fuck is a Transaction? A '''database transaction''' is a unit of work done within a DBMS against a database, and treated independentl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Background and Invention

What The Fuck is a Transaction?

A database transaction is a unit of work done within a DBMS against a database, and treated independently from other transactions. They serve two purposes:

Generally, any change in a database.


CAP Theorem

Only two of the following three can be guaranteed for a distributed data store

  1. Consistency: Every read receives the most recent write, or an error
  2. Availability: Every request receives a (non-error) response, without the guarantee it contains the most recent write
  3. Partition tolerance: The system continues to operate despite an arbitrary number of messages being dropped by the network between nodes
ACID
  • Atomicity: