我有一台 128 M 的服务器,安装了 mysql。你能帮我配置我的服务器并提高服务器性能吗?
- 我使用wordpress 3.5
- 我所有的桌子都是 MyIsam
这是我的第一个配置:
[mysqld]
tmp_table_size=4M
query_cache_size=2M
max_heap_table_size = 8M
query_cache_limit=1M
query_cache_size=4M
max_connections=55
skip-locking
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 128K
table_open_cache = 8
max_binlog_cache_size = 1M
max_seeks_for_key = 2M
max_write_lock_count = 512K
myisam_max_sort_file_size = 1M
innodb_file_per_table=1
query_cache_type = 1
thread_cache_size=2
key_buffer=12M
thread_concurrency=2
########################
##Configuration Innodb##
##Uncomment the next line to disable Innodb
#skip-innodb
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 10M
innodb_log_buffer_size = 4M
innodb_flush_log_at_trx_commit=1
提前致谢,