Skip to content

Commit

Permalink
Add config of TiFlash coprocessor thread pool (#4851)
Browse files Browse the repository at this point in the history
* Update tiflash-configuration.md

* Update tiflash-configuration.md

* Update tiflash-configuration.md

* Apply suggestions from code review

Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>

Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
  • Loading branch information
Joyinqin and TomShawn authored Feb 23, 2021
1 parent 23e923c commit c70ec82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tiflash/tiflash-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ delta_index_cache_size = 0
## are executed. The default value is 0 (in bytes), which means no limit.
max_memory_usage_for_all_queries = 0

## New in v5.0.0-rc. This item specifies the maximum number of cop requests that TiFlash Coprocessor executes at the same time. If the number of requests exceeds the specified value, the exceeded requests will queue. If the configuration value is set to 0 or not set, the default value is used, which is twice the number of physical cores.
cop_pool_size = 0
## New in v5.0.0-rc. This item specifies the maximum number of batch requests that TiFlash Coprocessor executes at the same time. If the number of requests exceeds the specified value, the exceeded requests will queue. If the configuration value is set to 0 or not set, the default value is used, which is twice the number of physical cores.
batch_cop_pool_size = 0

## Security settings take effect starting from v4.0.5.
[security]
## This configuration item enables or disables log redaction. If the configuration value
Expand Down

0 comments on commit c70ec82

Please sign in to comment.