DBAtlas · Database operations atlas

Kill an operation

MongoDBMaintenance

Command

db.killOp(12345)

What it does

Terminates the running operation with the specified opid.

When to use it

When a query locks up the system or runs far too long.

Caution

Killing a write operation can leave partial changes; avoid killing system/replication operations.

Open in DBAtlas →

Related