Part 1
Written summary
- Chapter 1: The Landmine Metaphor...--The first time I watched someone delete a production database, I was eating a bagel.It was 2:14 AM on a Sunday, and the bagel was stale—a casualty of the vending machine in the basement of a windowless…
- She was also the smartest person in the room."Do you want me to run the diagnostic query?"
- Twelve terabytes of customer data.
Read along — the full text
Chapter 1: The Landmine Metaphor...--The first time I watched someone delete a production database, I was eating a bagel.It was 2:14 AM on a Sunday, and the bagel was stale—a casualty of the vending machine in the basement of a windowless data center outside Atlanta. The engineer sitting next to me, a senior database administrator named Sarah (not her real name, but she deserves the dignity of anonymity), had been awake for thirty-seven hours. A memory leak in the payment processing system had triggered a cascading failure that nobody fully understood, and we were on hour fourteen of the incident response. Sarah was the fourth person to take over the keyboard.
She was also the smartest person in the room."Do you want me to run the diagnostic query?" I asked, because I could see her hands shaking from caffeine and exhaustion."No," she said. "I need to see the replication lag directly. Just give me a second."She typed. The terminal echoed her command back at her. I wasn't watching closely—I was looking at my phone, scrolling through a Slack channel full of people asking for updates I didn't know how to give. When I looked back at the screen, Sarah's hands were frozen above the keyboard. Her face had gone pale in the blue glow of the monitor."What?" I said.She didn't answer. She just pointed at the screen.DROP DATABASE customers;The command had executed successfully.
Twelve terabytes of customer data. Fourteen million records spanning seventeen years of business. Forty-seven microservices that depended on that database began screaming almost immediately, their logs filling with connection refused errors. The payment system went dark. The customer portal went dark. The internal reporting dashboard that the CEO looked at every morning at 6 AM would be dark too, in about four hours.The backup? There was a backup. Of course there was a backup. But the last successful restoration test had been performed eleven months earlier, and nobody had documented the procedure because "the person who set it up left the company."