Process
- identify the real query
- run explain
- inspect current indexes
- propose the smallest index that fits the workload
Avoid
- adding duplicate indexes
- indexing every field by instinct
- ignoring compound key order
Use query behavior and explain output to identify where MongoDB indexes are missing or misaligned.