This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new b31acee856 [typo](docs) Changes to expressions in workload group
(#23609)
b31acee856 is described below
commit b31acee856cec52e45eb8a9550efb2fd39bf4cfc
Author: echo-dundun <[email protected]>
AuthorDate: Sun Sep 3 09:13:12 2023 +0800
[typo](docs) Changes to expressions in workload group (#23609)
---
.../Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md | 2 +-
.../Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
b/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
index 186d073a61..a9712040b1 100644
---
a/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
+++
b/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
@@ -49,7 +49,7 @@ illustrate:
Properties supported by property_list:
-* cpu_share: Required, used to set how much cpu time the workload group can
acquire, which can achieve soft isolation of cpu resources. cpu_share is a
relative value indicating the weight of cpu resources available to the running
workload group. For example, if a user creates 3 workload groups rg-a, rg-b and
rg-c with cpu_share of 10, 30 and 40 respectively, and at a certain moment rg-a
and rg-b are running tasks while rg-c has no tasks, then rg-a can get 25% (10 /
(10 + 30)) of the cpu [...]
+* cpu_share: Required, used to set how much cpu time the workload group can
acquire, which can achieve soft isolation of cpu resources. cpu_share is a
relative value indicating the weight of cpu resources available to the running
workload group. For example, if a user creates 3 workload groups rg-a, rg-b and
rg-c with cpu_share of 10, 30 and 40 respectively, and at a certain moment rg-a
and rg-b are running tasks while rg-c has no tasks, then rg-a can get (10 / (10
+ 30)) = 25% of the cp [...]
* memory_limit: Required, set the percentage of be memory that can be used by
the workload group. The absolute value of the workload group memory limit is:
`physical_memory * mem_limit * memory_limit`, where mem_limit is a be
configuration item. The total memory_limit of all workload groups in the system
must not exceed 100%. Workload groups are guaranteed to use the memory_limit
for the tasks in the group in most cases. When the workload group memory usage
exceeds this limit, tasks in t [...]
diff --git
a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
index 9ab0f26dfa..58219523e7 100644
---
a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
+++
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-WORKLOAD-GROUP.md
@@ -49,7 +49,7 @@ PROPERTIES (
property_list 支持的属性:
-* cpu_share: 必选,用于设置资源组获取cpu时间的多少,可以实现cpu资源软隔离。cpu_share
是相对值,表示正在运行的资源组可获取cpu资源的权重。例如,用户创建了3个资源组 rg-a、rg-b和rg-c,cpu_share 分别为
10、30、40,某一时刻rg-a和rg-b正在跑任务,而rg-c没有任务,此时rg-a可获得 25% (10 / (10 +
30))的cpu资源,而资源组rg-b可获得75%的cpu资源。如果系统只有一个资源组正在运行,则不管其cpu_share的值为多少,它都可以获取全部的cpu资源。
+* cpu_share: 必选,用于设置资源组获取cpu时间的多少,可以实现cpu资源软隔离。cpu_share
是相对值,表示正在运行的资源组可获取cpu资源的权重。例如,用户创建了3个资源组 rg-a、rg-b和rg-c,cpu_share 分别为
10、30、40,某一时刻rg-a和rg-b正在跑任务,而rg-c没有任务,此时rg-a可获得 (10 / (10 + 30)) = 25%
的cpu资源,而资源组rg-b可获得75%的cpu资源。如果系统只有一个资源组正在运行,则不管其cpu_share的值为多少,它都可以获取全部的cpu资源。
* memory_limit: 必选,用于设置资源组可以使用be内存的百分比。资源组内存限制的绝对值为:`物理内存 * mem_limit *
memory_limit`,其中 mem_limit 为be配置项。系统所有资源组的
memory_limit总合不可超过100%。资源组在绝大多数情况下保证组内任务可使用memory_limit的内存,当资源组内存使用超出该限制后,组内内存占用较大的任务可能会被cancel以释放超出的内存,参考
enable_memory_overcommit。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]