forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
133 lines
11 KiB
HTML
133 lines
11 KiB
HTML
<a name="EN-US_TOPIC_0000001188163654"></a><a name="EN-US_TOPIC_0000001188163654"></a>
|
|
|
|
<h1 class="topictitle1">GS_WLM_INSTANCE_HISTORY</h1>
|
|
<div id="body1579000286216"><p id="EN-US_TOPIC_0000001188163654__p8060118">The <strong id="EN-US_TOPIC_0000001188163654__b356912920136">GS_WLM_INSTANCE_HISTORY</strong> system catalog stores information about resource usage related to CN or DN instances. Each record in the system table indicates the resource usage of an instance at a specific time point, including the memory, number of CPU cores, disk I/O, physical I/O of the process, and logical I/O of the process.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188163654__table175231552565" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="EN-US_TOPIC_0000001188163654__b10321183615300">GS_WLM_INSTANCE_HISTORY</strong> column</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188163654__row85231552065"><th align="left" class="cellrowborder" valign="top" width="17.43%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001188163654__p652335213618">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.57%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001188163654__p952315216614">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001188163654__p195238521862">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001188163654__row1452314522062"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p85233528619">instancename</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p45239521366">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p135233522061">Instance name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row952325215615"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p1352375216616">timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p1252375216617">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p7523145212618">Timestamp</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row752395218615"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p05231752360">used_cpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p14523952163">int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p135232521165">CPU usage of an instance</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row2052325218610"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p752355218614">free_mem</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p1452319522618">int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p452416520620">Unused memory of an instance (unit: MB)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row10524165216615"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p1524252462">used_mem</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p1652416524617">int</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p185248526611">Used memory of an instance (unit: MB)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row9524175219610"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p1952417521162">io_await</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p55241852463">real</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p252411521265">Specifies the <strong id="EN-US_TOPIC_0000001188163654__b27941555191816">io_wait</strong> value (average value within 10 seconds) of the disk used by an instance.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row12524752562"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p75248521661">io_util</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p105246521764">real</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p1524952167">Specifies the <strong id="EN-US_TOPIC_0000001188163654__b126307619202">io_util</strong> value (average value within 10 seconds) of the disk used by an instance.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row195241521669"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p1052455218611">disk_read</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p1052417527615">real</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p577545873512">Specifies the disk read rate (average value within 10 seconds) of an instance (unit: KB/s).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row452418528614"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p15524145214619">disk_write</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p55244521963">real</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p852411521064">The disk write rate (average value within 10 seconds) of an instance (unit: KB/s).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row05241952968"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p1152414529615">process_read</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p352410521067">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p1452410528610">Specifies the read rate (excluding the number of bytes read from the disk pagecache) of the corresponding instance process that reads data from a disk. (Unit: KB/s)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row185242528614"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p952435210618">process_write</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p145243524611">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p145245521961">Specifies the write rate (excluding the number of bytes written to the disk pagecache) of the corresponding instance process that writes data to a disk within 10 seconds. (Unit: KB/s)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row7524952862"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p952417521767">logical_read</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p252414526615">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p497345154017">CN instance: N/A</p>
|
|
<p id="EN-US_TOPIC_0000001188163654__p79731451154010">DN instance: Specifies the logical read byte rate of the instance in the statistical interval (10 seconds). (Unit: KB/s)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row135252052966"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p052511521460">logical_write</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p45251521366">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p10400171410419">CN instance: N/A</p>
|
|
<p id="EN-US_TOPIC_0000001188163654__p12401914134118">DN instance: Specifies the logical write byte rate of the instance within the statistical interval (10 seconds). (Unit: KB/s)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row852513521069"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p195252524616">read_counts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p1525105219612">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p11861122217413">CN instance: N/A</p>
|
|
<p id="EN-US_TOPIC_0000001188163654__p20861182210416">DN instance: Specifies the total number of logical read operations of the instance in the statistical interval (10 seconds).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163654__row8525052867"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163654__p852519521066">write_counts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.57%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163654__p05256521619">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163654__p65004318417">CN instance: N/A</p>
|
|
<p id="EN-US_TOPIC_0000001188163654__p3500931204113">DN instance: Specifies the total number of logical write operations of the instance in the statistical interval (10 seconds).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
|
|
</div>
|
|
</div>
|
|
|