Files
doc-exports/docs/dws/dev/dws_04_0845.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

80 lines
6.4 KiB
HTML

<a name="EN-US_TOPIC_0000001764491576"></a><a name="EN-US_TOPIC_0000001764491576"></a>
<h1 class="topictitle1">PGXC_WORKLOAD_TRANSACTION</h1>
<div id="body1577348477711"><p id="EN-US_TOPIC_0000001764491576__p8060118">PGXC_WORKLOAD_TRANSACTION provides transaction information about workload cgroups on all CNs. Only the system administrator or the preset role <strong id="EN-US_TOPIC_0000001764491576__b1059243815519">gs_role_read_all_stats</strong> can access this view. This view is valid only when the real-time resource monitoring function is enabled, that is, when <a href="dws_04_0922.html#EN-US_TOPIC_0000001811490709__s9530ecdd2b0d4a98b67b66e32bf8e5d0">enable_resource_track</a> is <strong id="EN-US_TOPIC_0000001764491576__b1234112216585">on</strong>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001764491576__table26271533142919" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PGXC_WORKLOAD_TRANSACTION columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764491576__row0628733162911"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001764491576__adac79827fc8b409c9ebdf192fc83c036"><strong id="EN-US_TOPIC_0000001764491576__b6013228884394">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_0000001764491576__a3cf907845c3d4bc687d6751797cb63ed">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_0000001764491576__a39c3692586c645c58ce0cb75e87e452c">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001764491576__row6977182117116"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p11570164015117">node_name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p6570124011115">Name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p557120401218">Node name.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491576__row797911211114"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p14571114016110">workload</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p1757110403117">Name</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p25719406118">Workload Cgroup name.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491576__row189801521116"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p15571140115">commit_counter</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p957164018119">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p85716402114">Number of the commits.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491576__row1198014211918"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p557164016113">rollback_counter</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p1157194013119">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p1571940812">Number of rollbacks.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491576__row298118211914"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p657234020114">resp_min</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p55729404115">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p1857219401117">Minimum response time, in microseconds.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491576__row89825217111"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p8572104018117">resp_max</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p1557244011115">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p1957215405110">Maximum response time, in microseconds.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491576__row1498216214113"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p457218404110">resp_avg</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p25727402015">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p1057217409111">Average response time, in microseconds.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001764491576__row89837211114"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491576__p9572640714">resp_total</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491576__p4573154011117">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491576__p8573144012119">Total response time, in microseconds.</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>