我希望在我的一个表上进行范围分区,这将是范围分区。我想知道一个表中最多可以有多少个分区。我运行的是 MYSQL 5.6.10。
理想情况下,我希望创建大约 8000 个分区。有人还可以建议,这么多分区是否会影响性能或以某种方式损害数据库。我也在使用 innodb_file_per_table=ON
谢谢
最佳答案
来自docs :
Prior to MySQL 5.6.7, the maximum possible number of partitions for a given table not using the NDB storage engine was 1024. Beginning with MySQL 5.6.7, this limit is increased to 8192 partitions. Regardless of the MySQL Server version, this maximum includes subpartitions.
关于mysql - MYSQL 5.6.10 表中最大分区数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36578205/