Advertisement
asanchez75

mariadb/docker

Jan 2nd, 2018
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. #/etc/mysql/conf.d/docker.cnf
  2. [mysqld]
  3. skip-host-cache
  4. skip-name-resolve
  5.  
  6. # * Fine Tuning
  7. #
  8. key_buffer = 256M
  9. sort_buffer_size = 1M
  10. max_allowed_packet = 256M
  11. thread_stack = 192K
  12. thread_cache_size = 8
  13. # This replaces the startup script and checks MyISAM tables if needed
  14. # the first time they are touched
  15. myisam-recover = BACKUP
  16. #max_connections = 100
  17. #table_cache = 64
  18. #thread_concurrency = 10
  19. #
  20. # * Query Cache Configuration
  21. #
  22. query_cache_type = 1
  23. query_cache_limit = 2048M
  24. query_cache_size = 6144M
  25.  
  26.  
  27. # * InnoDB
  28. #
  29. # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
  30. # Read the manual for more InnoDB related options. There are many!
  31. #
  32. # * Security Features
  33. #
  34. # Read the manual, too, if you want chroot!
  35. # chroot = /var/lib/mysql/
  36. #
  37. # For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
  38. #
  39. # ssl-ca=/etc/mysql/cacert.pem
  40. # ssl-cert=/etc/mysql/server-cert.pem
  41. # ssl-key=/etc/mysql/server-key.pem
  42.  
  43. innodb_buffer_pool_size = 6G
  44. innodb_log_file_size = 64M
  45. innodb_flush_log_at_trx_commit = 0
  46. innodb_thread_concurrency=8
  47. transaction-isolation=READ-COMMITTED
  48. innodb_flush_method=O_DIRECT
  49. innodb_stats_on_metadata=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement