[MySQL] Audit Log, Slow Query, Error Log 정리
·
Database | SQL | OS/MySQL | Maria
오늘은 MySQL 에서 장애 상황을 파악하기에 매우 중요한 Audit Log, Slow Query Log, Error Log를 정리해보려 합니다. 장애 상황이 생겼을 때나, 성능에 문제가 발생했을 때, Long Running Query가 발생했을 때 꼭 살펴봐야 합니다. 아래는 MySQL 의 공식 매뉴얼 문서입니다. 참고하면 좋을듯 하여 첨부합니다. MySQL :: MySQL 8.4 Reference Manual :: 7.4.2 The Error LogThis section discusses how to configure the MySQL server for logging of diagnostic messages to the error log. For information about selecting..