Skip to content

Added attention to online parameter changes #4607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions dynamic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,22 @@ When using the `set config` statement, you can modify the configuration of a sin

- Modify the configuration of all TiKV instances:

{{< copyable "sql" >}}
> **Note:**
>
> It is recommended to wrap variable names in backticks.

```sql
set config tikv split.qps-threshold=1000
```
{{< copyable "sql" >}}

```sql
set config tikv `split.qps-threshold`=1000
```

- Modify the configuration of a single TiKV instance:

{{< copyable "sql" >}}

```sql
set config "127.0.0.1:20180" split.qps-threshold=1000
set config "127.0.0.1:20180" `split.qps-threshold`=1000
```

If the modification is successful, `Query OK` is returned:
Expand All @@ -90,7 +94,7 @@ If an error occurs during the batch modification, a warning is returned:
{{< copyable "sql" >}}

```sql
set config tikv log-level='warn';
set config `tikv log-level`='warn';
```

```sql
Expand Down Expand Up @@ -212,7 +216,7 @@ You can modify the PD configurations using the following statement:
{{< copyable "sql" >}}

```sql
set config pd log.level='info'
set config pd `log.level`='info'
```

If the modification is successful, `Query OK` is returned:
Expand Down