原文:http://www.percona.com/blog/2012/01/11/making-the-impossible-3-nodes-intercontinental-replication/ In this post I want to show new possibilities which open with Percona XtraDB Cluster.We will create 3 nodes Cluster with nodes on different continen…
It seems my pgpool-II does not do load balancing. Why? First of all, pgpool-II' load balancing is "session base", not "statement base". That means, DB node selection for load balancing is decided at the beginning of session. So all SQL…
Redis: redis批量删除 redis数据备份和恢复 redis安全 redis性能测试 Redis 客户端连接 redis管道技术 redis分区 java操作redis redis批量删除 redis的del因为不支持模糊删除,因此一般只能一个一个删除 批量删除使用Linux中的管道和xargs参数: >redis-cli -h 192.168.68.187 -p 6379 -n 0 keys "myTest*" | xargs redis-cli -h 192.168…
Action这一部分主要是数据(索引)的操作和部分集群信息操作. 所有的请求通过client转发到对应的action上然后再由对应的TransportAction来执行相关请求.如果请求能在本机上执行则在本机上执行,否则使用Transport进行转发到对应的节点.action support部分是对action的抽象,所有的具体action都继承了support action中的某个类.这里将对这些抽象类进行分析. 这一部分总共分为broadcast(广播),master,nodes,repli…
/*------------------------------------------------------------------------------+ #| = : = : = : = : = : = : = : = : = : = : = : = : = : = : = : = : = : = : = : | #|{>/------------------------------------------------------------------------\<}| #|:…
今天碰到的问题跟这个一模一样,特地转过来记录一下 https://support.datastax.com/hc/en-us/articles/204893189-CQL-query-results-in-Unable-to-complete-request-one-or-more-nodes-were-unavailable- CQL query results in "Unable to complete request: one or more nodes were unavailable…
安装[root@msr01 ~]# yum install mysql-serverInstalled:mysql-server.x86_64 0:5.1.73-3.el6_5 Dependency Installed:mysql.x86_64 0:5.1.73-3.el6_5perl-DBD-MySQL.x86_64 0:4.013-3.el6perl-DBI.x86_64 0:1.609-4.el6 启动并修改密码[root@msr01 ~]# service mysqld start Pl…
在source那边,执行: flush logs;show master status; 记下File, Position. 在target端,执行: CHANGE MASTER TO MASTER_LOG_FILE='testdbbinlog.000008',MASTER_LOG_POS=107;slave start;show slave status \G 一切正常. 参考:https://blog.csdn.net/edwzhang/article/details/17226975---…
本文来自david大神的博客,innodb技术内幕的作者. http://insidemysql.blog.163.com/blog/static/202834042201385190333/ MySQL数据库的成功离不开其replicaiton,相对于Oracle DG和Microsoft SQL Server Log Shipping来说,其简单易上手,基本上1,2分钟内根据手册就能完成环境的搭建.然而,随着使用的深入,replication自身的问题会慢慢显露,其中非crash safe的…
转载自 http://shift-alt-ctrl.iteye.com/blog/2285470 一.Redis Cluster主要特性和设计     集群目标 1)高性能和线性扩展,最大可以支撑到1000个节点:Cluster架构中无Proxy层,Master与slave之间使用异步replication,且不存在操作的merge.(即操作不能跨多个nodes,不存在merge层) 2)一定程度上保证writes的安全性,需要客户端容忍一定程度的数据丢失:集群将会尽可能(best-effort…