doc-exports/docs/dws/dev/dws_04_0742.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 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-05-16 07:24:04 +00:00

71 lines
5.7 KiB
HTML

<a name="EN-US_TOPIC_0000001188163612"></a><a name="EN-US_TOPIC_0000001188163612"></a>
<h1 class="topictitle1">PG_PREPARED_XACTS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188163612__a4759be61c76341a995590316bb745c4b"><strong id="EN-US_TOPIC_0000001188163612__b842352706174651">PG_PREPARED_XACTS</strong> displays information about transactions that are currently prepared for two-phase commit.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188163612__ta70abfbeec76437ba38ff91f4625a6d3" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_PREPARED_XACTS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188163612__r185d4f332ec641ff80fac828b53db9d5"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001188163612__a93fcff9a14d74ee99479dc40f16a46e7"><strong id="EN-US_TOPIC_0000001188163612__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001188163612__a07b480e031384d8d8dd4aa6d5bac1cbe">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001188163612__a73aa0dac1fad49bd89518d7f24b73fd5">Reference</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001188163612__a34b82852621e474583c4e38340fca9b1">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188163612__rebcd2fdd55de427cb55597bfaf27725b"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163612__a1b081b800e89412c880ed7151f96abb4">transaction</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163612__abddc01e28fc7405896592f36f176833e">xid</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163612__aee815730dbf0444b8139ed5751f46dad">-</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163612__a71e5157b81414460880b2ea6bf29ac70">Numeric transaction identifier of the prepared transaction</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163612__re1a592a971564417bb7abd37d27f879a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163612__a807bdccd5e264a5b84219aed8cfda17b">gid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163612__abedb72fde5f34729878f19146098ad63">text</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163612__ae54ef7c7e1914461ac7421755a40f1b2">-</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163612__a1fd5d4c2a4d1482caba5fe9a423160e2">Global transaction identifier that was assigned to the transaction</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163612__r2a02b1b8406747759ff41670f0c96b0f"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163612__ae94a23854a784b07b29d5de924517941">prepared</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163612__a84f41d78807e4c51a02f3ecca17870eb">timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163612__ae1cf9f5327cf48d58b258840f0bdf149">-</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163612__a7868fc9cf56f491099cd4dafeb1c8e60">Time at which the transaction is prepared for commit</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163612__r1050ee778b634c9b84e553a959b7e315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163612__ad922883db40948318df1be1d7640f594">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163612__addbb98b6b23f4d4aa6f9316194750f2e">name</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163612__a7514602e57184e2eb49fb0616c78d8f9"><a href="dws_04_0574.html">PG_AUTHID</a>.rolname</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163612__abf8f4bc859944a409c25e9928f2c75d2">Name of the user that executes the transaction</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163612__rfba23c2380e64454a192a787b2c999a9"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163612__a78efad1883cf46bcb5f07b1283271c04">database</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163612__a9da4f383975d4aa8b06b393fb1369588">name</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163612__aa6667efc27a5439384368899ec92d6bc"><a href="dws_04_0582.html">PG_DATABASE</a>.datname</p>
</td>
<td class="cellrowborder" valign="top" width="35%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163612__a59702f37b5774f26b88b2664fbb9a7bf">Name of the database in which the transaction is executed</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>