2005年10月15日 - MySQL 中有內建的設定, 在my.cnf 中設定:log-slow-queries = [slow_query_log_filename]即可記錄查詢時間花費超過的10s的SQL 語法(Default).
blog.longwin.com.tw