Skip to content

Commit

Permalink
Address a few minor changes in user docs as of 7.1 (#17199) (#17202)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Apr 15, 2024
1 parent 63e76fa commit 96d96ce
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
14 changes: 10 additions & 4 deletions dynamic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,16 @@ select @@tidb_slow_log_threshold;
The following TiDB configuration items can be modified dynamically:

| Configuration item | SQL variable | Description |
| :--- | :--- |
| `instance.tidb_enable_slow_log` | `tidb_enable_slow_log` | Whether to enable slow log |
| `instance.tidb_slow_log_threshold` | `tidb_slow_log_threshold` | The threshold of slow log |
| `instance.tidb_expensive_query_time_threshold` | `tidb_expensive_query_time_threshold` | The threshold of a expensive query |
| --- | --- | --- |
| `instance.tidb_enable_slow_log` | `tidb_enable_slow_log` | Controls whether to enable slow log |
| `instance.tidb_slow_log_threshold` | `tidb_slow_log_threshold` | Specifies the threshold of slow log |
| `instance.tidb_expensive_query_time_threshold` | `tidb_expensive_query_time_threshold` | Specifies the threshold of an expensive query |
| `instance.tidb_enable_collect_execution_info` | `tidb_enable_collect_execution_info` | Controls whether to record the execution information of operators |
| `instance.tidb_record_plan_in_slow_log` | `tidb_record_plan_in_slow_log` | Controls whether to record execution plans in the slow log |
| `instance.tidb_force_priority` | `tidb_force_priority` | Specifies the priority of statements that are submitted from this TiDB instance |
| `instance.max_connections` | `max_connections` | Specifies the maximum number of concurrent connections permitted for this TiDB instance |
| `instance.tidb_enable_ddl` | `tidb_enable_ddl` | Controls whether this TiDB instance can become a DDL owner |
| `pessimistic-txn.constraint-check-in-place-pessimistic` | `tidb_constraint_check_in_place_pessimistic` | Controls whether to defer the unique constraint check of a unique index to the next time when this index requires a lock or to the time when the transaction is committed |

### Modify TiFlash configuration dynamically

Expand Down
1 change: 1 addition & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4401,6 +4401,7 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).
- Scope: GLOBAL
- Persists to cluster: Yes
- Type: Integer
- Unit: Byte
- Default value: `0`
- Range: `[0, 1099511627776]`
- This variable sets the memory quota for the TiDB statistics cache.
Expand Down
2 changes: 1 addition & 1 deletion user-account-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ TiDB creates the `'root'@'%'` default account during the database initialization

## Set account resource limits

Currently, TiDB does not support setting account resource limits.
TiDB can limit the resources consumed by users using resource groups. For more information, see [Use resource control to achieve resource isolation](/tidb-resource-control.md).

## Assign account passwords

Expand Down

0 comments on commit 96d96ce

Please sign in to comment.