我想优化我的 mysql 数据库,因此在 my.cnf 中启用了 mysql 慢查询开关。我看到的是许多 sys_log 查询,其中包含来自我的扩展或其他扩展的许多表。这是一个慢查询吗?我怎样才能超越它?
# Query_time: 0 Lock_time: 0 Rows_sent: 538 Rows_examined: 23611
SELECT sys_log.event_pid, sys_log.recuid, sys_log.tablename, sys_log.userid,
sys_log.tstamp, be_users.realName, be_users.email FROM sys_log, be_users WHERE
sys_log.tablename IN
('tx_templavoila_datastructure','tx_templavoila_tmplobj','tx_chsystemrecherche_mo','tx_chsystemrecherche_s2','tx_chsystemrecherche_s3','tx_chsystemrecherche_s1','tx_chsystemreche che_da','tx_chsystemrecherche_de','tx_chsystemrecherche_wa','tx_chsystemrecherche_tb','tx_chsffoeag_fund','tx_charbeitsbeispiele_maxmedia','tx_chsammelstellen_plz','tx_chtreeview_example','tx_chspeditionsliste_route','tx_chspeditionsliste_k','tx_chhaendlersuche_plz','tx_veguestbook_entries','tx_lastupdate_custom','tt_content') AND sys_log.details_nr != 0 AND sys_log.userid = be_users.uid ORDER BY tstamp DESC LIMIT 0,1000;