当前位置:数据库 > DB2 >>

Mongodb Sharding Commands


Mongodb Sharding Commands
 
Java代码  www.zzzyk.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();  
Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,