以下是一个参考配置:

[mysqld] max_connections=2000 innodb_buffer_pool_size=2G innodb_log_file_size=256M key_buffer_size=256M query_cache_size=256M tmp_table_size=256M max_heap_table_size=256M thread_cache_size=64 table_open_cache=2000 open_files_limit=4000 wait_timeout=60 interactive_timeout=60

注意:这只是一个参考配置,具体的配置需要根据实际情况进行调整。


原文地址: https://www.cveoy.top/t/topic/nlOA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录