フワシ。~
#contents

**slow query [#u42f7e67]
***slow query・・ー、ホタ゚ト遙ハMySQL 5.5。ヒ [#refc4335]
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~
:: 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

・ネ・テ・ラ   ハヤスク コケハャ 写酌識失竺識捨釈 ナコノユ ハ」タス フセチーハムケケ ・・。シ・ノ   ソキオャ ーヘ ク。コ コヌスェケケソキ   ・リ・・ラ   コヌスェケケソキ、ホRSS