作者:7up
我在想,mysql的这个比较过程是什么逻辑阿。 既然提供了一个open_files_limit参数,那就是想提供一个功能:在os的限定条件内,让我们能在mysql层面限定最大打开文件数的数目。 所以感觉比较的逻辑应该是: rlimit.rlim_cur > max_file_limit ? DBUG_RETURN(max_file_limit) :...
View Article作者:open/close table on mysql |人生不过如此
[...] 在配置文件中,我们也可以看到open_files_limit参数,但是如果你设置该参数,重启主机后,该参数的值还是以系统的文件描述符为准。 This entry was posted in database. Bookmark the permalink. ← Incorrect datetime value [...]
View Article作者:huanghualiang
您好!我的版本是MySQL-5.5.36,我测试的结果是open-files-limit总是遵循: wanted_files= 10+max_connections+table_cache_size*2; max_open_files= max(max(wanted_files, max_connections*5), open_files_limit); files=...
View Article
More Pages to Explore .....