- 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> } )
推薦閱讀
- Dreamweaver CS3 Ajax網(wǎng)頁(yè)設(shè)計(jì)入門與實(shí)例詳解
- AWS:Security Best Practices on AWS
- 21天學(xué)通Visual C++
- Hybrid Cloud for Architects
- 精通數(shù)據(jù)科學(xué)算法
- 計(jì)算機(jī)網(wǎng)絡(luò)原理與技術(shù)
- 大數(shù)據(jù)時(shí)代
- 變頻器、軟啟動(dòng)器及PLC實(shí)用技術(shù)260問
- Learn CloudFormation
- 統(tǒng)計(jì)挖掘與機(jī)器學(xué)習(xí):大數(shù)據(jù)預(yù)測(cè)建模和分析技術(shù)(原書第3版)
- Flink原理與實(shí)踐
- Web璀璨:Silverlight應(yīng)用技術(shù)完全指南
- 納米集成電路制造工藝(第2版)
- Outlook時(shí)間管理秘笈
- ASP.NET 4.0 MVC敏捷開發(fā)給力起飛