mysql - mysqltuner - Sorts requiring temporary tables -
i'm new stackoverflow, that's first shot :)
i have issue mysql db. running performance issues, decided use mysqltuner. result is
[--] 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)
obviously i'm having many temporary tables created.
but mean? problem caused missing index or something?
i appreciate help.
thank you
check limit temporary table in memory sure point not written table disk.
https://www.percona.com/blog/2007/01/19/tmp_table_size-and-max_heap_table_size/
Comments
Post a Comment