Posted in Text, on August 8, 2015 at 13:54
./mysqltuner.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Please enter your MySQL administrative login: root
Please enter your MySQL administrative password:
>> MySQLTuner 1.5.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
[OK] Currently running supported MySQL version 5.5.41-MariaDB
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +Aria +BLACKHOLE +CSV +FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 3M (Tables: 93)
[--] Data in InnoDB tables: 8M (Tables: 52)
[!!] Total fragmented tables: 59
-------- Security Recommendations -------------------------------------------
[OK] There is no anonymous account in all database users
[OK] All database users have passwords assigned
[!!] There is not basic password file list !
-------- Performance Metrics -------------------------------------------------
[--] Up for: 1h 25m 11s (32K q [6.359 qps], 605 conn, TX: 52M, RX: 8M)
[--] Reads / Writes: 42% / 58%
[--] Binary logging is disabled
[--] Total buffers: 288.0M global + 2.8M per thread (151 max threads)
[OK] Maximum reached memory usage: 321.4M (32.41% of installed RAM)
[OK] Maximum possible memory usage: 708.0M (71.39% of installed RAM)
[OK] Slow queries: 0% (0/32K)
[OK] Highest usage of available connections: 7% (12/151)
[!!] Aborted connections: 17.36% (105/605)
[!!] Key buffer used: 18.4% (24M used / 134M cache)
[OK] Key buffer size / total MyISAM indexes: 128.0M/662.0K
[OK] Read Key buffer hit rate: 99.6% (109K cached / 432 reads)
[!!] Write Key buffer hit rate: 33.5% (4K cached / 3K writes)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 3K sorts)
[!!] Temporary tables created on disk: 61% (1K on disk / 2K total)
[!!] Thread cache is disabled
[!!] Table cache hit rate: 17% (80 open / 453 opened)
[OK] Open file limit used: 8% (88/1K)
[OK] Table locks acquired immediately: 99% (31K immediate / 31K locks)
[!!] Connections aborted: 17%
-------- InnoDB Metrics -----------------------------------------------------
[--] InnoDB is enabled.
[OK] InnoDB buffer pool / data size: 128.0M/8.5M
[OK] InnoDB buffer pool instances: 1
[!!] InnoDB Used buffer: 10.85% (889 used/ 8191 total)
[OK] InnoDB Read buffer efficiency: 99.87% (447636 hits/ 448217 total)
[!!] InnoDB Write buffer efficiency: 0.00% (0 hits/ 1 total)
[OK] InnoDB log waits: 0.00% (0 waits / 16307 writes)
-------- Replication Metrics -------------------------------------------------
[--] No replication slave(s) for this server.
[--] This is a standalone server..
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries
Reduce or eliminate unclosed connections and network issues
When making adjustments, make tmp_table_size/max_heap_table_size equal
Reduce your SELECT DISTINCT queries without LIMIT clauses
Set thread_cache_size to 4 as a starting value
Increase table_open_cache gradually to avoid file descriptor limits
Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C
Your applications are not closing MySQL connections properly
Variables to adjust:
query_cache_size (>= 8M)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)
thread_cache_size (start at 4)
table_open_cache (> 400)
Share this code
Use the link below to share the code:
http://www.codesend.com/view/a3c59e7c975a4d464369e39fe840b564/
HTML
<a href="http://www.codesend.com/view/a3c59e7c975a4d464369e39fe840b564/"></a>
BBCode
[url=http://www.codesend.com/view/a3c59e7c975a4d464369e39fe840b564/][/url]
© 2010-2016 CodeSend.com - send code quick and easy
Syntax highlighting by Alex Gorbatchev
Syntax highlighting by Alex Gorbatchev
