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

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> } )
主站蜘蛛池模板: 疏勒县| 商河县| 花垣县| 武强县| 朝阳市| 襄城县| 汉川市| 南木林县| 察隅县| 申扎县| 织金县| 新乡市| 林口县| 友谊县| 灵台县| 班玛县| 桐柏县| 清徐县| 陆川县| 濉溪县| 吴桥县| 弥勒县| 衡东县| 瑞安市| 雅安市| 孝昌县| 双流县| 梁山县| 峨眉山市| 雅江县| 新宁县| 阿坝县| 伊宁市| 济阳县| 红安县| 平昌县| 甘肃省| 桐城市| 宝清县| 天长市| 石屏县|