tota1907

my.cnf

Oct 6th, 2018
699
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. # For advice on how to change settings please see
  2. # http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
  3.  
  4. [mysqld]
  5. performance-schema=1
  6. sql_mode = ''
  7. #
  8. # Remove leading # and set to the amount of RAM for the most important data
  9. # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
  10. innodb_buffer_pool_instances = 8
  11. innodb_buffer_pool_size = 900M
  12. #
  13. # Remove leading # to turn on a very important data integrity option: logging
  14. # changes to the binary log between backups.
  15. # log_bin
  16. #
  17. # Remove leading # to set options mainly useful for reporting servers.
  18. # The server defaults are faster for transactions and fast SELECTs.
  19. # Adjust sizes as needed, experiment to find the optimal values.
  20. join_buffer_size = 12M
  21. sort_buffer_size = 1M
  22. read_rnd_buffer_size = 1M
  23. thread_cache_size = 128
  24. query_cache_type = 1
  25. query_cache_size = 128M
  26. query_cache_limit = 8M
  27. max_connections = 1500
  28. tmp_table_size = 64M
  29. max_heap_table_size = 64M
  30. long_query_time = 2
  31. key_buffer_size = 360M
  32.  
  33. datadir=/var/lib/mysql
  34. socket=/var/lib/mysql/mysql.sock
  35.  
  36. performance-schema=1
  37. # Disabling symbolic-links is recommended to prevent assorted security risks
  38. symbolic-links=0
  39.  
  40. performance-schema=1
  41. log-error=/var/log/mysqld.log
  42. pid-file=/var/run/mysqld/mysqld.pid
  43. default-storage-engine=MyISAM
  44. innodb_file_per_table=1
  45. max_allowed_packet=268435456
  46. open_files_limit=10000
Add Comment
Please, Sign In to add comment