Hello,
On MongoDB, do we need to do any periodically indexes maintenance such as rebuild like we need to do in SQL Server or Oracle?
Hi @ronascentes,
Apologies for late reply!!
There isn’t a periodical index maintenance process in MongoDB. However, managing indexes with time becomes necessary for smoothly querying the database.
Please check the following links for more details:
- https://stackoverflow.com/questions/30345218/why-and-when-is-necessary-to-rebuild-indexes-in-mongodb
- https://dzone.com/articles/using-mongodb-indexstats-to-identify-and-remove-unused-indexes
Meanwhile let me check more resources to help you with your question.
Please let me know, if you have any questions.
Thanks,
Sonali