Hi,
I'm running a dedicated server with Xeon 8 cores and 16 GB RAM...
I was trying to update mysql optimization settings for my.cnf as per recommendation by mysqltuner.pl. But still mysql utilizes heavy load of CPU and Heavy RAM.
How to apply recommendation by mysqltuner.pl---
------------------
Run OPTIMIZE TABLE to defragment tables for better performance
Adjust your join queries to always utilize indexes---> how to apply this settings.
my.cnf settings---
Please suggest the best possible settings for the said above..
Thanking you,
I'm running a dedicated server with Xeon 8 cores and 16 GB RAM...
I was trying to update mysql optimization settings for my.cnf as per recommendation by mysqltuner.pl. But still mysql utilizes heavy load of CPU and Heavy RAM.
How to apply recommendation by mysqltuner.pl---
------------------
Run OPTIMIZE TABLE to defragment tables for better performance
Adjust your join queries to always utilize indexes---> how to apply this settings.
my.cnf settings---
Code:
[mysqld]
local-infile=0
connect_timeout=360
wait_timeout=2400
interactive_timeout=2400
default-storage-engine=MyISAM
max_connections = 400
max_user_connections = 100
key_buffer_size=1400M
join_buffer_size=4M
sort_buffer_size=512K
read_rnd_buffer_size=512K
slow_query_log=1
slow_query_log_file=mysql-slow.log
long_query_time=0.1
query_cache_type = 1
query_cache_size = 150M
query_cache_limit = 1M
max_allowed_packet=32M
tmp_table_size=256M
max_heap_table_size=256M
open_files_limit=100000
table_definition_cache=2000
table_open_cache=6000
thread_cache_size=64
innodb_buffer_pool_size=662M
innodb_file_per_table=1
Thanking you,