When filtering by an equality condition on one column and a range condition on another, the order of columns in a composite index is the difference between an…
Before dropping what appeared to be an unused composite index on our transactions table, we followed the rule of making the index invisible first in our staging database.…
Indexes on production tables serving queries that no user request ever makes. An index that serves only reporting is paying a write cost on every insert to make…
Eleven indexes removed from production tables, and the write path measured before and after. The median saving is trivial and the tail is not, which is the usual…
Eleven reporting indexes dropped from production tables, measured on the write path. The median saving is trivial and the tail is not, which is the usual shape of…
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…