Sail E0 Webinar
Question
To terminate an ongoing index build, use the __________ method in the mongo shell.
Options:
A .  db.currentOp()
B .  db.killOp()
C .  db.removeOp()
D .  All of the mentioned
Answer: Option B


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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers