doc-exports/docs/dws/dev/dws_04_0845.html
Lu, Huayi ef0ada5a59 DWS DEV 20240716 version
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>
2024-11-02 09:07:47 +00:00

80 lines
6.3 KiB
HTML

<a name="EN-US_TOPIC_0000001510162645"></a><a name="EN-US_TOPIC_0000001510162645"></a>
<h1 class="topictitle1">PGXC_WORKLOAD_TRANSACTION</h1>
<div id="body1577348477711"><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510522653__s9530ecdd2b0d4a98b67b66e32bf8e5d0">enable_resource_track</a> is <strong id="EN-US_TOPIC_0000001510162645__b1234112216585">on</strong>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001510162645__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_0000001510162645__row0628733162911"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001510162645__adac79827fc8b409c9ebdf192fc83c036">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_0000001510162645__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_0000001510162645__a39c3692586c645c58ce0cb75e87e452c">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001510162645__row6977182117116"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p557120401218">Node name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001510162645__row797911211114"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p25719406118">Workload Cgroup name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001510162645__row189801521116"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p85716402114">Number of the commit times</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001510162645__row1198014211918"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p1571940812">Number of rollbacks</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001510162645__row298118211914"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p1857219401117">Minimum response time (unit: μs)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001510162645__row89825217111"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p1957215405110">Maximum response time (unit: μs)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001510162645__row1498216214113"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p1057217409111">Average response time (unit: μs)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001510162645__row89837211114"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510162645__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_0000001510162645__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_0000001510162645__p8573144012119">Total response time (unit: μs)</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>