
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 “schema-design” 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

Relational modeling describes the entities and lets queries follow. Document modeling inverts that, and the inversion is the whole trade.
· 4 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