This version has reached end of life on October 2016. 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.