Skip to content

Commit

Permalink
modify configuration online: change a name for consistency (#6301) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Aug 31, 2021
1 parent 856f2cf commit 28750ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dynamic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,11 @@ For detailed parameter description, refer to [PD Configuration File](/pd-configu

### Modify TiDB configuration online

Currently, the method of changing TiDB configuration is different from that of changing TiKV and PD configurations. You can modify TiDB configuration by using [SQL variables](/system-variables.md).
Currently, the method of changing TiDB configuration is different from that of changing TiKV and PD configurations. You can modify TiDB configuration by using [system variables](/system-variables.md).

The following example shows how to modify `slow-threshold` online by using the `tidb_slow_log_threshold` variable. The default value of `slow-threshold` is 200 ms. You can set it to 200 ms by using `tidb_slow_log_threshold`.
The following example shows how to modify `slow-threshold` online by using the `tidb_slow_log_threshold` variable.

The default value of `slow-threshold` is 300 ms. You can set it to 200 ms by using `tidb_slow_log_threshold`.

{{< copyable "sql" >}}

Expand Down

0 comments on commit 28750ca

Please sign in to comment.