說是資料庫中存在大量慢查詢記錄,執行時間過長導致資源耗盡。咋個辦?mysql-bin.XXXXXXX都刪除了mysql-bin.index裡面mysql-bin.XXXXXXX都刪除了mysql-slow.log重建了log-bin=mysql-binbinlog_format=mixedserver-id = 1expire_logs_days = 10slow_format=mixedserver-id = 1expire_logs_days = 10slow_query_log=0slow -query-log-file=/www/server/data/mysql-slow.loglong_query_time=1#log_queries_not_using_indexes=on
看看能不能建立索引來優化