- Mastering MongoDB 3.x
- Alex Giamas
- 62字
- 2021-08-20 10:10:55
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> } )
推薦閱讀
- Hands-On Internet of Things with MQTT
- ABB工業(yè)機(jī)器人編程全集
- Dreamweaver CS3網(wǎng)頁制作融會貫通
- 大數(shù)據(jù)改變世界
- 大數(shù)據(jù)技術(shù)入門(第2版)
- 機(jī)器人編程實(shí)戰(zhàn)
- 大數(shù)據(jù)時代
- 項目管理成功利器Project 2007全程解析
- Hands-On Data Warehousing with Azure Data Factory
- 嵌入式GUI開發(fā)設(shè)計
- Dreamweaver+Photoshop+Flash+Fireworks網(wǎng)站建設(shè)與網(wǎng)頁設(shè)計完全實(shí)用
- 智慧未來
- 計算機(jī)應(yīng)用基礎(chǔ)實(shí)訓(xùn)·職業(yè)模塊
- 從機(jī)器學(xué)習(xí)到無人駕駛
- 歐姆龍PLC應(yīng)用系統(tǒng)設(shè)計實(shí)例精解