不做第二个别人,永远做第一个自己。
发布时间:2014-04-10 11:22:01
主服务器:master 10.1.1.3从服务器:slave 10.1.1.4因为我是在VPS上安装的mongodb所以使用axel 来加速yum下载速度!添加安装mongodb yum源:# vim /etc/yum.repos.d/mongodb.repo[mongodb]name=MongoDB Repositorybaseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/gpgcheck=0enabled=1在主.........【阅读全文】
发布时间:2014-04-10 11:21:34
3台物理服务器(openstack-instances)主机ip端口信息mongo110.0.1.3mongod shard11:27017mongod config:20000mongos1:30000.........【阅读全文】
发布时间:2014-04-10 11:21:13
show collectionsThu Jan 2 16:23:50.349 error: { "$err" : "not master and slaveOk=false", "code" : 13435 } at src/mongo/shell/query.js:128shard1:SECONDARY> db.getMongo().setSlaveOk()shard1:SECONDARY> show collectionsppppsystem.indexes......【阅读全文】
发布时间:2014-04-10 11:20:47
Sharding IntroductionSharding is a method for storing data across multiple machines. MongoDB uses sharding to support deployments with very large data sets and high throughput operations.Purpose of ShardingDatabase systems with large data sets and high throughput applications can.........【阅读全文】