What is the maximum number of partitions for InnoDB storage engine in MySQL 8?
如果我没记错的话,它曾经是 1024,但那是在 MySQL 8 之前。
我想知道它在 MySQL 8 中是否有所改变?
Documentation没有提到 InnoDB 的任何限制,NDB 只有 8192。
最佳答案
https://dev.mysql.com/doc/refman/8.0/en/partitioning-limitations.html
Maximum number of partitions. The maximum possible number of partitions for a given table not using the NDB storage engine is 8192. This number includes subpartitions.
“不使用 NDB 存储引擎”是指 InnoDB 和其他引擎。只是不是新开发银行。
附言令人惊奇的是,读者经常在写作中忽略“不”这个词。不要将此视为个人批评 - 很多人都这样做。
关于MySQL 8 InnoDB 分区 - 最大分区数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58379213/