
All About Database ACID
The Backend Engineering Show with Hussein Nasser
00:00
How to Roll Back From Power Failure in Postgres
In case of a, here's what happened. If you fail while in the memory, power outage, tough luck with nothing written to this so this is consistent. The other data is used something called the wall, WAL or write ahead logs. We say, oh, this wall is bad. Get it? This wall isBad. And then essentially, we just discard that wall. I believe the databases will implement it differently. Alaykum Hussein and Dezon Kafu: How does transaction roll back from Power Failure? These are the kind of questions we want on the topic that we'll discussion so that we can enforce the content, guys.
Transcript
Play full episode