Outline of databases

Ever wonder how your online bank keeps your money safe during transactions?

Image: Public domain, via Wikimedia Commons

Outline of databases

Ever wonder how your online bank keeps your money safe during transactions?

Imagine you're transferring money from your savings to your checking account. You want to make sure the money moves from one place to another without losing any along the way.

Think of a transaction like handing over a stack of coins. You want to make sure every single coin is handed over without dropping any or getting lost. If one coin is lost, it's a problem because you can't have half a coin.

Example

You have 100 coins to transfer. If the transfer process is like handing them over one by one, you want to make sure all 100 coins move from your savings to your checking account.

Remember this

The ACID properties ensure that a transaction is treated as a single, indivisible unit that either fully succeeds or fully fails, maintaining the integrity of your data.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath