gpt4 book ai didi

mysql - MYSQL 5.6.10 一个表的最大分区数

转载 作者:行者123 更新时间:2023-11-29 01:27:17 24 4
gpt4 key购买 nike

我想在我的一张表上进行范围分区,这就是范围分区。我想知道我们可以在一个表中拥有的最大分区数是多少。我正在运行 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com