mysql分区问题
时间:2011-07-20
来源:互联网
本帖最后由 johnjobe123 于 2011-07-20 15:21 编辑
mysql edition 5.5
由于项目的需要,我们要创建比较多的分区(差不多要有20000个吧),但是通过查看文档,发现其最多可以支持1024(加上子分区)各分区,
是不是可以调整,怎么调整,请高手指点。。。。
附文档关于分区个数的内容:
Maximum number of partitions. The maximum possible number of partitions for a given table is 1024. This includes subpartitions.
If, when creating tables with a large number of partitions (but less than the maximum), you encounter an error message such as Got error ... from storage engine: Out of resources when opening file, you may be able to address the issue by increasing the value of the open_files_limit system variable. However, this is dependent on the operating system, and may not be possible or advisable on all platforms; see Section C.5.2.18, “'File' Not Found and Similar Errors”, for more information. In some cases, using large numbers (hundreds) of partitions may also not be advisable due to other concerns, so using more partitions does not automatically lead to better results.
mysql edition 5.5
由于项目的需要,我们要创建比较多的分区(差不多要有20000个吧),但是通过查看文档,发现其最多可以支持1024(加上子分区)各分区,
是不是可以调整,怎么调整,请高手指点。。。。
附文档关于分区个数的内容:
Maximum number of partitions. The maximum possible number of partitions for a given table is 1024. This includes subpartitions.
If, when creating tables with a large number of partitions (but less than the maximum), you encounter an error message such as Got error ... from storage engine: Out of resources when opening file, you may be able to address the issue by increasing the value of the open_files_limit system variable. However, this is dependent on the operating system, and may not be possible or advisable on all platforms; see Section C.5.2.18, “'File' Not Found and Similar Errors”, for more information. In some cases, using large numbers (hundreds) of partitions may also not be advisable due to other concerns, so using more partitions does not automatically lead to better results.
作者: johnjobe123 发布时间: 2011-07-20
Waiting for you answer !!! Thank you !
作者: johnjobe123 发布时间: 2011-07-20
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28