Skip to content

Commit

Permalink
system-variables: add tiflash_hashagg_preaggregation_mode (#18441)
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-shaoge authored Aug 19, 2024
1 parent ee5f9d5 commit 2ec1371
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -6158,6 +6158,19 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).

</CustomContent>

### tiflash_hashagg_preaggregation_mode <span class="version-mark">New in v8.3.0</span>

- Scope: SESSION | GLOBAL
- Persists to cluster: Yes
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): Yes
- Type: Enumeration
- Default value: `force_preagg`
- Value options: `force_preagg`, `force_streaming`, `auto`
- This variable controls the pre-aggregation strategy used during the first stage of two-stage or three-stage HashAgg operations pushed down to TiFlash:
- `force_preagg`: TiFlash forces pre-aggregation during the first stage of HashAgg. This behavior is consistent with the behavior before v8.3.0.
- `force_streaming`: TiFlash directly sends data to the next stage of HashAgg without pre-aggregation.
- `auto`: TiFlash automatically chooses whether to perform pre-aggregation based on the current workload's aggregation degree.
### tikv_client_read_timeout <span class="version-mark">New in v7.4.0</span>
- Scope: SESSION | GLOBAL
Expand Down

0 comments on commit 2ec1371

Please sign in to comment.