Transactions & ConcurrencyACID, MVCC and isolation levels: what a transaction guarantees and what it costs.