Advertisement
scherepanov

my.cnf

Nov 6th, 2021
1,533
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [mysqld]
  2. default-authentication-plugin = mysql_native_password
  3. max_allowed_packet          = 512M
  4. thread_stack                = 192K
  5. thread_cache_size           = 8
  6. interactive_timeout         = 300
  7. wait_timeout                = 900
  8. sort_buffer_size            = 16M
  9. read_rnd_buffer_size        = 16M
  10. read_buffer_size            = 16M
  11. join_buffer_size            = 16M
  12. key_buffer_size             = 256M
  13. tmp_table_size              = 256M
  14. max_heap_table_size         = 256M
  15. #binlog_expire_logs_seconds = 3600
  16. query_cache_type            = 1
  17. query_cache_size            = 10M
  18. query_cache_limit=256K      = 256K
  19.  
  20. innodb_doublewrite              = 0
  21. innodb_file_per_table           = 1
  22. innodb_thread_concurrency       = 8
  23. innodb_lock_wait_timeout        = 300
  24. innodb_log_files_in_group       = 2
  25. innodb_log_file_size            = 512M
  26. innodb_log_buffer_size          = 64M
  27. innodb_flush_log_at_trx_commit  = 2
  28. innodb_buffer_pool_size         = 512M
  29. innodb_buffer_pool_instances    = 8
  30. expire_logs_days                = 5
  31. innodb_flush_method            = O_DIRECT
  32. innodb_flush_log_at_trx_commit  = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement