0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RDS(MySQL) でスローログが出力されなくなる場合がある

Posted at

環境

  • RDS
  • MySQL 5.6.34

事象

  • RDS(MySQL)でtable出力していたスローログをCloudWatch Logsに出力しようとしたが、寝ても覚めても出力されなかった
  • 設定したパラメータでスローログ関連のものの値は以下の通り(設定は間違っていない)
slow_query_log=1
log_output=FILE
long_query_time=1

対応

  • パラメータ:slow_query_log を 0 にして保存し、再度 1 に変更するだけで出力されるようになった
  • RDSでMySQLを使っている場合に一部で発生しているRDSのバグらしいが、詳細な条件は不明
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?