【Cetus】Cetus-sharding版本
1.shard.conf[root@iZ2ze66bhrbxkc31nljgjnZ cetus_sharding]# more conf/shard.conf[cetus]daemon = true# Loaded Pluginsplugins=shard,admin# Proxy Configurationproxy-address=127.0.0.1:1234proxy-backend-a...
【Cetus】Cetus-读写分离版
1.废话不多说。详细使用请查看官方文档,本文主要记录的是cetus的安装心得https://github.com/Lede-Inc/cetus/blob/master/doc/cetus-rw-admin.md1.user.json需要注意的地方[root@iZ2ze66bhrbxkc31nljgjnZ cetus_rw]# more conf/users.json{ &...
【Mysql】KingShard中间件的使用与配置
kingshard mark一下http://git.oschina.net/flikecn/kingshard/blob/master/README_ZH.md?dir=0&filepath=README_ZH.md&oid=587ed1d27a89c8b2f6ff05ef9a6681189e14b1d9&sha=fd5931b9ad64295797cdc1b81f1c95c8d276cca5
【Mysql】mysql-proxy读写分离
mark 明天看http://blog.csdn.net/yueliangdao0608/article/details/2398655
Atlas的安装与配置
这两天在学习mysql的读写分离和负载均衡,尝试了主从模式和mysql cluter,最后还是选择了一主多从,然后读写分离,这比较适合读量大的网站。然后对于mysql的负载均衡器,起先尝试了一下SQL请求路由器 Amoeba,读写分离不错,但是不支持事务,因为我测试的网站是采取spring mvc+hibernate的。然后看到了360公司的MySQL中间...
【MySQL】计算 TPS,QPS 的方式
在做db基准测试的时候,qps,tps 是衡量数据库性能的关键指标。本文比较了网上的两种计算方式。先来了解一下相关概念。概念介绍:QPS:Queries Per Second 查询量/秒...
通过Amoeba连接mysql报错
通过amobe连接mysql[root@localhost ~]# mysql -uroot -pESBecs00 -h127.0.0.1 -P8066Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 572351819Server version: 5.1.45-mysql-amoeba-proxy-2.1.0-RC5 Source distributionCopyright (c) 2000, 2011, Oracle and/or its...
Amobe启动报错
服务启动阶段就是启动不了,报如下错误:The stack size specified is too small, Specify at least 228kError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit.网上查了一些资料:a、http://www.tuicool.com/articles/zEZBNb b、http://w...
mysql读写分离Amoeba的部署
Amoeba for MySQL致力于MySQL的分布式数据库前端代理层,它主要在应用层访问MySQL的时候充当query 路由功能,专注 分布式数据库 proxy 开发。座落与Client、DB Server(s)之间。对客户端透明。具有负载均衡、高可用性、Query过滤、读写分离、可路由相关的query到目标数据库、可并发请求多台数据库合并结果。 在Amoeba上面你...