mysql

  • A generated column that removed a JSON scan

    A key inside a JSON column filtered on four hundred thousand times a day, promoted without changing any application code. The optimiser matching a functional expression to a…

  • Two years of query logs, read once

    A slow query log rotating for two years and never aggregated, and performance work driven by whoever complained loudest.

  • The endpoint that was slow for one customer

    A healthy p95 and one customer for whom the endpoint takes four seconds. An aggregate metric that averages away the only case that matters.

  • A covering index that made a report disappear from the log

    A query that had been the top entry in the slow log for two years, removed from it by one index. The column order is the design —…

  • An index added for a query that was deleted a month later

    An index created for a reporting query, and the report replaced by a projection four weeks afterwards. An index nobody reads costs write throughput and buffer pool on…

  • An autoloaded option that grew back

    A 400 KB autoloaded option fixed in 2023, and a different plugin doing the same thing in 2025. The same shape as 2023 with a different plugin, which…

  • 6.8, and the passwords that were rehashed

    WordPress changes its password hashing in April, and a migration that completes only as fast as users come back.

  • A CHECK constraint that caught a bad import

    A constraint added for documentation, which then rejected eleven thousand rows from a supplier feed. The constraint caught the absurd case and not the plausible one, which is…

  • An index that helped one customer and cost everybody

    An index added for a customer whose data shape is an outlier, and the write cost it imposed on every insert. The arithmetic favours the index and it…

  • A replica promoted during a drill, on purpose

    A failover procedure written in 2023 and executed for the first time on a Saturday in January. A runbook that has never been executed is a hypothesis, and…