Table-reorg is the the procedure which will be executed on "alter table X add partitions Y" .
This you would typically do when you have added Y new nodes to your cluster.
The procedure is online, i.e transactions can run during the operation
and no extra memory will be needed on the "old" nodes.
The reorg is based on linear hashing (but wo/ the normal skewness in distribution)
E.g when going from 2 to 4 partitions 50% of the rows will be moved.
The copying is done in parallel on the "old" nodes,
and consistency is kept using triggers.
So I have atleast 1 reader...
Lesson 07: Advanced MySQL Querying - Notes/errata/updates for Chapter 7: See the official book errata at http://tahaghoghi.com/LearningMySQL/errata.php – Chapter 7 includes pages 223 – 275. Su...
1 day ago