Etiket arşivi: hızlı mysql

MYSQL BEST CONFİG

[mysqld]
old_passwords=1
set-variable=local-infile=0
skip-external-locking
skip-host-cache
skip-locking
skip-name-resolve
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
safe-show-database
back_log = 75
#log-slow-queries = /var/log/mysql/mysql-slow.log
long_query_time  = 3
max_connections = 3000
key_buffer = 32M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
read_rnd_buffer_size = 524288
table_cache = 1800
thread_cache_size = 384
interactive_timeout = 100
wait_timeout = 180
connect_timeout = 2
tmp_table_size = 64M
max_allowed_packet = 64M
max_connect_errors = 10
thread_concurrency = 4
query_cache_limit = 20M
query_cache_size = 16M
query_cache_type = 1
query_prealloc_size = 16384
query_alloc_block_size = 16384
low_priority_updates=1

[mysqld_safe]
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M