Mongodb Sharding Commands

2014-11-24 07:50:36 ? 作者: ? 浏览: 3

Mongodb Sharding Commands
Java代码 www.2cto.com
sh.addShard('replicateSet1/host:port');
sh.enableSharding('database');
//Shard key should be index of the collection
sh.shardCollection('db.collection', 'shard key');
sh.status();
-->

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: