Explanation:This operation drops all indexes, including the _id index, and then rebuilds all indexes. 4. 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 mentioned
Answer:A
Explanation:This operation drops all indexes, including the _id index, and then rebuilds all indexes. 4. 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 mentioned
Explanation: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. 5. Point out the correct statement :