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

101 lines
8.1 KiB
HTML

<a name="EN-US_TOPIC_0000001460722560"></a><a name="EN-US_TOPIC_0000001460722560"></a>
<h1 class="topictitle1">PG_STAT_XACT_USER_TABLES</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001460722560__a47189ba02b094621a6b3d0ad13707f8c"><strong id="EN-US_TOPIC_0000001460722560__b9551171012553">PG_STAT_XACT_USER_TABLES</strong> displays the transaction status information of the user table in the namespace.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001460722560__tf2f480157d0b48b4886cadb2a8b307ac" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STAT_XACT_USER_TABLES columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001460722560__rec92d01364f4408fa64d3a20cf23dc10"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001460722560__a168a7c148d21429f817c3b568303b0e4"><strong id="EN-US_TOPIC_0000001460722560__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001460722560__aeccb20aabc294d87a94b68ecccd16a23">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_0000001460722560__aecea6f3b190b49358610a89ebb799d88">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001460722560__r296de5b1b8614345b6f28560d3937b9c"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a11282a2f23f541f89e05893816e6e258">relid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__a86db9b73f9d94c70a1245ae61bc18421">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a965216593fd24fc397cce9511b2412e2">Table OID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__r579db040542944409b0daacdc0de1a98"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a660469c14a1b45e68b30085d3e94dcd2">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__a2d7cf4f0b1de435394a5f12ad66f6315">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a6ccd6c1d126341f6be121379a693ce9e">Schema name of the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__r43b351fee7f3450d93e8ad44e91998f2"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a584f5ed161c947fdbf9e88f5564549d1">relname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__aa96ed83ed80a4368a6605d85e10099e5">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__af883b7625280444985e93dbde8e2690d">Table name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__r04a92d7fd5a14f9bb20adf9b520a7304"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__adb7af28f360a45b8b59c498ab8ba1637">seq_scan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__a92fea54fd1434f1cb580c31ba1e52e80">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a13653d877b624c16bf0b5b8aa3038c86">Number of sequential scans started on the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__rc1397657011f4174bff0ce86785cbd53"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a2f31e89b709f4f5cb98729d9bfe125da">seq_tup_read</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__a03f12708c1834994bb3bd71e507adc74">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a1fe69445445a46838ffcf3f5171697c5">Number of live rows fetched by sequential scans</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__re32eefd066c841d2a65a67e433830b87"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__aa5628cce1c4043ef9b6a5aa3946db780">idx_scan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__ad845c15b8fea4194a9eb11573bd40bb2">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a32c8d96a900e442781f65f400fdf9fb1">Number of index scans started on the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__re6a0823d5a0b4b6985b77edbf81b7648"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a0568711265ee4b75bd8f701b4305786f">idx_tup_fetch</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__a7e8293a3aa604b568a112b67878c7278">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__ad11af4dbb6684be98c28354a33e41563">Number of live rows fetched by index scans</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__r5ffa0facbf9b476fb8ba9162b44e37fc"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a44e04957b9d04b35a55d70797f74e319">n_tup_ins</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__afcdda9dd1073419aa0cdfeb556cfbbce">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__afa978a2e4faf4a9988c2a87b13ff5aba">Number of rows inserted</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__rc7a59b3698c64f5aa214168b7822bc48"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a6d3e687a41b84861a1a19d79dd2a4fc9">n_tup_upd</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__a5478249867ed47138c98526e5d8b9442">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a0f75a938397e4055a706c38b09c8eab1">Number of rows updated</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__rac0fbff7502e47fb8f88ed1722af0521"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a5eafb72cd273498d9942e9480efc47d9">n_tup_del</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__ac65fc02b1fb94224b147bda2940a0f94">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a15b0d3e82a0e44f1b44401f5c159f9e6">Number of rows deleted</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001460722560__r8d0a0e3bd71b43dc8f5076bd432cf194"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001460722560__a106059b4c99046f2a3b9b0a0b2e72971">n_tup_hot_upd</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001460722560__a8218d16d630c4ca7a4b5c9b1c0fd5844">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001460722560__a28f16201fbfe4cdba7bbf7d5c2bebcd7">Number of rows with HOT updates (no separate index update is required).</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>