Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
*: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically #8094
What problem does this PR solve?
Changing the slow log threshold in TiDB needs to reboot the server to affect.
What is changed and how it works?
Add a variable "tidb_slow_log_threshold" to set the threshold by SQL.
Won't support this until we support https://dev.mysql.com/doc/refman/8.0/en/persisted-system-variables.html.