`
hqman
  • 浏览: 352610 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

MySQL Cluster(MySQL 集群) 配置指南

阅读更多
MySQL Cluster(MySQL 集群) 配置指南

问题:ndb 是否类似于memcached ,不共享数据,每个节点都是read-write ,平行扩展???

ndb 介绍
http://www.jianblog.com/2006/10/02/234/

http://www.phpv.net/article.php/1521

官方论坛
http://forums.mysql.com/list.php?25

分享到:
评论
2 楼 hqman 2007-08-22  
loadBalanceStrategy If using a load-balanced connection to connect to SQL nodes in a MySQL Cluster/NDB configuration(by using the URL prefix "jdbc:mysql:loadbalance://"), which load balancin algorithm should the driver use: (1) "random" - the driver will pick a random host for each request. This tends to work better than round-robin, as the randomness will somewhat account for spreading loads where requests vary in response time, while round-robin can sometimes lead to overloaded nodes if there are variations in response times across the workload. (2) "bestResponseTime" - the driver will route the request to the host that had the best response time for the previous transaction.
1 楼 hqman 2007-08-22  
jdbc:mysql:loadbalance://192.168.200.223:3306,192.168.200.222:3306/test?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true

相关推荐

Global site tag (gtag.js) - Google Analytics