提交 a1fcd70e 编写于 作者: L Lisa Owen 提交者: David Yozie

docs - resgroup memory_auditor updates to cat/view/gptoolkit (#4871)

* docs - resgroup memory_auditor to cat/view/gptoolkit

* cgroup mem usage output - used and limit_granted

* updates for code refactor that was just merged

* type to text
上级 44d4c948
......@@ -1623,6 +1623,10 @@
<entry colname="col1" class="- topic/entry ">proposed_memory_spill_ratio</entry>
<entry colname="col2" class="- topic/entry ">The pending memory spill ratio value for the resource group.</entry>
</row>
<row class="- topic/row ">
<entry colname="col1" class="- topic/entry ">memory_auditor</entry>
<entry colname="col2" class="- topic/entry ">The memory auditor for the resource group.</entry>
</row>
</tbody>
</tgroup>
</table>
......@@ -1703,13 +1707,17 @@
<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. This string identifies, for each resource group, the
used, available, granted, and proposed fixed and shared memory quota
allocations on each segment. The key is segment id. The values are
memory values displayed in MB units. Example
<codeph>memory_usage</codeph> column output for a
single segment:<codeblock>
"0":{"used":0, "available":76, "quota_used":-1, "quota_available":60, "quota_granted":60, "quota_proposed":60, "shared_used":0, "shared_available":16, "shared_granted":16, "shared_proposed":16}</codeblock></p>
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 <codeph>vmtracker</codeph>), this string
identifies the used, available, granted, and proposed fixed and shared memory
quota allocations on each segment. The key is segment id. The values are
memory values displayed in MB units. The following example shows
<codeph>memory_usage</codeph> column output for a single segment for a resource group that you assign to a role:<codeblock>
"0":{"used":0, "available":76, "quota_used":-1, "quota_available":60, "quota_granted":60, "quota_proposed":60, "shared_used":0, "shared_available":16, "shared_granted":16, "shared_proposed":16}</codeblock>
For each resource group that you assign to
an external component, the <codeph>memory_usage</codeph> JSON-formatted string identifies the memory used
and the memory limit on each segment. The following example shows
<codeph>memory_usage</codeph> column output for an external component resource group for a single segment: <codeblock>"1":{"used":11, "limit_granted":15}</codeblock></p>
</body>
</topic>
</topic>
......
......@@ -113,6 +113,14 @@
<entry colname="col3">pg_resgroupcapability.proposed for pg_resgroupcapability.reslimittype> = 5</entry>
<entry colname="col4">The pending memory spill ratio value for the resource group.</entry>
</row>
<row>
<entry colname="col1">
<codeph>memory_auditor</codeph>
</entry>
<entry colname="col2">text</entry>
<entry colname="col3">pg_resgroupcapability.value for pg_resgroupcapability.reslimittype = 6</entry>
<entry colname="col4">The memory auditor in use for the resource group.</entry>
</row>
</tbody>
</tgroup>
</table>
......
......@@ -47,7 +47,7 @@
<entry colname="col3">
<codeph></codeph>
</entry>
<entry colname="col4">The resource group limit type:<p>0 - Unknown</p><p>1 - Concurrency</p><p>2 - CPU</p><p>3 - Memory</p><p>4 - Memory shared quota</p><p>5 - Memory spill ratio</p>
<entry colname="col4">The resource group limit type:<p>0 - Unknown</p><p>1 - Concurrency</p><p>2 - CPU</p><p>3 - Memory</p><p>4 - Memory shared quota</p><p>5 - Memory spill ratio</p><p>6 - Memory auditor</p>
</entry>
</row>
<row>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册