 |
MySQLTalk.org MYSQL discussions groups
|
| View previous topic :: View next topic |
| Author |
Message |
xian liu Guest
|
Posted: Fri Apr 20, 2007 5:12 am Post subject: 2 replica,2 fragments, will need 4 data nodes??? |
|
|
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
|
Posted: Fri Apr 20, 2007 10:10 am Post subject: Re: 2 replica,2 fragments, will need 4 data nodes??? |
|
|
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
|
Posted: Sat Apr 28, 2007 3:49 pm Post subject: Re: 2 replica,2 fragments, will need 4 data nodes??? |
|
|
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 |
|
 |
|
|
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
|
|