[code=BatchFile] >> MySQLTuner 1.0.0 - Major Hayden <[email protected]>
>> 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.70-log
[!!] Switch to 64-bit OS - MySQL cannot currently use all of your RAM
这个虽然有4G内存,但是CPU不支持64bit-------- Storage Engine Statistics -------------------------------------------
[--] Status: -Archive -BDB -Federated -InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 6G (Tables: 95)
[OK] Total fragmented tables: 0-------- Performance Metrics -------------------------------------------------
[--] Up for: 4h 49m 6s (44M q [2K qps], 370 conn, TX: 2B, RX: 202M)
[--] Reads / Writes: 14% / 86%
[--] Total buffers: 1.5G global + 4.3M per thread (1024 max threads)
[!!] Allocating > 2GB RAM on 32-bit systems can cause system instability
[!!] Maximum possible memory usage: 5.9G (182% of installed RAM)
[OK] Slow queries: 0% (0/44M)
[OK] Highest usage of available connections: 11% (119/1024)
[OK] Key buffer size / total MyISAM indexes: 1.5G/5.4G
[OK] Key buffer hit rate: 97.8% (54M cached / 1M reads)
[!!] Query cache efficiency: 0.0% (0 cached / 1M selects)
这里
[OK] Query cache prunes per day: 74
[OK] Temporary tables created on disk: 8% (72 on disk / 886 total)
[OK] Thread cache hit rate: 67% (119 created / 370 connections)
[!!] Table cache hit rate: 0% (275 open / 1M opened)
还有这个,不知道怎么解决
[OK] Open file limit used: 7% (389/5K)
[OK] Table locks acquired immediately: 99% (1M immediate / 1M locks)-------- Recommendations -----------------------------------------------------
General recommendations:
MySQL started within last 24 hours - recommendations may be inaccurate
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
*** MySQL's maximum memory usage is dangerously high ***
*** Add RAM before increasing MySQL buffer variables ***
query_cache_limit (> 1M, or use smaller result sets)
table_cache (> 768)
[/code]
>> 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.70-log
[!!] Switch to 64-bit OS - MySQL cannot currently use all of your RAM
这个虽然有4G内存,但是CPU不支持64bit-------- Storage Engine Statistics -------------------------------------------
[--] Status: -Archive -BDB -Federated -InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 6G (Tables: 95)
[OK] Total fragmented tables: 0-------- Performance Metrics -------------------------------------------------
[--] Up for: 4h 49m 6s (44M q [2K qps], 370 conn, TX: 2B, RX: 202M)
[--] Reads / Writes: 14% / 86%
[--] Total buffers: 1.5G global + 4.3M per thread (1024 max threads)
[!!] Allocating > 2GB RAM on 32-bit systems can cause system instability
[!!] Maximum possible memory usage: 5.9G (182% of installed RAM)
[OK] Slow queries: 0% (0/44M)
[OK] Highest usage of available connections: 11% (119/1024)
[OK] Key buffer size / total MyISAM indexes: 1.5G/5.4G
[OK] Key buffer hit rate: 97.8% (54M cached / 1M reads)
[!!] Query cache efficiency: 0.0% (0 cached / 1M selects)
这里
[OK] Query cache prunes per day: 74
[OK] Temporary tables created on disk: 8% (72 on disk / 886 total)
[OK] Thread cache hit rate: 67% (119 created / 370 connections)
[!!] Table cache hit rate: 0% (275 open / 1M opened)
还有这个,不知道怎么解决
[OK] Open file limit used: 7% (389/5K)
[OK] Table locks acquired immediately: 99% (1M immediate / 1M locks)-------- Recommendations -----------------------------------------------------
General recommendations:
MySQL started within last 24 hours - recommendations may be inaccurate
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
*** MySQL's maximum memory usage is dangerously high ***
*** Add RAM before increasing MySQL buffer variables ***
query_cache_limit (> 1M, or use smaller result sets)
table_cache (> 768)
[/code]
解决方案 »
- RPM安装MYSQL没有用
- 大家都用什么数据库设计软件?
- 【散分】某神奇的BUG,据说五年勒——ALTER ADD TIMESTAMP值为零BUG
- 安装mysql5.026时 copy文件时提示 error 1335错误。是怎么回事呢。
- 搞不明白的查询!
- 数据库空字段问题
- 求列出一个时间段内的所有日期的SQL.
- 笔试两次都栽在sql语句的题上了,崩溃了,求助!
- 我的机器是AMD64 X2的CPU,怎么我下载的MYSQL不能安装?
- 分表后如何保证某一字段的值是唯一??
- 为什么我的mysql表记录数一超过400万就会有奇怪的问题
- 通过php网页向mysql中保存一个“晅”字每次都是乱码,请达人解决
[OK] Query cache prunes per day: 74
[OK] Temporary tables created on disk: 8% (72on disk /886 total)
[OK] Thread cache hit rate: 67% (119 created /370 connections)
[!!] Table cache hit rate: 0% (275 open / 1M opened)
还有这个,不知道怎么解决
[OK] Open file limit used: 7% (389/5K)
[OK] Table locks acquired immediately: 99% (1M immediate / 1M locks)以上都是OK项啊,不用关注。下面这个是软件给你的建议, 但首先声明了由于你的mysql监视未满 24小时,结果未必准确。General recommendations:
MySQL started within last 24 hours - recommendations may be inaccurate
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
*** MySQL's maximum memory usage is dangerously high ***
*** Add RAM before increasing MySQL buffer variables ***
query_cache_limit (> 1M, or use smaller result sets)
table_cache (>768)该软件认为,你的的内存使用得过高,建议添加内存条,然后调大 query_cache_limit 和 table_cache 参数。
建议自己再看一下操作系统层上的监控报告。