MongoDB创建索引(不锁库方法)

db.collection.createIndex( { a: 1 }, { background: true } )
https://docs.mongodb.org/manual/tutorial/build-indexes-in-the-background/
posted @ 2016-03-11 14:19  iDEAAM  阅读(1469)  评论(0编辑  收藏  举报