System Design Patterns: From Fundamentals to Real Systems
0% completed
Write-Ahead Log
1. The Incident
Tuesday, 3:07 AM: a power failure shuts down the rack holding shard 2. The machine reboots ninety seconds later. Now one of two bad outcomes follows.
Outcome A: the database refuses to start, and it reports "Data files corrupted." To see how this happens, follow one UPDATE that changes an order's status. It looks like one operation, but it is not one disk operation. An index is a sorted copy of part of a table, which helps the database find rows quickly. The database stores the table row in one place on disk and each index in its own place
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%