フワシ。
slow query †
slow query・・ー、ホタ゚ト遙ハMySQL 5.5。ヒ †
my.cnf、ホ[mysqld]・サ・ッ・キ・逾、ヒーハイシ、ホタ゚ト熙ケヤ、ヲ。」
- my.cnf
[mysqld] 。チテ賽ャ。チ slow-query-log = 1 slow-query-log-file = /var/log/mysqld/mysqld_slow-queries.log log-queries-not-using-indexes long_query_time = 1
- タ゚トニ簣ニ
slow-query-log slow query・・ー、ホヘュク/フオク。」0=フオク。「1=ヘュク。。・ヌ・ユ・ゥ・・ネ=0 slow-query-log-file slow query、ホ・・ースミホマタ陦」mysqld、ホシツケヤ・譯シ・カ、ャス、ュケ、゚ク「クツ、サ、トホホー隍サリト熙ケ、。」・ユ・。・、・、ャツクコ゚、キ、ハ、、セケ遉マシォニーナェ、ヒコタョ、オ、、。」 log-queries-not-using-indexes ・、・・ヌ・テ・ッ・ケ、サネヘム、キ、ハ、、タ゚ト long_query_time ・・ー、ヒオュマソ、ケ、ス靉サエヨ、ホ酖ヘ、サリト遙ハテアーフ。ァノテ。ヒ
- サイケヘ
MySQL 5.5 Reference Manual
:: 5 MySQL Server Administration
:: 5.2 MySQL Server Logs
:: 5.2.5 The Slow Query Log
http://dev.mysql.com/doc/refman/5.5/en/slow-query-log.html
Last-modified: 2013-10-02 (ソ) 11:27:54 (3651d)