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

94 lines
7.6 KiB
HTML

<a name="EN-US_TOPIC_0000001233681687"></a><a name="EN-US_TOPIC_0000001233681687"></a>
<h1 class="topictitle1">PG_REPLICATION_SLOTS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233681687__en-us_topic_0059777747_p621602514547"><strong id="EN-US_TOPIC_0000001233681687__b842352706174622">PG_REPLICATION_SLOTS</strong> displays the replication node information.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233681687__ta4472e3dd3904da991fc386e0d8f43fb" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_REPLICATION_SLOTS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233681687__r777df7eb22874b95a50c5e23f95031a6"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233681687__ab74d474161ae48faaa9c5a4eefe223d2"><strong id="EN-US_TOPIC_0000001233681687__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_0000001233681687__adb6a5064c2ac40b88782fd088358cd6f">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_0000001233681687__a81ba6f23ffca45df936e978f60d680e8">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233681687__r433a44bd05614467bde843f505807e75"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__afe5963c73b1b4eb99a8140334513a9f0">slot_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__a9bf66eae4d5f4a25af641115e63cb579">text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__a3052185ca2444eb49d36a3ddb9c1e525">Name of a replication node</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__row439715123812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__p4397165116382">plugin</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__p103971151163812">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__p10397185113384">Name of the output plug-in of the logical replication slot</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__re72d4ef72a2e428d9de56a88acd7caf2"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__a7f8f4131e0ab4f28921b203c2b98852d">slot_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__a1c4a0048957c43af8f4f13faecccb17b">text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__acd61cba2885a4b588d2e40401caee7ac">Type of a replication node</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__rf1a5e01577f940da84467165355fe3b8"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__aef9d2ab22e2c4677bd650185e7a444e4">datoid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__a38edced2049546359a9a4e63071accc2">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__a8f810dc1008d4336b7fb6435aff5b75f">OID of the database on the replication node</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__r1eed715f5fd8493f816a95d6ac299a37"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__a5519ccd5b4e34623a9d930e6178c5b48">database</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__a58e3436af3b04f22a6b1c4e81e4cd406">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__aa1650eeb976a4dbf898a2f83c2797a54">Name of the database on the replication node</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__r1e91f727d8894e7092dd07c12d04c8bf"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__abf85cce886bb405d98e651af40885b00">active</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__ab5af9cbc5f594d83a50c1f4bf2aa78e0"><span id="EN-US_TOPIC_0000001233681687__text286717623711">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__a1eaa487245ab41c69469a134c51cf3f9">Whether the replication node is active</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__rdaf747c159034651ac85447f2199e886"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__a747dcda86c00401b9fd1018472bb8407">xmin</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__a89b9b4754ec542b8aa4cf03943c49b85">xid</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__a6e59681f406e47d2aa686de5774120bc">Transaction ID of the replication node</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__row1282185273916"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__p782145223911">catalog_xmin</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__p138215528391">text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__p9821152133915">ID of the earliest-decoded transaction corresponding to the logical replication slot</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__r962a6cb4a010453892d2a9c386711dbf"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__a13e5105dc0fc46fb915ffaf1dbbf853b">restart_lsn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__a6b00f951885649fba1fdc5e7009dc78b">text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__a1a8a2f949611471ca2bd6dee87e5ead2">Xlog file information on the replication node</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681687__rd5fb429885a54c6d9f77a4cbb64a2bc8"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681687__a05f84587885f47529c3cdbd906142fd7">dummy_standby</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681687__a104acf82f7df4c4087ecb53250f2ff30"><span id="EN-US_TOPIC_0000001233681687__text181108113718">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681687__a95bfe37eea844af989b0cda8bafc84b8">Whether the replication node is the dummy standby node</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>