doc-exports/docs/dws/dev/dws_04_0709.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

80 lines
6.8 KiB
HTML

<a name="EN-US_TOPIC_0000001099134654"></a><a name="EN-US_TOPIC_0000001099134654"></a>
<h1 class="topictitle1">GS_WORKLOAD_SQL_COUNT</h1>
<div id="body1578646990810"><p id="EN-US_TOPIC_0000001099134654__p8060118"><strong id="EN-US_TOPIC_0000001099134654__b5434525165013">GS_WORKLOAD_SQL_COUNT</strong> displays statistics on the number of SQL statements executed in workload Cgroups on the current node, including the number of <strong id="EN-US_TOPIC_0000001099134654__b84356256504">SELECT</strong>, <strong id="EN-US_TOPIC_0000001099134654__b6436125135019">UPDATE</strong>, <strong id="EN-US_TOPIC_0000001099134654__b174372025165010">INSERT</strong>, and <strong id="EN-US_TOPIC_0000001099134654__b3437152512506">DELETE</strong> statements and the number of DDL, DML, and DCL statements.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001099134654__table991091311370" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="EN-US_TOPIC_0000001099134654__b198814189511">GS_WORKLOAD_SQL_COUNT</strong> columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001099134654__row1910213113713"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001099134654__p891011343715">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001099134654__p391181312379">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001099134654__p179111813103711">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001099134654__row291161343720"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p2911141393712">workload</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p1391131311379">name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p291111135377">Workload Cgroup name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099134654__row14911713133715"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p169110134376">select_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p139115137375">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p129117132370">Number of <strong id="EN-US_TOPIC_0000001099134654__b788182917513">SELECT</strong> statements</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099134654__row865082410399"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p2650162416391">update_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p17650424113914">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p4650172433910">Number of <strong id="EN-US_TOPIC_0000001099134654__b189183419518">UPDATE</strong> statements</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099134654__row1856242117391"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p115623214397">insert_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p1656211214395">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p185629214394">Number of <strong id="EN-US_TOPIC_0000001099134654__b2714183775113">INSERT</strong> statements</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099134654__row16171519143913"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p31771916397">delete_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p5171419163917">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p41710195393">Number of <strong id="EN-US_TOPIC_0000001099134654__b151251040155118">DELETE</strong> statements</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099134654__row1241918143919"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p114201588391">ddl_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p542098193912">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p142014873914">Number of <strong id="EN-US_TOPIC_0000001099134654__b929974214511">DDL</strong> statements</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099134654__row1150012153912"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p1515071215392">dml_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p171509128395">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p15150412133915">Number of <strong id="EN-US_TOPIC_0000001099134654__b1710854519517">DML</strong> statements</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099134654__row10911121313715"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001099134654__p19911313113719">dcl_count</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001099134654__p1791141312378">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001099134654__p139119137373">Number of <strong id="EN-US_TOPIC_0000001099134654__b1955694855112">DCL</strong> statements</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
</div>
</div>