Home >>MongoDB Tutorial >MongoDB Indexing Limitations
Each index occupies some space and causes every insert, update and delete to have an overhead. But it makes sense to not use indexes if you rarely use your collection for learning operations.
Since indexes are stored in RAM, you should ensure that the index's total size does not reach the RAM limit. If the total size increases the RAM size, some indexes will start deleting, causing loss of performance.
In queries that use − do not use indexing
Therefore, checking the index use for your queries is always advisable.
Starting with version 2.6, when the value of the current index field reaches the index key limit, MongoDB will not create an index.
When the indexed field value of this document reaches the index key limit, MongoDB will not insert any document into the indexed collection. With mongorestore and mongoimport utilities, the same is the case.