forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
80 lines
6.9 KiB
HTML
80 lines
6.9 KiB
HTML
<a name="EN-US_TOPIC_0000001764651060"></a><a name="EN-US_TOPIC_0000001764651060"></a>
|
|
|
|
<h1 class="topictitle1">GS_WORKLOAD_SQL_COUNT</h1>
|
|
<div id="body1578646990810"><p id="EN-US_TOPIC_0000001764651060__p8060118"><strong id="EN-US_TOPIC_0000001764651060__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_0000001764651060__b84356256504">SELECT</strong>, <strong id="EN-US_TOPIC_0000001764651060__b6436125135019">UPDATE</strong>, <strong id="EN-US_TOPIC_0000001764651060__b174372025165010">INSERT</strong>, and <strong id="EN-US_TOPIC_0000001764651060__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_0000001764651060__table991091311370" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="EN-US_TOPIC_0000001764651060__b198814189511">GS_WORKLOAD_SQL_COUNT</strong> columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764651060__row1910213113713"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001764651060__p891011343715"><strong id="EN-US_TOPIC_0000001764651060__b143708522443633">Column</strong></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_0000001764651060__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_0000001764651060__p179111813103711">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001764651060__row291161343720"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p291111135377">Workload Cgroup name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764651060__row14911713133715"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p129117132370">Number of <strong id="EN-US_TOPIC_0000001764651060__b788182917513">SELECT</strong> statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764651060__row865082410399"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p4650172433910">Number of <strong id="EN-US_TOPIC_0000001764651060__b189183419518">UPDATE</strong> statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764651060__row1856242117391"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p185629214394">Number of <strong id="EN-US_TOPIC_0000001764651060__b2714183775113">INSERT</strong> statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764651060__row16171519143913"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p41710195393">Number of <strong id="EN-US_TOPIC_0000001764651060__b151251040155118">DELETE</strong> statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764651060__row1241918143919"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p142014873914">Number of <strong id="EN-US_TOPIC_0000001764651060__b929974214511">DDL</strong> statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764651060__row1150012153912"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p15150412133915">Number of <strong id="EN-US_TOPIC_0000001764651060__b1710854519517">DML</strong> statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764651060__row10911121313715"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764651060__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_0000001764651060__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_0000001764651060__p139119137373">Number of <strong id="EN-US_TOPIC_0000001764651060__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>
|
|
|