Google News
logo
MongoDB - Quiz(MCQ)
To terminate an ongoing index build, use the __________ method in the mongo shell.
A)
db.killOp()
B)
db.currentOp()
C)
db.removeOp()
D)
All of the above

Correct Answer :   db.killOp()


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.

Advertisement