Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

Index Management Tutorials

Instructions for managing indexes and assessing index performance and use.

Remove Indexes
Drop an index from a collection.
Modify an Index
Modify an existing index.
Rebuild Indexes
In a single operation, drop all indexes on a collection and then rebuild them.
Manage In-Progress Index Creation
Check the status of indexing progress, or terminate an ongoing index build.
Return a List of All Indexes
Obtain a list of all indexes on a collection or of all indexes on all collections in a database.
Measure Index Use
Study query operations and observe index use for your database.