MCQs>IT & Programming>MongoDB>You need to add an index to the large name collection in your production database. You do not want to have disruption of service for your users and you can't afford to have a team to do the work during after hours. What should you do?
MongoDB MCQs
You need to add an index to the large name collection in your production database. You do not want to have disruption of service for your users and you can't afford to have a team to do the work during after hours. What should you do?
Answer
Correct Answer: Use the createIndex() command with the option background = true.
Explanation:
Note: This Question is unanswered, help us to find answer for this one