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...
JSON specific window functions in MySQL 8.0 - In 8.0, we introduced window functions in MySQL server. A detailed explanation of how window functions can be used and what is supported in 8.0 is explaine...
7 hours ago