Databases
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
- Consistency: Every read receives the most recent write, or an error
- Availability: Every request receives a (non-error) response, without the guarantee it contains the most recent write
- Partition tolerance: The system continues to operate despite an arbitrary number of messages being dropped by the network between nodes
- ACID
- Atomicity: