Whats new in NDB Cluster 7.5 version
In this version, users have more flexible ways of table
partitioning rather than the default way thru ldm. Now user can
partition the table either by node or by ldm. There are 4
different ways of table partitioning supported, these are:
- FOR_RP_BY_NODE
- FOR_ RA_BY_NODE
- FOR_RP_BY_LDM (Default)
- FOR_RA_BY_LDM
- FOR_RA_BY_LDM_X_2
- FOR_RA_BY_LDM_X_3
- FOR_RA_BY_LDM_X_4
From the above RA is for Read from any replica i.e either from
Primary replica or backup replica and RP is for Read from Primary
replica only. The above options user can give either thru create
table or from alter table sql statement in the COMMENT
section like below.
mysql> create table t1(col1 int unsigned not null primary key …