Skip to content

Commit

Permalink
update system-variable for statements-summary and fixes statements (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored Apr 13, 2021
1 parent f30cd38 commit be6ffda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,8 @@ SET tidb_slow_log_threshold = 200;
- Scope: SESSION | GLOBAL
- Default value: 24 (the value of the default configuration file)
- Minimum value: 0
- Maximum value: 255
- This variable is used to set the history capacity of the statement summary.
### tidb_stmt_summary_internal_query <span class="version-mark">New in v4.0</span>
Expand All @@ -1102,18 +1104,24 @@ SET tidb_slow_log_threshold = 200;
- Scope: SESSION | GLOBAL
- Default value: 4096 (the value of the default configuration file)
- Minimum value: 0
- Maximum value: 2147483647
- This variable is used to control the length of the SQL string in the statement summary.
### tidb_stmt_summary_max_stmt_count <span class="version-mark">New in v4.0</span>
- Scope: SESSION | GLOBAL
- Default value: 200 (the value of the default configuration file)
- Minimum value: 0
- Maximum value: 32767
- This variable is used to set the maximum number of statements that the statement summary stores in memory.
### tidb_stmt_summary_refresh_interval <span class="version-mark">New in v4.0</span>
- Scope: SESSION | GLOBAL
- Default value: 1800 (the value of the default configuration file)
- Minimum value: 1
- Maximum value: 2147483647
- This variable is used to set the refresh time of the statement summary. The unit is second.
### tidb_store_limit <span class="version-mark">New in v3.0.4 and v4.0</span>
Expand Down
4 changes: 0 additions & 4 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ This document only describes the parameters that are not included in command-lin

## readpool.unified

> **Warning:**
>
> Unified read pool is still an experimental feature. It is **NOT** recommended that you use it in the production environment.
Configuration items related to the single thread pool serving read requests. This thread pool supersedes the original storage thread pool and coprocessor thread pool since the 4.0 version.

### `min-thread-count`
Expand Down

0 comments on commit be6ffda

Please sign in to comment.