Hi All,
I downloaded and ran this script in my server. I'm having many issues regardins the MySQL Performance. My experience with MySQL parameters is very low. I have a ISPConfig server.
My result of the analysis is:
Code:
>> MySQLTuner 0.9.9 - 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.0.51a-3ubuntu5.1-log
[OK] Operating on 32-bit architecture with less than 2GB RAM
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 2M (Tables: 354)
[--] Data in InnoDB tables: 9M (Tables: 344)
[!!] Total fragmented tables: 41
-------- Performance Metrics -------------------------------------------------
[--] Up for: 3m 14s (9 q [0.046 qps], 6 conn, TX: 7K, RX: 515)
[--] Reads / Writes: 100% / 0%
[--] Total buffers: 42.0M global + 2.6M per thread (100 max threads)
[!!] Maximum possible memory usage: 304.5M (163% of installed RAM)
[OK] Slow queries: 0% (0/9)
[OK] Highest usage of available connections: 1% (1/100)
Use of uninitialized value in numeric lt (<) at ./mysqltuner.pl line 673, <>
line 2 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl tells you what operation
you used the undefined value in. Note, however, that perl optimizes your
program and the operation displayed in the warning may not necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.
[!!] Key buffer size / total MyISAM indexes: 16.0M/20.2M
[!!] Query cache is disabled
[OK] Temporary tables created on disk: 0% (0 on disk / 2 total)
[OK] Thread cache hit rate: 83% (1 created / 6 connections)
[OK] Table cache hit rate: 50% (6 open / 12 opened)
[OK] Open file limit used: 1% (14/1K)
[OK] Table locks acquired immediately: 100% (12 immediate / 12 locks)
[!!] Connections aborted: 16%
[!!] InnoDB data size / buffer pool: 9.2M/8.0M
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Reduce your overall MySQL memory footprint for system stability
Enable the slow query log to troubleshoot bad queries
Your applications are not closing MySQL connections properly
Variables to adjust:
*** MySQL's maximum memory usage exceeds your installed memory ***
*** Add more RAM before increasing any MySQL buffer variables ***
key_buffer_size (> 20.2M)
query_cache_size (>= 8M)
innodb_buffer_pool_size (>= 9M)
I will increase my server memory.
Someone has tips or instructions to improve my MySQL performance?
Thanks in advance,
Vinicius
Recent comments
9 hours 3 min ago
18 hours 30 min ago
19 hours 20 min ago
22 hours 53 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 22 hours ago