Dear Supporter,
I run mysqltuner.pl (http://mysqltuner.pl/mysqltuner.pl)
It said like this:
[!!] Maximum possible memory usage: 3.3G (148% of installed RAM)
But I don't know how it's calculated?
Thanks for your help. Here is the full test result:
I run mysqltuner.pl (http://mysqltuner.pl/mysqltuner.pl)
It said like this:
[!!] Maximum possible memory usage: 3.3G (148% of installed RAM)
But I don't know how it's calculated?
Thanks for your help. Here is the full test result:
Code:
# ./mysqltuner.pl
>> MySQLTuner 1.2.0 - Major Hayden <[email protected]>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.0.67-community-log
[!!] Switch to 64-bit OS - MySQL cannot currently use all of your RAM
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB +Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 3G (Tables: 3489)
[--] Data in InnoDB tables: 43M (Tables: 1089)
[--] Data in MEMORY tables: 3M (Tables: 190)
[--] Total fragmented tables: 10
-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 12h 33m 5s (3M q [76.838 qps], 163K conn, TX: 1B, RX: 899M)
[--] Reads / Writes: 76% / 24%
[--] Total buffers: 1.6G global + 13.1M per thread (130 max threads)
[!!] Allocating > 2GB RAM on 32-bit systems can cause system instability
[B][!!] Maximum possible memory usage: 3.3G (148% of installed RAM)[/B]
[OK] Slow queries: 0% (1K/3M)
[OK] Highest usage of available connections: 73% (95/130)
[OK] Key buffer size / total MyISAM indexes: 500.0M/1.1G
[OK] Key buffer hit rate: 99.9% (124M cached / 64K reads)
[OK] Query cache efficiency: 55.4% (1M cached / 2M selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (5K temp sorts / 573K sorts)
[!!] Joins performed without indexes: 5309
[!!] Temporary tables created on disk: 46% (395K on disk / 858K total)
[OK] Thread cache hit rate: 99% (95 created / 163K connections)
[OK] Table cache hit rate: 87% (1K open / 1K opened)
[OK] Open file limit used: 7% (1K/17K)
[OK] Table locks acquired immediately: 99% (2M immediate / 2M locks)
[!!] InnoDB data size / buffer pool: 43.5M/8.0M
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Adjust your join queries to always utilize indexes
Temporary table size is already large - reduce result set size
Reduce your SELECT DISTINCT queries without LIMIT clauses
Variables to adjust:
*** MySQL's maximum memory usage is dangerously high ***
*** Add RAM before increasing MySQL buffer variables ***
join_buffer_size (> 3.0M, or always use indexes with joins)
innodb_buffer_pool_size (>= 43M)