
Partial Indexes: What They Let You Avoid Indexing
A partial index is valuable because of the rows it leaves out. The useful question is not whether it is faster, but what it stops the database from maintaining.
· 4 min
tag
Articles tagged “indexing” on SQLPress — 5 in total.
5 articles

A partial index is valuable because of the rows it leaves out. The useful question is not whether it is faster, but what it stops the database from maintaining.
· 4 min

Two ways to make an index answer a query without touching the table. They differ in ordering, index size, and what the engine can seek on.
· 3 min

Column order decides which queries a composite index can serve. The rule follows from the structure, and so do the cases where it does not hold.
· 3 min

InnoDB stores the table inside its primary key. Almost every MySQL indexing consequence, good and bad, follows from that single decision.
· 3 min

An index the planner ignores is usually a row-estimate problem. The fix starts with what the optimizer expected, not with the index definition.
· 3 min