I have a NDB table called cdr which has 10M rows, roughly 20Gb. And, the
table cdr is partitioned by cdrYear.
Now, I want to change the partition by below command,
* alter table cdr partitioned by key(areaCode)*
It was said "When you do an alter table, a new copy of the table is created
is copied to that table, which is later renamed to the original, and the
original table is removed."
That means, there would be two table in RAM when altering table.
The total RAM of my server is 30Gb.