galaxydata

my.cnf

Nov 8th, 2015
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [mysqld]
  2. local-infile=0
  3. datadir=/var/lib/mysql
  4. socket=/var/lib/mysql/mysql.sock
  5. user=mysql
  6. # Disabling symbolic-links is recommended to prevent assorted security risks
  7. symbolic-links=0
  8.  
  9. innodb_buffer_pool_size=1024M
  10. innodb_additional_mem_pool_size=500K
  11. innodb_thread_concurrency=2
  12. innodb_log_buffer_size = 8M
  13. innodb_file_per_table = 1
  14. innodb_open_files = 400
  15. innodb_io_capacity = 400
  16. innodb_flush_method = O_DIRECT
  17.  
  18. long_query_time=1
  19. log-slow-queries=/var/log/mysql/log-slow-queries.log
  20.  
  21.  
  22. #
  23. # * Fine Tuning
  24. #
  25. key_buffer = 16M
  26. max_allowed_packet = 16M
  27. thread_stack = 192K
  28. #thread_cache_size = 8
  29.  
  30. connect_timeout = 5
  31. wait_timeout = 600
  32. max_allowed_packet = 16M
  33. thread_cache_size = 128
  34. sort_buffer_size = 4M
  35. join_buffer_size = 4M
  36. bulk_insert_buffer_size = 16M
  37. tmp_table_size = 256M
  38. max_heap_table_size = 256M
  39.  
  40. query_cache_limit = 64M
  41. query_cache_size = 256M
  42.  
  43. table_open_cache = 8192
  44. myisam_sort_buffer_size = 512M
  45. concurrent_insert = 2
  46. read_buffer_size = 2M
  47. read_rnd_buffer_size = 1M
  48.  
  49. key_buffer_size = 512M
  50.  
  51. [mysqld_safe]
  52. log-error=/var/log/mysqld.log
  53. pid-file=/var/run/mysqld/mysqld.pid
  54. innodb_buffer_pool_size=2M
  55. innodb_additional_mem_pool_size=500K
  56. innodb_log_buffer_size=500K
  57. innodb_thread_concurrency=2
Advertisement
Add Comment
Please, Sign In to add comment