提交 864f021c 编写于 作者: M Mel Kiyama 提交者: David Yozie

docs - clarify text for resource group CPU core usage in catalog tables. (#10023)

* docs - clarify text for resource group CPU core usage in catalog tables.

* docs - minor edits
上级 a1369e7c
......@@ -1701,8 +1701,11 @@
</row>
<row class="- topic/row ">
<entry colname="col1" class="- topic/entry ">cpu_usage</entry>
<entry colname="col2" class="- topic/entry ">The real-time CPU usage of the resource
group on each Greenplum Database segment's host.</entry>
<entry colname="col2" class="- topic/entry ">A set of key-value pairs. For each
segment instance (the key), the value is the real-time, per-segment instance CPU
core usage by a resource group. The value is the sum of the percentages (as a
decimal value) of CPU cores that are used by the resource group for the segment
instance.</entry>
</row>
<row class="- topic/row ">
<entry colname="col1" class="- topic/entry ">memory_usage</entry>
......@@ -1712,17 +1715,17 @@
</tbody>
</tgroup>
</table>
<p> </p>
<p id="json_field_info1">The <codeph>cpu_usage</codeph> field is a JSON-formatted, key:value
string that identifies, for each resource group, the per-segment CPU usage percentage. The
key is segment id, the value is the percentage of CPU usage by the resource group on the
segment host. The total CPU usage of all segments running on a segment host should not
exceed the <codeph>gp_resource_group_cpu_limit</codeph>. Example
<codeph>cpu_usage</codeph> column
output:<codeblock>
{"-1":0.01, "0":0.31, "1":0.31}</codeblock></p>
<p>In this example, segment <codeph>0</codeph> and segment <codeph>1</codeph> are running on
the same host; their CPU usage is the same.</p>
string that identifies, for each resource group, the per-segment instance CPU core usage.
The key is the segment id, the value is the sum of the percentages (as a decimal value) of
the CPU cores used by the segment instance's resource group on the segment host. For
example, if a segment host has 8 cores, the maximum value can be 8.00 (1.00 for 8 CPU
cores). The total CPU usage of all segment instances running on a host should not exceed
the <codeph>gp_resource_group_cpu_limit</codeph>. Example <codeph>cpu_usage</codeph>
column output:<codeblock>
{"-1":0.01, "0":0.31, "1":0.31}</codeblock>In the example,
segment <codeph>0</codeph> and segment <codeph>1</codeph> are running on the same host;
their CPU usage is the same.</p>
<p id="json_field_info2">The <codeph>memory_usage</codeph> field is also a JSON-formatted,
key:value string. The string contents differ depending upon the type of resource group.
For each resource group that you assign to a role (default memory auditor
......@@ -1778,8 +1781,9 @@
</row>
<row>
<entry colname="col1"><codeph>cpu</codeph></entry>
<entry colname="col2">The real-time CPU usage of the resource group on the
host.</entry>
<entry colname="col2">The real-time CPU core usage by the resource group on a host.
The value is the sum of the percentages (as a decimal value) of the CPU cores that
are used by the resource group on the host.</entry>
</row>
<row>
<entry colname="col1"> <codeph>memory_used</codeph> </entry>
......@@ -1867,9 +1871,13 @@
segment host.</entry>
</row>
<row>
<entry colname="col1"> <codeph>cpu</codeph> </entry>
<entry colname="col4">The real-time CPU usage of the resource group for the
segment instance on the host.</entry>
<entry colname="col1">
<codeph>cpu</codeph>
</entry>
<entry colname="col4">The real-time, per-segment instance CPU core usage by the
resource group on the host. The value is the sum of the percentages (as a decimal
value) of the CPU cores that are used by the resource group for the segment
instance.</entry>
</row>
<row>
<entry colname="col1"> <codeph>memory_used</codeph> </entry>
......
......@@ -86,8 +86,11 @@
<codeph>cpu_usage</codeph>
</entry>
<entry colname="col2">json</entry>
<entry colname="col3"></entry>
<entry colname="col4">The real-time CPU usage of the resource group on each Greenplum Database segment's host.</entry>
<entry colname="col3"/>
<entry colname="col4">A set of key-value pairs. For each segment instance (the key), the
value is the real-time, per-segment instance CPU core usage by a resource group. The
value is the sum of the percentages (as a decimal value) of CPU cores that are used by
the resource group for the segment instance.</entry>
</row>
<row>
<entry colname="col1">
......
......@@ -55,9 +55,10 @@
<codeph>cpu</codeph>
</entry>
<entry colname="col2">numeric</entry>
<entry colname="col3"></entry>
<entry colname="col4">The real-time CPU usage of the resource group on the
host.</entry>
<entry colname="col3"/>
<entry colname="col4">The real-time CPU core usage by the resource group on a host. The
value is the sum of the percentages (as a decimal value) of the CPU cores that are
used by the resource group on the host.</entry>
</row>
<row>
<entry colname="col1">
......
......@@ -64,9 +64,10 @@
<codeph>cpu</codeph>
</entry>
<entry colname="col2">numeric</entry>
<entry colname="col3"></entry>
<entry colname="col4">The real-time CPU usage of the resource group for the
segment instance on the host.</entry>
<entry colname="col3"/>
<entry colname="col4">The real-time, per-segment instance CPU core usage by the resource
group on the host. The value is the sum of the percentages (as a decimal value) of the
CPU cores that are used by the resource group for the segment instance.</entry>
</row>
<row>
<entry colname="col1">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册