Files
doc-exports/docs/dws/dev/dws_04_0564.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

133 lines
11 KiB
HTML

<a name="EN-US_TOPIC_0000001764491116"></a><a name="EN-US_TOPIC_0000001764491116"></a>
<h1 class="topictitle1">GS_WLM_INSTANCE_HISTORY</h1>
<div id="body1579000286216"><p id="EN-US_TOPIC_0000001764491116__p8060118">The <strong id="EN-US_TOPIC_0000001764491116__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_0000001764491116__table175231552565" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="EN-US_TOPIC_0000001764491116__b10321183615300">GS_WLM_INSTANCE_HISTORY</strong> column</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764491116__row85231552065"><th align="left" class="cellrowborder" valign="top" width="17.43%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001764491116__p652335213618"><strong id="EN-US_TOPIC_0000001764491116__b10972742614346">Column</strong></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_0000001764491116__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_0000001764491116__p195238521862">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001764491116__row1452314522062"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p45239521366">Text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p135233522061">Instance name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491116__row952325215615"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__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_0000001764491116__p7523145212618">Timestamp</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491116__row752395218615"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p14523952163">Int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p135232521165">CPU usage of an instance</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491116__row2052325218610"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p1452319522618">Int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p452416520620">Unused memory of an instance (unit: MB)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491116__row10524165216615"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p1652416524617">Int</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p185248526611">Used memory of an instance (unit: MB)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491116__row9524175219610"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p55241852463">Real</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p252411521265">Specifies the <strong id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row12524752562"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p105246521764">Real</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p1524952167">Specifies the <strong id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row195241521669"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p1052417527615">Real</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row452418528614"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p55244521963">Real</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p852411521064">The disk write rate (average value within 10 seconds) of an instance (unit: KB/s).</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491116__row05241952968"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p352410521067">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row185242528614"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p145243524611">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row7524952862"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p252414526615">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p497345154017">CN instance: N/A</p>
<p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row135252052966"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p45251521366">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p10400171410419">CN instance: N/A</p>
<p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row852513521069"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p1525105219612">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p11861122217413">CN instance: N/A</p>
<p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__row8525052867"><td class="cellrowborder" valign="top" width="17.43%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491116__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_0000001764491116__p05256521619">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491116__p65004318417">CN instance: N/A</p>
<p id="EN-US_TOPIC_0000001764491116__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>