

InterviewSolution
Saved Bookmarks
1. |
To terminate an ongoing index build, use the __________ method in the mongo shell.(a) db.currentOp()(b) db.killOp()(c) db.removeOp()(d) all of the mentionedThis question was posed to me in final exam.My doubt is from Index Management in section Index/Indexing Concepts of MongoDB |
Answer» CORRECT choice is (b) db.killOp() The explanation is: For INDEX builds, the EFFECTS of db.killOp() may not be immediate and may occur well after much of the index build operation has COMPLETED. |
|