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

101 lines
8.1 KiB
HTML

<a name="EN-US_TOPIC_0000001098655226"></a><a name="EN-US_TOPIC_0000001098655226"></a>
<h1 class="topictitle1">PG_STAT_XACT_SYS_TABLES</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001098655226__en-us_topic_0059777997_p153371641519"><strong id="EN-US_TOPIC_0000001098655226__b842352706144912">PG_STAT_XACT_SYS_TABLES</strong> displays the transaction status information of the system catalog in the namespace.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001098655226__t6aa9b026d2354193939d3ea93e93099d" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STAT_XACT_SYS_TABLES columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001098655226__r08770142820b44619b270aecb3b13126"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001098655226__aadbe763bf4cf43988294097e5704ccc7"><strong id="EN-US_TOPIC_0000001098655226__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_0000001098655226__a3c50ed3cbbbb4abca0bc692acf0ca162">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_0000001098655226__aecb5119fd3bb4567b4e8b7b06bd4c75f">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001098655226__r7acd5b14870b4c9185eac6ce26f50fc7"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__a8271444bda7345c5adbf91e8128129b0">relid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098655226__a30ec4f2e73754dd6af692bb84d265b45">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__a4cec0a52f6c449af9fd775dfff33452b">Table OID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__ra7dc472c912940eaa96dbd7012b8d6c8"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__ab9d44e23a80d4676bb777967a454c659">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098655226__a4a9b94e5055341f9b0051422d4df3bf4">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__a426e0464a8ec4fb6a1b690a1747661ab">Schema name of the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__r9d51bc642e7f476999141936a719eaf5"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__ace3517d65d1445e5999db60eaac3026e">relname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098655226__a1a6db4b06a0448298d21256df27b5c84">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__aa6447a9378974ca5bc23c56dbb8205f6">Table name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__rb559bffc2a354ee198125bdabf6c0360"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__af7bad679c7cf4c779fa0d0efd0aeff82">seq_scan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098655226__adf81a39636bf47a5a3fba6a612d74ec6">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__ac9bd71168ac545baad09712dc5bb0ae4">Number of sequential scans started on the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__rff8a3c95f5c0406daa0262f69e9dc3b3"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__a033e64e7493a493194e5bb20df1d5e14">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_0000001098655226__ae584069102454334a713726578a71422">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__af7f9df6f3942439bbaa37d9bf62186b7">Number of live rows fetched by sequential scans</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__r4c8603299a284bdab3e69b8901778f1d"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__a1ca011a3d4e843faad24fcc0a6c40372">idx_scan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098655226__aed9fc114ecae4b56a3343cb936b01905">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__a28d38c828b6441ad80eaea074ddf0f78">Number of index scans started on the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__r5cf0b5fe6f2148a19810e7b97767b2bf"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__a882033213f644f0e9f6dc5795a4f4acb">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_0000001098655226__a9ce076fd5a6648459cd1824f87bf3479">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__a82473f828fbc4461abda6965556465e6">Number of live rows fetched by index scans</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__race5dbddcaf04764b47af4240a01d45a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__ada7bfd6734ea4f1d9bd3ec2c9f8c8d63">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_0000001098655226__ac3d8ca2f3fa847e59b93adb4a7429ec4">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__a1bc39b26895c4e5db3173be700b4945a">Number of rows inserted</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__r8eb6654063ca47ae8d5ec3903530087d"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__a9ce7befa3a964e9a96c4a91b2c539ae8">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_0000001098655226__a46c1af93a3034d3c88e0deb31fb4d12f">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__a19b73ad408ec4ca4bd51c5668fcfe45b">Number of rows updated</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__re2efbd1634f34c32bf95229752fe5fe8"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__a57dceda57e5f4ea783a9be010995efe9">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_0000001098655226__a655160726a3b4770a193a6f292ec0c36">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__a12e1ba6c4a244bd6a7e268d76465149f">Number of rows deleted</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098655226__racb136d45f1f4f5b9f0a8e9478b55c0f"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098655226__a6d6516f67b2149539c164983a84eea23">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_0000001098655226__aff51fe1ed64846d793e0703614199acf">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098655226__adfbfb03aa4b249a2afb9732f6c14a019">Number of rows HOT updated (that is, with no separate index update 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>