MongoDB Index Administration
- Index information is stored in system.indexes
- Commands: createIndex, createIndexes, dropIndex, dropIndexes
- db.collectionName.getIndexes()
> db.users.getIndexes()
[ { "v" : 2, "key" : { "_id" : 1 }, "name" : "_id_" } ]
- Key can be used for hinting