Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mysqld]
- local-infile=0
- datadir=/var/lib/mysql
- socket=/var/lib/mysql/mysql.sock
- user=mysql
- # Disabling symbolic-links is recommended to prevent assorted security risks
- symbolic-links=0
- innodb_buffer_pool_size=1024M
- innodb_additional_mem_pool_size=500K
- innodb_thread_concurrency=2
- innodb_log_buffer_size = 8M
- innodb_file_per_table = 1
- innodb_open_files = 400
- innodb_io_capacity = 400
- innodb_flush_method = O_DIRECT
- long_query_time=1
- log-slow-queries=/var/log/mysql/log-slow-queries.log
- #
- # * Fine Tuning
- #
- key_buffer = 16M
- max_allowed_packet = 16M
- thread_stack = 192K
- #thread_cache_size = 8
- connect_timeout = 5
- wait_timeout = 600
- max_allowed_packet = 16M
- thread_cache_size = 128
- sort_buffer_size = 4M
- join_buffer_size = 4M
- bulk_insert_buffer_size = 16M
- tmp_table_size = 256M
- max_heap_table_size = 256M
- query_cache_limit = 64M
- query_cache_size = 256M
- table_open_cache = 8192
- myisam_sort_buffer_size = 512M
- concurrent_insert = 2
- read_buffer_size = 2M
- read_rnd_buffer_size = 1M
- key_buffer_size = 512M
- [mysqld_safe]
- log-error=/var/log/mysqld.log
- pid-file=/var/run/mysqld/mysqld.pid
- innodb_buffer_pool_size=2M
- innodb_additional_mem_pool_size=500K
- innodb_log_buffer_size=500K
- innodb_thread_concurrency=2
Advertisement
Add Comment
Please, Sign In to add comment