Chinaunix首页 | 论坛 | 博客
  • 博客访问: 257996
  • 博文数量: 78
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 852
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-06 11:01
个人简介

不做第二个别人,永远做第一个自己。

文章分类

全部博文(78)

文章存档

2014年(60)

2013年(18)

发布时间: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在主.........【阅读全文】

阅读(763) | 评论(0) | 转发(0)

发布时间:2014-04-10 11:21:34

3台物理服务器(openstack-instances)主机ip端口信息mongo110.0.1.3mongod shard11:27017mongod config:20000mongos1:30000.........【阅读全文】

阅读(786) | 评论(0) | 转发(0)

发布时间: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......【阅读全文】

阅读(769) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(892) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册