MySQL Forums
Forum List  »  Performance

Re: MySQL High CPU Usage
Posted by: kameshwaran ambikapathy
Date: January 07, 2014 05:23AM

Please find the mysqltunner result which i have taken at the time of high mysql load

>> MySQLTuner 1.2.0 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password:

-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.1.71-log
[OK] Operating on 64-bit architecture

-------- Storage Engine Statistics -------------------------------------------
[--] Status: -Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 3G (Tables: 152)
[!!] InnoDB is enabled but isn't being used
[!!] Total fragmented tables: 14

-------- Security Recommendations -------------------------------------------
[!!] User '@ABC-1' has no password set.
[!!] User 'root@ABC-1' has no password set.

-------- Performance Metrics -------------------------------------------------
[--] Up for: 4d 22h 22m 25s (5M q [12.308 qps], 998K conn, TX: 48B, RX: 26B)
[--] Reads / Writes: 44% / 56%
[--] Total buffers: 218.0M global + 2.7M per thread (500 max threads)
[OK] Maximum possible memory usage: 1.6G (4% of installed RAM)
[OK] Slow queries: 0% (192/5M)
[OK] Highest usage of available connections: 48% (241/500)
[OK] Key buffer size / total MyISAM indexes: 64.0M/60.4M
[OK] Key buffer hit rate: 100.0% (585M cached / 241K reads)
[OK] Query cache efficiency: 43.9% (826K cached / 1M selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (130 temp sorts / 165K sorts)
[OK] Temporary tables created on disk: 2% (3K on disk / 153K total)
[OK] Thread cache hit rate: 99% (3K created / 998K connections)
[!!] Table cache hit rate: 0% (64 open / 17K opened)
[OK] Open file limit used: 3% (99/2K)
[OK] Table locks acquired immediately: 96% (2M immediate / 2M locks)

-------- Recommendations -----------------------------------------------------
General recommendations:
Add skip-innodb to MySQL configuration to disable InnoDB
Run OPTIMIZE TABLE to defragment tables for better performance
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
long_query_time (<= 10)
table_cache (> 64)





Kindly suggest me

Options: ReplyQuote


Subject
Views
Written By
Posted
7412
January 02, 2014 04:33AM
2926
January 02, 2014 08:02AM
2570
January 03, 2014 12:58AM
Re: MySQL High CPU Usage
2423
January 07, 2014 05:23AM
2147
January 07, 2014 06:55PM
1739
January 08, 2014 04:21AM
1572
January 02, 2014 01:26PM
1616
January 03, 2014 01:05AM
1626
January 03, 2014 11:11AM
1844
January 07, 2014 05:21AM


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.