#database #development #mysql #reading-list

🔗 Demystifying Database Transactions
dineshgowda.com

The most compelling feature of relational database systems is ACID (Atomicity Consistency Isolation Durability). Isolation is achieved using transactions. Isolation is needed to avoid race conditions when concurrent actors act upon the same row.

SQL standard defines isolation with different levels. Every isolation level offers certain guarantees and possible anomalies that can occur. Understanding the internals of isolation levels and their anomalies helps us identify the right level for the use case and work with the anomalies.

This post will look at the isolation levels and their anomalies. We will also look at how Postgres implements isolation levels.

continue reading on dineshgowda.com

⚠️ This post links to an external website. ⚠️