MySQL has several different logs that can help you find out what is going on inside mysqld:
Log Type | Information Written to Log |
The error log | Problems encountered starting, running, or stopping mysqld |
The general query log | Established client connections and statements received from clients |
The binary log | All statements that change data (also used for replication) |
The slow query log | All queries that took more than long_query_time seconds to execute or didn't use indexes |
Tsueng'blog - MySQL 設定 記錄執行過的 SQL 語法
SQL - MySQL Server 日常維護: Log 分析(mysqlsla)
沒有留言:
張貼留言