Beginning a transaction is like starting an order for food. You negotiate the specifics of the order. If you cannot meet the conditions of the order, you may cancel it. Committing a transaction is like finishing the order. The transaction log is the queue that holds the orders to be filled. After a power outage, the kitchen will need to turn the grills back on and discard the half-cooked food. Then they can resume work from the queue.
|