
نوشته اصلی توسط
novin-web
سلام
این کانفیگ برای این منابع خوب هست ولی باز باید بیشتر بررسی بشه چون من نمیدونم روی سرور شما چه اسکریپتی نصب هست:
[mysqld]
skip-innodb
default-storage-engine = MyISAM
long_query_time = 3
back_log = 50
max_connections = 500
max_user_connections= 200
key_buffer_size = 512M
myisam_sort_buffer_size = 64M
myisam_max_sort_file_size = 2048M
join_buffer_size = 2M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 12000
thread_cache_size = 1024
wait_timeout = 1000
interactive_timeout = 500
connect_timeout = 600
tmp_table_size = 256M
max_heap_table_size = 256M
max_allowed_packet = 128M
net_buffer_length = 16384
max_connect_errors = 100000
thread_concurrency = 16
concurrent_insert = 2
read_rnd_buffer_size = 1M
bulk_insert_buffer_size = 8M
query_cache_limit = 4M
query_cache_size = 128M
query_cache_type = 1
query_prealloc_size = 262144
query_alloc_block_size = 65536
range_alloc_block_size = 4096
transaction_alloc_block_size = 8192
transaction_prealloc_size = 4096
default-storage-engine = MyISAM
max_write_lock_count = 8
local-infile=0
open_files_limit=15638
local-infile=0
open_files_limit=15638