发布于 2015-09-14 14:56:57 | 231 次阅读 | 评论: 0 | 来源: 网络整理
The enableSharding command enables sharding on a per-database level. Use the following command form:
{ enableSharding: "<database name>" }
Once you’ve enabled sharding in a database, you can use the shardCollection command to begin the process of distributing data among the shards.