Section

23 pages

Database Architecture

Posts on how MySQL and PostgreSQL systems are shaped: storage, replication, partitioning, and the coupling between schema and application.

Comment Your Schema 0 Cross Database Joins: The Coupling You Can't See Until You Split 0 Designing Partitioning You Don't Have to Babysit 0 Exposing Data to an Agent: Mcp vs Api 0 Hidden Database Costs of an Ai Rollout: Storage, Cpu, Memory, and Cache 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 It's Almost Always the Queries, Part Iv: When the Sort Spills 0 It's Almost Always the Queries, Part V: Disk Has Two Alarms, Not One 0 Orms Are a Coupling, Not an Abstraction 0 Pgvector vs a Dedicated Vector Database: Memory, Filters, and Index Builds 0 Polymorphic References Are Not Foreign Keys 0 Postgresql Mvcc Explained: Dead Tuples, Vacuum and Idle Transactions 0 Reading the Schema Is Not Reading the Data 0 Scale the Pattern, Not the Instance 0 Schema Conventions Don't Survive Without Automation 0 Separating Storage From Compute on Ec2, Part 1: Move the Volume, Not the Data 0 Talk Is Cheap: Why Nobody Argued With Your Migration Plan 0 Text and Json Columns: Where the Schema Goes to Hide 0 The Bare `Id` Primary Key: When Every Table Joins to Every Other Table 0 Uniqueness and Selectivity: The Two Numbers That Drive Query Plans 0 Where Business Logic Lives Database vs. Application 0