关于mysql cluster

26 views
Skip to first unread message

Fisher

unread,
Aug 19, 2010, 12:51:31 AM8/19/10
to imy...@googlegroups.com
Hi all,

最近有个客户想用mysql cluster,虽然我百般劝说+阻挠 ,但是他们还是想做群集。

请问有人在实际生产环境中用过这东西么?有没有什么非常容易出现的常见问题?

希望有经验的可以帮助一下小弟。

万般感谢。



Br,
Fisher.

卢华权

unread,
Aug 19, 2010, 1:02:05 AM8/19/10
to imy...@googlegroups.com
倒是想知道,他想坚持要用的理由,而你百般劝说+阻挠说的又是什么理由
能够分享一下他的想法吗,居然阻挠不了
--
您收到此邮件是因为您订阅了 Google 网上论坛的“[MySQL中文用户群]”论坛。
要向此网上论坛发帖,请发送电子邮件至 imy...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 imysql+un...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/imysql?hl=zh-CN 访问此网上论坛。



--
阿权

狗尾草

unread,
Aug 19, 2010, 1:13:05 AM8/19/10
to imy...@googlegroups.com
插一句,不用集群,现在都是如何做负载均衡的?





2010/8/19 卢华权 <hql...@gmail.com>

Fisher

unread,
Aug 19, 2010, 1:24:37 AM8/19/10
to imy...@googlegroups.com
@卢华权
他们老总听过说群集,但是不知道怎么回事,就知道群集是特nb,特高端。
我说mysql的不成熟,不好用,bug多,不稳定(具体我也说不好,我也是听说,所以我就这么和他说了)

@狗尾草
一个master mysql:更新数据
一堆slave mysql:查询




Br,
Fisher.



2010/8/19 狗尾草 <guo...@gmail.com>

狗尾草

unread,
Aug 19, 2010, 1:31:14 AM8/19/10
to imy...@googlegroups.com
请问读写分离是怎么做的?
我现在是用amoeba变形虫。

另外主从复制,有时候感觉,数据不是那么对,偶尔会少一两条记录,不知有没有遇到过?





2010/8/19 Fisher <f...@wqfw.de>

Fisher

unread,
Aug 19, 2010, 1:34:14 AM8/19/10
to imy...@googlegroups.com
在你程序里分开来连接两个不同的server。读的用一种,写的用一种。

slave servers可以用lvs做。

不知道如果写入频繁的应用如何做均衡~~

狗尾草

unread,
Aug 19, 2010, 1:36:28 AM8/19/10
to imy...@googlegroups.com
目前的程序设计是读写都在同一库,所以必须借助软件去实现分离。

lvs岂不是只有一台slave提供服务?

狗尾草

unread,
Aug 19, 2010, 1:38:24 AM8/19/10
to imy...@googlegroups.com
回到正题,有没有对mysql集群评测对比的文章供参考?





2010/8/19 狗尾草 <guo...@gmail.com>

Fisher

unread,
Aug 19, 2010, 1:38:59 AM8/19/10
to imy...@googlegroups.com
跑题了,跑题了。。。

黄志宾

unread,
Aug 19, 2010, 1:33:07 AM8/19/10
to imy...@googlegroups.com
那就死马当活马医。还好啦   只要不是要求太高,没事的 对你而言 也是一次机会。

阿权

unread,
Aug 19, 2010, 2:15:18 AM8/19/10
to imy...@googlegroups.com
算是有一个机会让楼主放心的试用 mysql集群了,换别人,还不敢用呢

Fisher

unread,
Aug 19, 2010, 2:16:33 AM8/19/10
to imy...@googlegroups.com
。。。这东西要真想外面传的那么烂,还不得整死我啊。。。。



Br,
Fisher.



2010/8/19 阿权 <hql...@gmail.com>

叶金荣

unread,
Aug 19, 2010, 2:56:30 AM8/19/10
to imy...@googlegroups.com

没那么夸张,没事多看看手册等文档,多自己实践下,没那么严重  J

 

 

发件人: imy...@googlegroups.com [mailto:imy...@googlegroups.com] 代表 Fisher
发送时间: 2010819 14:17
收件人: imy...@googlegroups.com
主题: Re: MySQL中文用户群 关于mysql cluster

杨海朝

unread,
Aug 19, 2010, 3:49:09 AM8/19/10
to imy...@googlegroups.com
官方5个9的推荐解决方案(CGE),再差也还是有一定的靠谱性的。:-)
 
 
 
 


 
2010/8/19 叶金荣 <imy...@gmail.com>

没那么夸张,没事多看看手册等文档,多自己实践下,没那么严重  J

 

 

发件人: imy...@googlegroups.com [mailto:imy...@googlegroups.com] 代表 Fisher
发送时间: 2010

819 14:17
收件人: imy...@googlegroups.com
主题: Re: MySQL中文用户群关于mysql cluster

Fisher

unread,
Aug 19, 2010, 3:51:51 AM8/19/10
to imy...@googlegroups.com
求个传送门。



Br,
Fisher.



2010/8/19 杨海朝 <jackb...@gmail.com>

Yunyang Zhang

unread,
Aug 19, 2010, 10:02:31 AM8/19/10
to imy...@googlegroups.com
客户的需求就是工程师的使命。
上吧,NDB现在很缺炮灰的说。

2010/8/19 Fisher <f...@wqfw.de>

Fisher

unread,
Aug 24, 2010, 9:30:31 PM8/24/10
to imy...@googlegroups.com
ndb永远只把数据放在内存里么?如果所有的ndb节点都坍塌了,数据就没了?



Br,
Fisher.



2010/8/19 Yunyang Zhang <rea...@gmail.com>

LangTao Liao

unread,
Aug 24, 2010, 10:58:13 PM8/24/10
to imy...@googlegroups.com


在 2010年8月25日 上午9:30,Fisher <f...@wqfw.de>写道:
ndb永远只把数据放在内存里么?如果所有的ndb节点都坍塌了,数据就没了?



不是的,ndbd是将数据存在硬盘里的。其实就是将mysql的API和DataFile分享,实现扩展功能。



--
========================
yours,sincerely
  Tony Liao
I Love Linux & Freesoftware
http://blog.langtao.im
twitter http://twitter.com/lltlk
========================

Fisher

unread,
Aug 24, 2010, 11:03:50 PM8/24/10
to imy...@googlegroups.com
2台 8GB内存,4core的cpu x1,每台机器起两个ndbd比较合适吧?

data 和 index memory 如何配置比较合适呢?



Br,
Fisher.



2010/8/25 LangTao Liao <liaol...@gmail.com>

LangTao Liao

unread,
Aug 24, 2010, 11:30:08 PM8/24/10
to imy...@googlegroups.com
在 2010年8月25日 上午11:03,Fisher <f...@wqfw.de>写道:
2台 8GB内存,4core的cpu x1,每台机器起两个ndbd比较合适吧?

data 和 index memory 如何配置比较合适呢?


ndbd应该至少要3台服务器以上,否则就没有什么意义吧?

                                client
                                 /    \
                               /        \
                      mysqlAPI    mysqlAPI --- --mange 
                            /      \     /     |               /
                           /          \/       |            /
                          /         /    \     |         /
                          ndbd            ndbd

Fisher

unread,
Aug 24, 2010, 11:32:27 PM8/24/10
to imy...@googlegroups.com
跑ndbd的就两台,mgm和mysqld还有其他机器。

叶金荣

unread,
Aug 25, 2010, 1:51:24 AM8/25/10
to imy...@googlegroups.com

有时间小聚下?

jincheng cao

unread,
Aug 25, 2010, 1:53:00 AM8/25/10
to imy...@googlegroups.com
首次冒泡,叶大师我去!

在 2010年8月25日 下午1:51,叶金荣 <imy...@gmail.com>写道:

有时间小聚下?

--
您收到此邮件是因为您订阅了 Google 网上论坛的“[MySQL中文用户群]”论坛。
要向此网上论坛发帖,请发送电子邮件至 imy...@googlegroups.com
要取消订阅此网上论坛,请发送电子邮件至 imysql+un...@googlegroups.com
若有更多问题,请通过 http://groups.google.com/group/imysql?hl=zh-CN 访问此网上论坛。



--
When young to go to chase the dream!
                 诚交天下技术好友!!!

py

unread,
Aug 25, 2010, 2:12:45 AM8/25/10
to imy...@googlegroups.com
叶老大,到时候能给签个名不?  哈哈哈..

源泉星火(张明源)

unread,
Aug 25, 2010, 2:41:09 AM8/25/10
to imy...@googlegroups.com
围观,可惜已经不在北京了

Ken Zhao

unread,
Aug 25, 2010, 2:42:37 AM8/25/10
to imy...@googlegroups.com
有详细信息么?什么架构师大会?

2010/8/25 源泉星火(张明源) <zhangmin...@gmail.com>

Fisher

unread,
Aug 25, 2010, 2:43:41 AM8/25/10
to imy...@googlegroups.com
不要起这种名字。。。都不敢去了……



Br,
Fisher.



2010/8/25 Ken Zhao <zgo...@gmail.com>

杨海朝

unread,
Aug 25, 2010, 3:01:53 AM8/25/10
to imy...@googlegroups.com
是该小聚一下了。
我报名,:-)
 
 
 
 


 
2010/8/25 Fisher <f...@wqfw.de>

flycondor

unread,
Aug 25, 2010, 3:11:34 AM8/25/10
to imy...@googlegroups.com
同问,什么架构师大会?

在 2010年8月25日 下午1:51,叶金荣 <imy...@gmail.com>写道:

有时间小聚下?

--

叶金荣

unread,
Aug 25, 2010, 3:26:24 AM8/25/10
to imy...@googlegroups.com

http://sacc.it168.com/

2010系统架构师大会-IT168ChinaUnixITPUBIXPUB-架构设计、存储管理、数据监控、Web安全、云计算实践

 

群里的杨海潮同学有个主题演讲,大家可以去捧场 J

 

 

演讲主题:基于mysql的可扩展架构设计

基于mysql的可扩展架构设计

 

演讲嘉宾:杨海朝 新浪高级DBA

曾就职于康盛创想,参加过多个大型项目的部署和优化工作,2007年加入新浪。
在大规模数据库运维方面有丰富的经验,有多年数据库维护和管理工作经历,热衷于数据库设计,性能优化,分布式部署方案和高可用性方面的研究。

 

 

发件人: imy...@googlegroups.com [mailto:imy...@googlegroups.com] 代表 杨海朝
发送时间: 2010825 15:02
收件人: imy...@googlegroups.com
主题: Re: MySQL中文用户群 本次架构师大会谁出席?

杨海朝

unread,
Aug 25, 2010, 3:30:56 AM8/25/10
to imy...@googlegroups.com
老叶把我曝光了。
惭愧,我是去学习的,同时感谢各位捧场。:-)
 
 
 


 
2010/8/25 叶金荣 <imy...@gmail.com>

hao ding

unread,
Aug 25, 2010, 3:35:03 AM8/25/10
to imy...@googlegroups.com
看到了。会场见。

2010/8/25 杨海朝 <jackb...@gmail.com>

向翔

unread,
Aug 25, 2010, 5:21:12 AM8/25/10
to imy...@googlegroups.com
还要门票啊,1200呢,你们怎么进去?
谢谢!



                           向翔

hao ding

unread,
Aug 25, 2010, 5:27:03 AM8/25/10
to imy...@googlegroups.com
有票。

2010/8/25 向翔 <xxqq...@gmail.com>

flycondor

unread,
Aug 25, 2010, 5:38:08 AM8/25/10
to imy...@googlegroups.com
门票已经卖完了?
Reply all
Reply to author
Forward
0 new messages