Dropping foreign keys in MySQL requires care. Many developers assume dropping the constraint drops the underlying index automatically, or that the alter operation is safe on large tables.…
In MySQL 8, RENAME COLUMN is theoretically an instantaneous metadata-only operation with ALGORITHM=INPLACE. In practice, running it against a table handling four hundred writes a second during business…
A status removed from an enum, and eleven thousand rows still holding its value. Removing an enum case is a schema change disguised as a code change, and…
A partition where every remaining row was past its retention, eight months after the classification work. The partition scheme from 2023 aligns with the retention classes only at…
A reporting schema shaped for the questions, populated by a full rebuild, which removes every synchronisation bug. Denormalisation is safe here because the table is truncated and rebuilt…
Six weeks of writing two columns, and a check that they agree. The nightly agreement check is what makes a dual-write window safe, and it caught exactly the…