- 論壇徽章:
- 0
|
本帖最后由 johnjobe123 于 2011-07-20 15:21 編輯
mysql edition 5.5
由于項目的需要,我們要創(chuàng)建比較多的分區(qū)(差不多要有20000個吧),但是通過查看文檔,發(fā)現(xiàn)其最多可以支持1024(加上子分區(qū))各分區(qū),
是不是可以調(diào)整,怎么調(diào)整,請高手指點。。。。
附文檔關于分區(qū)個數(shù)的內(nèi)容:
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. |
|