Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. [mysqld]
  2. default-authentication-plugin=mysql_native_password
  3. datadir=/var/lib/mysql
  4. ssl=0
  5.  
  6. skip-log-bin
  7. log-error=error.log
  8.  
  9. # Disabling symbolic-links is recommended to prevent assorted security risks
  10. symbolic-links=0
  11. skip-character-set-client-handshake
  12. thread_handling=pool-of-threads
  13. innodb_undo_log_truncate=off
  14.  
  15. # general
  16. table_open_cache = 200000
  17. table_open_cache_instances=64
  18. back_log=3500
  19. max_connections=110000
  20.  
  21. # files
  22. innodb_file_per_table
  23. innodb_log_file_size=1G
  24. innodb_log_files_in_group=2
  25. innodb_open_files=4000
  26.  
  27. # buffers
  28. innodb_buffer_pool_size= 5G
  29. innodb_buffer_pool_instances=8
  30. innodb_log_buffer_size=64M
  31.  
  32. # tune
  33. innodb_doublewrite= 1
  34. innodb_thread_concurrency=0
  35. innodb_flush_log_at_trx_commit= 0
  36. innodb_flush_method=O_DIRECT_NO_FSYNC
  37. innodb_max_dirty_pages_pct=90
  38. innodb_max_dirty_pages_pct_lwm=10
  39. innodb_lru_scan_depth=2048
  40. innodb_page_cleaners=4
  41. join_buffer_size=256K
  42. sort_buffer_size=256K
  43. innodb_use_native_aio=1
  44. innodb_stats_persistent = 1
  45.  
  46. innodb_spin_wait_delay=96
  47. innodb_adaptive_flushing = 1
  48. innodb_flush_neighbors = 0
  49.  
  50. innodb_read_io_threads = 16
  51. innodb_write_io_threads = 16
  52. innodb_io_capacity=1500
  53. innodb_io_capacity_max=2500
  54. innodb_purge_threads=4
  55. innodb_adaptive_hash_index=0
  56. max_prepared_stmt_count=1000000
  57. performance_schema = ON
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement