hash和key分区
create table ...();
partition by hash(字段) partitions 区数;

如果不写区数,会放到一个区里

partition by linear key(字段...) partitions 区数;

首页 我的博客
粤ICP备17103704号