Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. [mysqld]
  2. local-infile = 1
  3. datadir=/var/lib/mysql
  4. socket=/var/lib/mysql/mysql.sock
  5.  
  6. back_log = 200
  7. interactive_timeout = 7200
  8. wait_timeout = 7200
  9. net_read_timeout = 120
  10. net_write_timeout = 300
  11. sort_buffer_size = 2M
  12. read_buffer_size = 8M
  13. read_rnd_buffer_size = 16M
  14. join_buffer_size = 8M
  15. tmp_table_size = 128M
  16. max_heap_table_size = 128M
  17. query_cache_type = 1
  18. query_cache_size = 96M
  19. query_cache_limit = 2M
  20. max_connections = 70
  21. thread_cache_size= 32
  22. open_files_limit = 65535
  23. table_definition_cache = 4000
  24. table_open_cache = 15000
  25. max_allowed_packet = 32M
  26. key_buffer_size = 512M # up from 256#
  27.  
  28. innodb_thread_concurrency = 0 #up from 8#
  29. innodb_lock_wait_timeout = 7200
  30. innodb_flush_method = O_DIRECT
  31. innodb_file_per_table = 1
  32. innodb_buffer_pool_size = 26G
  33.  
  34. [mysqld_safe]
  35. log-error=/var/log/mariadb/mariadb.log
  36. pid-file=/var/run/mariadb/mariadb.pid
  37. !includedir /etc/my.cnf.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement