1.kafka启动命令nohup bin/kafka-server-start.sh config/server.properties &2.创建topicbin/kafka-topics.sh --create --zookeeper 10.0.178.210:2181 --replication...
分类:
其他好文 时间:
2015-11-27 19:18:22
阅读次数:
123
ACID、Data Replication、CAP与BASE http://www.cnblogs.com/hustcat/archive/2010/09/07/1820970.htmlACID在传数据库系统中,事务具有ACID 4个属性(Jim Gray在《事务处理:概念与技术》中对事务进行...
分类:
其他好文 时间:
2015-11-21 22:46:55
阅读次数:
228
事务复制的原理是复制publisher的事务日志,通过distributor,传送到subscriber,在subscirber端重做事务日志,要求事务日志是连续和完整的。distributor有两个Agent:一个是LogReaderAgent,一个是DistributionAgent。LogRe...
分类:
其他好文 时间:
2015-11-18 23:05:23
阅读次数:
426
mysql热备1 查看mysql版本,保证主库低于等于从库2 主库配置: A 需要打开支持日志功能:log-bin=mysql-bin B 提供server-id:server-id=1 C 重启mysql,进入后,分配复制从库的帐号GRANT REPLICATION SLAVE ON *.* TO...
分类:
数据库 时间:
2015-11-15 23:07:58
阅读次数:
139
replicattion set 就是多台服务器维护相同的数据副本,提高服务器的可用性.Replication set 设置全过程0:创建目录mkdir -p /data/r0 /data/r1 /data/r21:启动3个实例,且声明实例属于某复制集./bin/mongod --port 2701...
分类:
数据库 时间:
2015-11-10 22:40:46
阅读次数:
332
mariadb介绍Mariadb是mysql的一个分支版,mariadb最大的特点就是用来代替myisam的aria引擎和多主复制功能等等。在本文档中我们主要是介绍多主复制。多主复制(multi-master)功能介绍多主复制就是将多个master通过replication同步到单个slave上。如下所示:主库可以是mysql也可..
分类:
数据库 时间:
2015-11-05 00:56:34
阅读次数:
285
[1 1 1 2 2 2 3 3 3]http://stackoverflow.com/questions/1947889/element-wise-array-replication-in-matlabhttp://stackoverflow.com/questions/4918763/popul...
分类:
其他好文 时间:
2015-11-04 19:15:50
阅读次数:
113
Scenario Master – Master replication MasterA is a client facing server MasterB is a warm standby server (read only) MasterB restarted abruptly and when instances were braught back up MasterA (it’...
分类:
其他好文 时间:
2015-11-04 15:00:34
阅读次数:
187
Replication方案可以分为Snapshot Replication, Transactional Replication, Peer-2-Peer Replication, Merge Replication。Snapshot Replication:一般用于对于数据库的一次性的完全复制。T...
分类:
数据库 时间:
2015-10-25 20:43:08
阅读次数:
209
2015-10-24目录参考资料[1]唐汉明.深入浅出MySQL 数据库开发、优化与管理维护(第2版)[M].北京:人民邮电出版社,2014[2]Schwartz.高性能MySQL(第3版)[M].北京:电子工业出版社,2013[3]Chapter 17 Replication[4]第6章:MySQ...
分类:
数据库 时间:
2015-10-25 00:53:03
阅读次数:
237