mysqltuner - 需要临时表的排序

时间:2014-04-14 12:48:22

标签: mysql database mysqltuner

我是stackoverflow的新手,所以这是我的第一次拍摄:)

我的Mysql DB存在问题。我遇到了一些性能问题,所以我决定使用mysqltuner。结果是

[--] Up for: 7m 42s (7K q [16.452 qps], 78 conn, TX: 927K, RX: 2M)
[--] Reads / Writes: 86% / 14%
[--] Total buffers: 2.1G global + 1.1M per thread (151 max threads)
[OK] Maximum possible memory usage: 2.3G (24% of installed RAM)
[OK] Slow queries: 0% (16/7K)
[OK] Highest usage of available connections: 2% (4/151)
[OK] Key buffer size / total MyISAM indexes: 1.0G/834.4M
[OK] Key buffer hit rate: 99.1% (8M cached / 79K reads)
[!!] Query cache efficiency: 0.0% (0 cached / 4K selects)
[OK] Query cache prunes per day: 0
[!!] Sorts requiring temporary tables: 376% (2K temp sorts / 675 sorts)
[OK] Temporary tables created on disk: 0% (13 on disk / 7K total)
[OK] Thread cache hit rate: 94% (4 created / 78 connections)
[OK] Table cache hit rate: 26% (102 open / 384 opened)
[OK] Open file limit used: 1% (63/5K)
[OK] Table locks acquired immediately: 100% (13K immediate / 13K locks)

显然我创建的临时表太多了。

但这意味着什么?这个问题是由缺少索引引起的吗?

我感谢任何帮助。

谢谢

0 个答案:

没有答案