You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2021/12/02 04:18:33 UTC

[iotdb] 06/06: udf_min_fragment_number_to_trigger_parallel_execution docs

This is an automated email from the ASF dual-hosted git repository.

rong pushed a commit to branch iotdb-1971
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 834dd92e22ae30a21b0e89d70c76e6935f346223
Author: Steve Yurong Su <ro...@apache.org>
AuthorDate: Thu Dec 2 12:16:25 2021 +0800

    udf_min_fragment_number_to_trigger_parallel_execution docs
---
 docs/UserGuide/Advanced-Features/UDF-User-Defined-Function.md    | 3 ++-
 docs/zh/UserGuide/Advanced-Features/UDF-User-Defined-Function.md | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/UserGuide/Advanced-Features/UDF-User-Defined-Function.md b/docs/UserGuide/Advanced-Features/UDF-User-Defined-Function.md
index 21bd6cd..72db91b 100644
--- a/docs/UserGuide/Advanced-Features/UDF-User-Defined-Function.md
+++ b/docs/UserGuide/Advanced-Features/UDF-User-Defined-Function.md
@@ -510,7 +510,8 @@ For more user permissions related content, please refer to [Account Management S
 
 ## Configurable Properties
 
-When querying by a UDF, IoTDB may prompt that there is insufficient memory. You can resolve the issue by configuring `udf_initial_byte_array_length_for_memory_control`, `udf_memory_budget_in_mb` and `udf_reader_transformer_collector_memory_proportion` in `iotdb-engine.properties` and restarting the server.
+* When querying by a UDF, IoTDB may prompt that there is insufficient memory. You can resolve the issue by configuring `udf_initial_byte_array_length_for_memory_control`, `udf_memory_budget_in_mb` and `udf_reader_transformer_collector_memory_proportion` in `iotdb-engine.properties` and restarting the server.
+* UDTFPlan can be split into several fragment plans, when the number of the fragment plans is over `udf_min_fragment_number_to_trigger_parallel_execution`, the executor would trigger a parallel execution. The property should be an integer and larger than 1. The default value is 2.
 
 
 
diff --git a/docs/zh/UserGuide/Advanced-Features/UDF-User-Defined-Function.md b/docs/zh/UserGuide/Advanced-Features/UDF-User-Defined-Function.md
index 1ea763b..d1a2811 100644
--- a/docs/zh/UserGuide/Advanced-Features/UDF-User-Defined-Function.md
+++ b/docs/zh/UserGuide/Advanced-Features/UDF-User-Defined-Function.md
@@ -453,7 +453,8 @@ SHOW FUNCTIONS
 
 ## 配置项
 
-在 SQL 语句中使用自定义函数时,可能提示内存不足。这种情况下,您可以通过更改配置文件`iotdb-engine.properties`中的`udf_initial_byte_array_length_for_memory_control`,`udf_memory_budget_in_mb`和`udf_reader_transformer_collector_memory_proportion`并重启服务来解决此问题。
+* 在 SQL 语句中使用自定义函数时,可能提示内存不足。这种情况下,您可以通过更改配置文件`iotdb-engine.properties`中的`udf_initial_byte_array_length_for_memory_control`,`udf_memory_budget_in_mb`和`udf_reader_transformer_collector_memory_proportion`并重启服务来解决此问题。
+* UDTFPlan 可以拆分成多个分片计划,当分片计划的数量超过`udf_min_fragment_number_to_trigger_parallel_execution`时,执行器会触发分片计划的并行执行。 该属性应该是一个大于 1 的整数,默认值为 2。
 
 ## 贡献 UDF