Section

17 pages

Database Operations

Running MySQL and PostgreSQL in production: backups, disaster recovery, disk and replica incidents, and the checks that catch them.

A 10 Gb Database Filled a 200 Gb Disk and Du Could Not Find the Space 0 A Billion Row Versions From One Uncommitted Read Stalled a Mysql Replica 0 A Query on a 3 Billion Row Table Took 100 Minutes: One Added Line Made It 40ms 0 Before the Bad Write 0 Death by a Thousand Cuts: The Ai Database Failure You Can't Restore 0 It's Almost Always the Queries, Part I: Why Metal Doesn't Help 0 It's Almost Always the Queries, Part Ii: Troubleshooting Steps 0 It's Almost Always the Queries, Part Iii: When the Cpu Is Pegged 0 Mysql Replication, Part 2: What Actually Puts a Replica Behind 0 Patching at Scale, Part 2: Why a Routine Update Is Hard to Apply 0 Self Healing Databases With a Health Check and a Watch Script 0 Separating Storage From Compute on Ec2, Part 1: Move the Volume, Not the Data 0 Separating Storage From Compute on Ec2, Part 2: Dr Snapshots and Log Shipping 0 Separating Storage From Compute on Ec2, Part 3: Terraform and Warm Dr Volumes 0 Separating Storage From Compute on Ec2, Part 4: Database Dr Restore 0 Testing Your Database, Part 1: Why Ai Made It Mandatory 0 Testing Your Database, Part 2: What to Test, and How 0