This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 04fd8f787d8 session vars used to control scanner (#1173) 04fd8f787d8 is described below commit 04fd8f787d882c87e462d091842ec42f157e45b9 Author: zhiqiang <seuhezhiqi...@163.com> AuthorDate: Wed Oct 16 23:22:23 2024 +0800 session vars used to control scanner (#1173) # Versions - [x] dev - [x] 3.0 - [x] 2.1 - [ ] 2.0 # Languages - [x] Chinese - [x] English https://github.com/apache/doris/pull/39927 --- docs/query/query-variables/variables.md | 9 +++++++++ .../current/query/query-variables/variables.md | 8 ++++++++ .../version-2.1/query/query-variables/variables.md | 8 ++++++++ .../version-3.0/query/query-variables/variables.md | 8 ++++++++ versioned_docs/version-2.1/query/query-variables/variables.md | 9 +++++++++ versioned_docs/version-3.0/query/query-variables/variables.md | 9 +++++++++ 6 files changed, 51 insertions(+) diff --git a/docs/query/query-variables/variables.md b/docs/query/query-variables/variables.md index 873741a9cd1..739cf4fd4f1 100644 --- a/docs/query/query-variables/variables.md +++ b/docs/query/query-variables/variables.md @@ -700,6 +700,15 @@ Optional values: Controls whether to extend variant column in desc table_name. The default value is false. +* `enable_adaptive_pipeline_task_serial_read_on_limit` + + When enabled, the pipeline task concurrency will be adjusted automatically. When the scan node has no filter conditions and the limit parameter is less than the number of rows specified in `adaptive_pipeline_task_serial_read_on_limit`, the parallelism of the scan will be set to 1. + +* `adaptive_pipeline_task_serial_read_on_limit` + + When `enable_adaptive_pipeline_task_serial_read_on_limit` is enabled, the number of rows at which the parallelism of the scan will be set to 1. + Default value is `10000` + *** #### Supplementary instructions on statement execution timeout control diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/query/query-variables/variables.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/query/query-variables/variables.md index fe952a6dec9..4c4808598fb 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/query/query-variables/variables.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/query/query-variables/variables.md @@ -691,6 +691,14 @@ try (Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:9030/ 是否展示 variant 的拆解列。默认为 false。 +* `enable_adaptive_pipeline_task_serial_read_on_limit` + + 开启后将会允许自动调整 pipeline task 的并发数。当 scan 节点没有过滤条件,且 limit 参数小于 `adaptive_pipeline_task_serial_read_on_limit` 中指定的行数时,scan 的并行度将会被设置为 1。 + +* `adaptive_pipeline_task_serial_read_on_limit` + + 当 enable_adaptive_pipeline_task_serial_read_on_limit 开启时,scan 的并行度将会被设置为 1 的行数阈值。默认值是 `10000`。 + *** #### 关于语句执行超时控制的补充说明 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query/query-variables/variables.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query/query-variables/variables.md index 631b7f1536b..f0dd96a103b 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query/query-variables/variables.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query/query-variables/variables.md @@ -707,6 +707,14 @@ try (Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:9030/ 是否展示 variant 的拆解列。默认为 false。 +* `enable_adaptive_pipeline_task_serial_read_on_limit` + + 开启后将会允许自动调整 pipeline task 的并发数。当 scan 节点没有过滤条件,且 limit 参数小于 `adaptive_pipeline_task_serial_read_on_limit` 中指定的行数时,scan 的并行度将会被设置为 1。 + +* `adaptive_pipeline_task_serial_read_on_limit` + + 当 enable_adaptive_pipeline_task_serial_read_on_limit 开启时,scan 的并行度将会被设置为 1 的行数阈值。默认值是 `10000`。 + *** #### 关于语句执行超时控制的补充说明 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query/query-variables/variables.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query/query-variables/variables.md index b11e2149dac..e8ad473a458 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query/query-variables/variables.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query/query-variables/variables.md @@ -691,6 +691,14 @@ try (Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:9030/ 是否展示 variant 的拆解列。默认为 false。 +* `enable_adaptive_pipeline_task_serial_read_on_limit` + + 开启后将会允许自动调整 pipeline task 的并发数。当 scan 节点没有过滤条件,且 limit 参数小于 `adaptive_pipeline_task_serial_read_on_limit` 中指定的行数时,scan 的并行度将会被设置为 1。 + +* `adaptive_pipeline_task_serial_read_on_limit` + + 当 enable_adaptive_pipeline_task_serial_read_on_limit 开启时,scan 的并行度将会被设置为 1 的行数阈值。默认值是 `10000`。 + *** #### 关于语句执行超时控制的补充说明 diff --git a/versioned_docs/version-2.1/query/query-variables/variables.md b/versioned_docs/version-2.1/query/query-variables/variables.md index 1a4c675f25a..0e5bc52e3d8 100644 --- a/versioned_docs/version-2.1/query/query-variables/variables.md +++ b/versioned_docs/version-2.1/query/query-variables/variables.md @@ -718,6 +718,15 @@ This feature is supported since the Apache Doris 2.0.2 version Controls whether to extend variant column in desc table_name. The default value is false. +* `enable_adaptive_pipeline_task_serial_read_on_limit` + + When enabled, the pipeline task concurrency will be adjusted automatically. When the scan node has no filter conditions and the limit parameter is less than the number of rows specified in `adaptive_pipeline_task_serial_read_on_limit`, the parallelism of the scan will be set to 1. + +* `adaptive_pipeline_task_serial_read_on_limit` + + When `enable_adaptive_pipeline_task_serial_read_on_limit` is enabled, the number of rows at which the parallelism of the scan will be set to 1. + Default value is `10000` + *** #### Supplementary instructions on statement execution timeout control diff --git a/versioned_docs/version-3.0/query/query-variables/variables.md b/versioned_docs/version-3.0/query/query-variables/variables.md index 93e137bf8d7..d3692081161 100644 --- a/versioned_docs/version-3.0/query/query-variables/variables.md +++ b/versioned_docs/version-3.0/query/query-variables/variables.md @@ -700,6 +700,15 @@ Optional values: Controls whether to extend variant column in desc table_name. The default value is false. +* `enable_adaptive_pipeline_task_serial_read_on_limit` + + When enabled, the pipeline task concurrency will be adjusted automatically. When the scan node has no filter conditions and the limit parameter is less than the number of rows specified in `adaptive_pipeline_task_serial_read_on_limit`, the parallelism of the scan will be set to 1. + +* `adaptive_pipeline_task_serial_read_on_limit` + + When `enable_adaptive_pipeline_task_serial_read_on_limit` is enabled, the number of rows at which the parallelism of the scan will be set to 1. + Default value is `10000` + *** #### Supplementary instructions on statement execution timeout control --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org