문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
database:mysql:anemometer [2013/03/28 16:02] kwon37xi |
database:mysql:anemometer [2013/04/22 18:55] kwon37xi |
||
---|---|---|---|
줄 5: | 줄 5: | ||
===== 설치 주의점 ===== | ===== 설치 주의점 ===== | ||
+ | * [[https:// | ||
* '' | * '' | ||
* ''/ | * ''/ | ||
+ | ===== 로그 분석해서 DB에 넣기 ===== | ||
+ | * [[http:// | ||
+ | * 기본적인 쿼리 분석해서 DB 넣기 스크립트< | ||
+ | pt-query-digest --user=anemometer --password=superSecurePass \ | ||
+ | --review h=db.example.com, | ||
+ | --history h=db.example.com, | ||
+ | --no-report --limit=0% \ | ||
+ | --filter=" | ||
+ | slow_query_log_file.log | ||
+ | </ | ||
+ | * '' | ||
+ | * '' | ||
+ | * 분석 결과 DB 관련 정보는 자신이 설정한대로 바꿔 넣는다. | ||
+ | * pt-query-digest 구 버전에서는 '' | ||
===== nginx에 설치 ===== | ===== nginx에 설치 ===== | ||
* '' | * '' | ||
줄 37: | 줄 52: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | ===== 결과 화면 컬럼 설명 ===== | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' |