mongo指令
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()