作者:容易 2013-08-19 14:45:19
创建索引
db.tScptradeEvent.ensureIndex({"eventRefNo":1,"syscode":1},{"name":"eventRefNo_syscode","background":true});
db.tScptradeEvent.ensureIndex({"custId":1,"requesttime":-1},{"name":"custId_requesttime","background":true});
db.tScptradeEvent.ensureIndex({"cardNo":1,"requesttime":-1},{"name":"cardNo _requesttime","background":true});
db.tScptradeEvent.ensureIndex({"pnrDevId":1,"requesttime":-1},{"name":"pnrDevId _requesttime","background":true});
db.tScptradeEvent.ensureIndex({"cardBin":1,"requesttime":-1},{"name":"cardBin _requesttime","background":true});
db.tScptradeEvent.ensureIndex({"txDate":1},{"name":"txDate","background":true});
One Response