我的 SQL Table 分区

My SQL Table Partitions

rnds#P#p0.ibd , rnds#P#p1.ibd , rnds#P#p2.ibd , rnds#P#p3.ibd , rnds#P#p4.ibd

如果你想创建 5 个分区,你应该使用:

alter table rnds partition by HASH(id) partitions 5;

此命令将创建 5 个分区,并根据 ID 向它们添加新行。不会自动创建新分区。您可以使用 ADD PARTITION 命令添加新分区。

详情见this link