MySQLTalk.org Forum Index MySQLTalk.org
MYSQL discussions groups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2 replica,2 fragments, will need 4 data nodes???

 
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL Cluster Discussion
View previous topic :: View next topic  
Author Message
xian liu
Guest





PostPosted: Fri Apr 20, 2007 5:12 am    Post subject: 2 replica,2 fragments, will need 4 data nodes??? Reply with quote



Hi guys,
1. At "Basic MySQL Cluster Concepts" , "Chapter 15. MySQL Cluster", In 5.0/5.1 ref manual, there is a phase which define the "data node" concept. It said,"
Data node: ... ...For example, with two replicas, each having two fragments, you will need four data nodes. ... ..."
but I think this kind of configuration can be implemented with two data nodes, no need four data nodes. right??
2. What is the Fragment? Whether or not two fragments mean that a table is divided to two parts by horizon ?

thanks a lot!!!



@@@^_^@@@

---------------------------------
ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡
Back to top
Andrew Hutchings
Guest





PostPosted: Fri Apr 20, 2007 10:10 am    Post subject: Re: 2 replica,2 fragments, will need 4 data nodes??? Reply with quote



xian liu wrote:
Quote:
Hi guys,
1. At "Basic MySQL Cluster Concepts" , "Chapter 15. MySQL Cluster", In 5.0/5.1 ref manual, there is a phase which define the "data node" concept. It said,"
Data node: ... ...For example, with two replicas, each having two fragments, you will need four data nodes. ... ..."
but I think this kind of configuration can be implemented with two data nodes, no need four data nodes. right??
2. What is the Fragment? Whether or not two fragments mean that a table is divided to two parts by horizon ?

thanks a lot!!!


Hi Xian,

If you just used 2 data nodes it would be 1 fragment and 2 replicas. As
the data is split between the fragments and for redundancy you need
replicas of the fragments. I guess you could think of it a little like
RAID 0+1. Or if you had just 2 data nodes (or any amount without
fragments) it would be a bit like RAID 1.

Regards
Andrew
--
Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen. Blue
Screen leads to downtime. Downtime leads to suffering...I sense much
Windows in you.
Back to top
David Li
Guest





PostPosted: Sat Apr 28, 2007 3:49 pm    Post subject: Re: 2 replica,2 fragments, will need 4 data nodes??? Reply with quote



Hi,

Quote:
Hi guys,
1. At "Basic MySQL Cluster Concepts" , "Chapter 15. MySQL Cluster", In 5.0/5.1 ref manual, there is a phase which define the "data node" concept. It said,"
Data node: ... ...For example, with two replicas, each having two fragments, you will need four data nodes. ... ..."
but I think this kind of configuration can be implemented with two data nodes, no need four data nodes. right??
2. What is the Fragment? Whether or not two fragments mean that a table is divided to two parts by horizon ?


fragment is simply a synonym for partion.

BR.

David Li


Quote:
thanks a lot!!!



@@@^_^@@@

---------------------------------
ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡
Back to top
Display posts from previous:   
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL Cluster Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.