use admin
db.runCommand({logRotate:1})
show dbs;
db.currentOp();
db.serverStatus().connections
db.killOp(26593769);
use adbname
db.tblname.ensureIndex({"sendtime":1})
db.tblname.getIndex()
use admin
db.runCommand({logRotate:1})
show dbs;
db.currentOp();
db.serverStatus().connections
db.killOp(26593769);
use adbname
db.tblname.ensureIndex({"sendtime":1})
db.tblname.getIndex()
转载于:https://www.cnblogs.com/ccgblog/p/8427972.html