Advertisement
Guest User

my.cnf

a guest
Dec 6th, 2012
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1.  
  2. key_buffer_size = 32M
  3. myisam_recover = FORCE,BACKUP
  4.  
  5. max_allowed_packet = 16M
  6. max_connect_errors = 1000000
  7. skip_name_resolve
  8. sysdate_is_now = 1
  9.  
  10. log_bin = /var/lib/mysql/mysql-bin
  11. expire_logs_days = 14
  12. sync_binlog = 1
  13.  
  14. tmp_table_size = 128M
  15. max_heap_table_size = 128M
  16. query_cache_type = 0
  17. query_cache_size = 0
  18. max_connections = 500
  19. thread_cache_size = 50
  20. open_files_limit = 65535
  21. table_definition_cache = 1024
  22. table_open_cache = 2048
  23.  
  24.  
  25. innodb_flush_method = O_DIRECT
  26. innodb_log_files_in_group = 2
  27. innodb_log_file_size = 1G
  28. innodb_flush_log_at_trx_commit = 2
  29. innodb_file_per_table = 1
  30. innodb_buffer_pool_size = 4G
  31.  
  32.  
  33. log_error = /var/lib/mysql/mysql-error.log
  34. log_queries_not_using_indexes = 1
  35. slow_query_log = 1
  36. slow_query_log_file = /var/lib/mysql/mysql-slow.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement