Skip to main content

Optimizing my my.ini

Comments

4 comments

  • thinkbot
    Correct those: key_buffer = 2G # for the future, we set it higher, normally in your case minimum 315 M, higher then MyISAM indexes size net_buffer_length = 1M - remove that line join_buffer_size = 1M sort_buffer_size = 256K read_buffer_size = 128K read_rnd_buffer_size = 2M query_cache_type = 1 query_cache_size = 50M query_cache_limit = 1M myisam_sort_buffer_size = 1024M # thats the variable used during myisam table repair/optimize etc. max_heap_table_size = 64M tmp_table_size = 64M slow_query_log=1 slow_query_log_file=mysql-slow.log long_query_time=0.1 max_connections = 200 # you didnt use more than 65 tops anyways, and thats with your current quite bad config InnoDB settings doesnt matter, couse you are not using it anyways
    0
  • cPanelMichael
    Hello :) Are you using Enkompass or is this just a Windows server without a cPanel product? Note that the MySQL tuner shows that MySQL was running for 26 minutes. Typically you should let it run at least 24 hours before running the tuner to ensure more accurate results. Thank you.
    0
  • hle5128
    [quote="cPanelMichael, post: 1501041">Hello :) Are you using Enkompass or is this just a Windows server without a cPanel product? Note that the MySQL tuner shows that MySQL was running for 26 minutes. Typically you should let it run at least 24 hours before running the tuner to ensure more accurate results. Thank you.
    hi , thank you for your response. the reason it was up running short period of time was due from reboot (mysql crash and freeze when doing myisam check and repair) Im trying your configure and let it run for 24h see how it goes. This is the window server, without cpanel product
    0
  • cPanelMichael
    Please keep in mind that these forums are intended to assist users that are using cPanel. There will likely not be much user feedback here for issues that are not related to cPanel or assistance with non-cPanel servers. Thank you.
    0

Please sign in to leave a comment.