Target | News |
Subject | Maintenance for MySQL |
Summary | I've found many queries like DELETE FROM xp_session WHERE sess_updated < 1151347298; in /var/log/mysql_slow_queriesCertainly, the table of session is write/delete much frequently.It cause fragmentation of the table."mysqlcheck -o --all-databases" red... |
書き込み(Insert / Update / Delete)が頻繁に行われているテーブルにOptimizeをかけると、稀にですがテーブル内の情報がおかしくなる場合があった気がするので。