List:Cluster« Previous MessageNext Message »
From:Geert Vanderkelen Date:October 16 2009 7:28am
Subject:Re: i find the file is same under my datanodedir/ndb_3_fs/LCP/0 and
ndb_3_fs/LCP/1 ,is there put the primary data and redundancy data?
View as plain text  
Hello,

On Oct 16, 2009, at 02:40 , ch huang wrote:

> i set NoOfReplicas=2 ,and 0 dir for primary data 1 for redundancy  
> data? or 0
> for redundancy data and 1 for primary data?
> if i set NoOfReplicas=4 ,it means in ndb_*nodeid*_fs/LCP/ dir has 4  
> dirs
> 0,1,2,3 ?


NoOfReplicas=2 : make your data highly available,
NoOfReplicas=1 : use it for testing or developing NDBAPI application,  
but for production it means no high availability.

Forget the other values.

Cheers,
Geert

PS: repeating tip: stop putting question in your subject-line

-- 
Geert Vanderkelen, MySQL Senior Support Engineer
Sun Microsystems GmbH     Sonnenallee 1, D-85551 Kirchheim-Heimstetten

Geschaeftsfuehrer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitz d. Aufs.rat.: Martin Haering                    HRB MUC 161028



Thread
i find the file is same under my datanodedir/ndb_3_fs/LCP/0 and ndb_3_fs/LCP/1 ,is there put the primary data and redundancy data?ch huang16 Oct
  • Re: i find the file is same under my datanodedir/ndb_3_fs/LCP/0 andndb_3_fs/LCP/1 ,is there put the primary data and redundancy data?Geert Vanderkelen16 Oct