MySQL Forums
Forum List  »  Newbie

mysqltuner optimization
Posted by: matt murdock78
Date: March 01, 2018 06:34PM

Hello everyone,

On two database mysql server (from two different websites), I launched a mysqltuner (we have timeout but on the web server, but we do not really know where it comes from at the moment)

Here are the optimizations to bring advise by mysqltuner, the databse runs on a machine with 4vcpu and 115 GB of ram (ubuntu 16.04 server)



db01 PROD

mysqltuner recommendation:

Variables to adjust:
query_cache_type (= 1)
join_buffer_size (> 256.0K, always use indexes with joins)
table_open_cache (> 431)
innodb_buffer_pool_size (> = 1G) if possible.



db02 PROD:

Variables to adjust:
max_connections (> 151)
wait_timeout (<28800)
interactive_timeout (<28800)
query_cache_type (= 1)
sort_buffer_size (> 256K)
read_rnd_buffer_size (> 256K)
join_buffer_size (> 256.0K, always use indexes with joins)
table_open_cache (> 431)
innodb_buffer_pool_size (> = 2G) if possible.

I wanted to have your opinion and especially understand a little parameters (I start a little mysql ^^)


thank you in advance

Options: ReplyQuote


Subject
Written By
Posted
mysqltuner optimization
March 01, 2018 06:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.