처음부터 설정을 바꾸지 말고, 사용자 증상과 DB 내부 대기, 문제 SQL,
실행 계획을 순서대로 연결한다.
SymptomWaitFix
1. 증상 확인latency, timeout, error, TPS 변화 확인2. 리소스 분리CPU, I/O, memory, connection pool 상태 확인3. 대기 분석wait event, lock, replication lag, slow log 확인4. SQL 특정digest, SQL ID, 실행 계획, 실제 row 수 비교
fix조치인덱스, SQL 수정, 배치 분리, 트랜잭션 축소verify검증변경 전후 latency, DB Time, plan, wait 감소 확인learn기록원인, 탐지 신호, 재발 방지 알림을 runbook에 남김