官术网_书友最值得收藏!

currentOp/killOp

db.currentOp() will show us the current running operation in the database and will attempt to kill it. We need to run the use admin command before running killOp(). Needless to say, using killOp() against internal MongoDB operations is not recommended or advised as the database may end up in an undefined state:

> db.runCommand( { "killOp": 1, "op": <operationId> } )
主站蜘蛛池模板: 黔江区| 新安县| 呼和浩特市| 莒南县| 彭山县| 剑川县| 原阳县| 固镇县| 芜湖县| 清水县| 吉隆县| 普兰店市| 天台县| 扎鲁特旗| 巴中市| 抚远县| 黄山市| 登封市| 汝城县| 湾仔区| 襄樊市| 绥德县| 贵阳市| 焉耆| 孟州市| 辽中县| 彭泽县| 阿拉善盟| 芦山县| 昔阳县| 慈利县| 吉安市| 县级市| 连山| 万载县| 忻城县| 堆龙德庆县| 广水市| 辽阳县| 宿松县| 陈巴尔虎旗|