Skip to content

Commit

Permalink
Update the description of tidb_distsql_scan_concurrency (#4401)
Browse files Browse the repository at this point in the history
* update the description of tidb_distsql_scan_concurrency

* 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
CharLotteiu and TomShawn authored Dec 17, 2020
1 parent d8076e2 commit e519708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ Constraint checking is always performed in place for pessimistic transactions (d
- This variable is used to set the concurrency of the `scan` operation.
- Use a bigger value in OLAP scenarios, and a smaller value in OLTP scenarios.
- For OLAP scenarios, the maximum value cannot exceed the number of CPU cores of all the TiKV nodes.
- If a table has a lot of partitions, you can reduce the variable value appropriately to avoid TiKV becoming out of memory (OOM).

### tidb_dml_batch_size

Expand Down

0 comments on commit e519708

Please sign in to comment.