Hidden indexes and safe index removal

Published reference · snapshot 2026-10-20 · skill mongodb-expert/references/hidden-indexes-and-safe-index-removal.md

Also known as: Hidden indexes as a drop trial, Hide-before-drop index workflow, Index pruning with hideIndex, Safe index-drop workflow with $indexStats, collMod index.hidden option

↓ Facts as markdownall context files

Source-anchored research for Hidden indexes and safe index removal. 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

Structure and components

How it works

Problems, failure modes and limitations

Comparisons and alternatives

Facts and statements

Children

Frontier under this node: $indexStats usage statistics and their reset conditions, Atlas Performance Advisor drop-index recommendations (unused, redundant, hidden), Index filters and query settings versus hidden indexes, Index rebuild cost after a wrong drop, Index usage measurement with $indexStats, Plan cache flushes on index DDL, Plan cache invalidation on index DDL (hide, drop, create), Redundant (prefix) index detection for compound indexes, Shard key index constraints when dropping or hiding indexes, Unique and TTL index side effects on removal, dropIndexes locking and in-flight query behavior

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