mySQL調優(定位慢查詢並優化)

慢查詢 什麼是慢查詢? MySQL默認的慢查詢時間是10秒 慢查詢都會有日誌存放 —————— 使用show status使用show status查看MySQL服務器狀態信息 —————— –mysql數據庫啓動了多少時間 show status like ‘uptime’; show stauts like ‘com_select’ show stauts like ‘com_insert’
相關文章
相關標籤/搜索