1.

When the TTL thread is active, you will see _______ operations in the output of db.currentOp().(a) read(b) update(c) delete(d) all of the mentionedThis question was addressed to me in an online interview.I need to ask this question from MongoDB Maintenance topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB

Answer»

Correct choice is (C) delete

The best I can explain: When you BUILD a TTL index in the background, the TTL thread can begin deleting DOCUMENTS while the index is BUILDING.



Discussion

No Comment Found

Related InterviewSolutions