In this chapter, we will explain Indexing Limitations and its other components.
Every index will occupy some space as well as it will cause an overhead on every insert, update and delete. Therefore if you rarely use collection for read operations, then it is suggested not to use indexes.
As indexes are stored in RAM, ensure that the total size of the index is not exceeding the RAM limit. If the total size increases the RAM size, then it will start deleting some indexes, which causes performance loss.
Indexing cannot be used in queries which use
Therefore, it is always suggested to verify the index usage for your queries.
Starting from version 2.6, MongoDB will not create an index if the value of existing index field exceeds the index key limit.
MongoDB does not insert any document into an indexed collection if the indexed field value of the document exceeds the index key limit. Same is the case with mongorestore and mongoimport utilities.
MongoDB Related Interview Questions
|Python Interview Questions||C & Data Structures Interview Questions|
|Hadoop Interview Questions||Node.js Interview Questions|
|Scala Interview Questions||Socket Programming Interview Questions|
|HBase Interview Questions||Solaris Administrator Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.