본문 바로가기
Database/MYSQL

log_slow_slave_statements

by 반화넬 2020. 10. 19.
반응형

3. Admin 관련 명령어 혹은 slave 의 sql_thread 에 의해 실행된 명령어중 long_query_time 이상으로 실행된 명령어를 찾는다.

# User@Host: root[root] @ [192.168.74.202] Id: 17 # Query_time: 3.362235 Lock_time: 0.007825 Rows_sent: 0 Rows_examined: 0 SET timestamp=1469352147; alter table tester add index b(b);

반응형