Unused index detection with $indexStats

Published reference · snapshot 2026-10-20 · skill mongodb-expert/references/unused-index-detection-with-indexstats.md

Also known as: $indexStats usage analysis, Redundant and unused index pruning with $indexStats, Redundant-prefix index detection

↓ Facts as markdownall context files

Source-anchored research for Unused index detection with $indexStats. Run status: COMPLETED.

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Definitions

How it works

Problems, failure modes and limitations

Comparisons and alternatives

Facts and statements

Children

Frontier under this node: Atlas Performance Advisor drop-index recommendations (3.33), Exporting $indexStats metrics with mongodb_exporter and PMM (3.77), Hidden indexes as a safe drop trial (4.00), Leading-prefix redundant index detection (4.17), Per-node and per-shard $indexStats aggregation across replica sets and shards (4.17), Persisting index usage metrics with PMM and mongodb_exporter (3.77), Redundant and prefix index detection (3.65), Safe index removal: locks, rollback and regression checks (4.08), Unique, TTL and shard-key indexes that read as unused (4.20), Write amplification and cache cost of unused indexes (3.95)

← the whole tree · 3D view· how to read this page