You transfer money to a friend. The money leaves your account. What happens if the system crashes before it reaches theirs?
That’s where database transactions come in. In this video, Marc and I use a simple bank transfer to explain the four ACID properties behind reliable transactions: atomicity, consistency, isolation, and durability.
We also look at what happens when transactions run at the same time in PostgreSQL and why choosing the right isolation level matters for your application. We cover that choice in more depth in Chapter 5 of our book, AI-Ready PostgreSQL 18.