Skip to content

Commit

Permalink
完善慢日志分析脚本 (#2548)
Browse files Browse the repository at this point in the history
当脚本与archery不在同一个服务器上运行,原有写法将会报错
  • Loading branch information
Grain-Yu authored Mar 23, 2024
1 parent 0b74338 commit 5f556a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/analysis_slow_query.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
#收集日志
#RDS需要增加--no-version-check选项
${pt_query_digest} \
--user=${archery_db_user} --password=${archery_db_password} --port=${archery_db_port} \
--user=${archery_db_user} --password=${archery_db_password} --host=${archery_db_host} --port=${archery_db_port} \
--review h=${archery_db_host},D=${archery_db_database},t=mysql_slow_query_review \
--history h=${archery_db_host},D=${archery_db_database},t=mysql_slow_query_review_history \
--no-report --limit=100% --charset=utf8 \
Expand Down

0 comments on commit 5f556a5

Please sign in to comment.