免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: lihangel
打印 上一主题 下一主题

mysql 5.0 集群负载均衡—经过测试 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2006-06-16 00:56 |只看该作者
leaper is right, mysql cluster has limitation.

论坛徽章:
0
22 [报告]
发表于 2006-06-16 09:16 |只看该作者
原帖由 leaper 于 2006-6-15 10:59 发表
此集群是否有效有待研究

但根据我们的测试结果,MySQL作Cluster是存在极大的问题的

不信楼主可以往某表插入10W条数据试试。



是目前所有发行的版本都这样吗?
数据大后不稳定是否和在内存交换数据有关系?

论坛徽章:
0
23 [报告]
发表于 2006-06-16 09:54 |只看该作者
原帖由 oraclinux 于 2006-6-16 09:16 发表



是目前所有发行的版本都这样吗?
数据大后不稳定是否和在内存交换数据有关系?



至少从我所知道的研究与测试数据中,是这样的。

论坛徽章:
0
24 [报告]
发表于 2006-06-16 11:17 |只看该作者
原帖由 oraclinux 于 2006-6-16 09:16 发表



是目前所有发行的版本都这样吗?
数据大后不稳定是否和在内存交换数据有关系?


subscribe mysql-cluster mailing list, your anwsers are there.

论坛徽章:
0
25 [报告]
发表于 2006-06-16 15:42 |只看该作者
yes ,it is very useful~~

论坛徽章:
0
26 [报告]
发表于 2006-06-18 02:17 |只看该作者
官方文档很清楚,mysql的cluster从来都是有很多限制的,包括某些类型的字段等,应用范围有限,准备作为生产应用前,一定搞清楚具体需求后再行动。对于负载均衡方面的东西,可以考虑多个mysql进行库表散列,通过程序逻辑来实现比较现实。

论坛徽章:
0
27 [报告]
发表于 2006-06-20 13:00 |只看该作者
怎么那么像mysql同步!

论坛徽章:
0
28 [报告]
发表于 2006-06-22 11:31 |只看该作者
NDBCluster的性能是个大瓶颈……

非常之慢,无奈我已经放弃这种方式了。

曾经用做过试验,一个大小仅仅为10多MB的数据库运行在NDBCluser架构,在MySQL控制台中执行 show tables; 用时竟然是0.03(前提是服务器绝对够强的)。这种性能真的无法应用于高I/O环境…… 否则,传统的Replication是完全可以被NDBCluster所替代的,可事实是Replication还是目前比较合适的解决方案。

[ 本帖最后由 Nanu 于 2006-6-22 11:32 编辑 ]

论坛徽章:
0
29 [报告]
发表于 2006-06-22 12:45 |只看该作者
Nanu is right ,

MySQL's native cluster has two fatal problems.

1) application limitation
2) performance degrade in certain scenarios

Consult the MySQL Cluster mailing list, there are dozens of similar questions concern it.

Although Oracle RAC has blemish in current design but it is still the strongest SSI Database Cluster of the world, especially upon x86 platform.
(DB2 EEE has more scalable solution on MMP system).

I hope MySQL AB's product team can utilize faster interconnect technology such as infiniband to scale up IO throughput and low the latency as much as possible. (just like digital did on TruCluster with memory channel). To create an individual "Cluster Layer" is another solution to overcome the application limitation.

Till now, i'll never choose mysql's native cluster in my production environment. Although they has a pretty strong support team and considerable service price.

[ 本帖最后由 nntp 于 2006-6-22 12:47 编辑 ]

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2016-03-12 06:20:00
30 [报告]
发表于 2006-06-22 17:08 |只看该作者
不错,MySQL Cluster有许多限制
但是大家可以到MySQL的官网上看看MySQL Cluster的案例
记得没错的德国最大的在线商店采用的就是MySQL Cluster

10W条记录就不行了?
我这里10多G的数据库都转成Cluster
每张表都超过400W的数据
你怎么测试的不行


查询小数据MySQL Cluster性能是不行
但是当数据大的时候Cluster的性能就能体现了

再说明下如果了解MySQL Cluster架构的话
MySQL Cluster是HA和Loading balance集群

MySQL Cluster与Replication最大的不同是MySQL Cluster是同步的,Replication是非同步的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP