forked from docs/doc-exports
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>
144 lines
14 KiB
HTML
144 lines
14 KiB
HTML
<a name="EN-US_TOPIC_0000001233883257"></a><a name="EN-US_TOPIC_0000001233883257"></a>
|
|
|
|
<h1 class="topictitle1">PGXC_COMM_RECV_STREAM</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233883257__en-us_topic_0059778238_p155492619710"><strong id="EN-US_TOPIC_0000001233883257__b1110113454111">PG_COMM_RECV_STREAM</strong> displays the receiving stream status of the communication libraries for all the DNs.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233883257__t58f90c57be2641c4a4699b623165d81a" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PGXC_COMM_RECV_STREAM columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233883257__r7d6051c2498a411989749497d190cb4e"><th align="left" class="cellrowborder" valign="top" width="25.77%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233883257__af008b3aeb22d4ac596b63e0d5fcea331"><strong id="EN-US_TOPIC_0000001233883257__b84235270691445">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.719999999999999%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233883257__a415d996bf6b74776a14fadc23505bb6a">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60.51%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233883257__a2a0c6339beb84e9f96b6d5c46f239f2a">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233883257__rab384c69f65240e7b0680754832bd17e"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a86d3be44c06f484583b03be412aca385">node_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a02a64919a1bf4923beed0e08c965bcb6">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a481b025d7f1e44088831fced2d041447">Node name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r23099bbde084468296a51f80e473f6f3"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a622f03e0212f49f48f0356ce08863d96">local_tid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a985a40c602d545c19033852920366e1c">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a9217200729224f618e50a6611fbf4d97">ID of the thread using this stream</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r670d0145525c4c5891757a0204ef3ff3"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a41b1c5ceab91424bbce02b6eb187b2c7">remote_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a210a65fb863f4b6abe9282008e7aa41f">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a6e9b001ceebe468db14fa41be3f38798">Name of the peer node </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__rdd704e2e1c5b4ca2aaad5b7491c880f5"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a388ea31d679649e4baef00cab52d46f6">remote_tid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a17c7da0a8add4801b27515ac3084b68e">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__af2c512ed2223401bb76502815c5ece60">Peer thread ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__rb0987c85983e4aa38f502b9a547c324c"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a31b64426b5d94bcf9d9dd7410c422869">idx</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__aaf0a7eda2d874f0a89c5f70aeb29d9f7">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__afdab25f78a9447e0a09332ccbd159396">Peer DN ID in the local DN</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__rd0f48f4ee0644585a66847a536b2976f"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__ac54953674db54cde99616d25149675de">sid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__ace850a73d6744e70b585fff8ddbda605">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a98525708786443519e53a43a3be410a2">Stream ID in the physical connection</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r3e29a86a032d4daaa9154b0a725e05ea"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__ad145abffbfff454d8f9b31b983cf5914">tcp_sock</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a2a582fe7c91c4768ae3b2594e30b90a9">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a95753aba25e349b5a13348b86ff9ed24">TCP socket used in the stream</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r91a5021a4b35476094dbeadcc1659e65"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a5576d7f4276e46cab9418446a3da2380">state</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a32d98a76dfba4b8f92ed7012f7448c82">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__afb36208bf4ae4f52a652445da4a1a5b3">Current status of the stream</p>
|
|
<ul id="EN-US_TOPIC_0000001233883257__ul925253412512"><li id="EN-US_TOPIC_0000001233883257__li101063466544"><strong id="EN-US_TOPIC_0000001233883257__b10798143184119">UNKNOWN</strong>: The logical connection is unknown.</li><li id="EN-US_TOPIC_0000001233883257__li1610616468545"><strong id="EN-US_TOPIC_0000001233883257__b1084520444115">READY</strong>: The logical connection is ready.</li><li id="EN-US_TOPIC_0000001233883257__li610611462541"><strong id="EN-US_TOPIC_0000001233883257__b38501057414">RUN</strong>: The logical connection receives packets normally.</li><li id="EN-US_TOPIC_0000001233883257__li210612468542"><strong id="EN-US_TOPIC_0000001233883257__b112351778410">HOLD</strong>: The logical connection is waiting to receive packets.</li><li id="EN-US_TOPIC_0000001233883257__li161079468542"><strong id="EN-US_TOPIC_0000001233883257__b188514813414">CLOSED</strong>: The logical connection is closed.</li><li id="EN-US_TOPIC_0000001233883257__li122521134162513"><strong id="EN-US_TOPIC_0000001233883257__b18501684417">TO_CLOSED</strong>: The logical connection is to be closed.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r1081d874dcd94a8d9a134783d13359a3"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a0fe636c5320940e698e396d30f7c12ea">query_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a042e512224e04290bbb5fc2618f06d55">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a4dd5a8a913d548f9ba1113d6cde4ca6e"><strong id="EN-US_TOPIC_0000001233883257__b7778611114112">debug_query_id</strong> corresponding to the stream</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r422b14ecae414a2388be993f34d0471e"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a4f24a3a29305409a98d79a626d6657c6">pn_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a69032d9dc6954cab830a6e673003140f">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a62adb23bd7a14b6486f14b1d70bcde3c"><strong id="EN-US_TOPIC_0000001233883257__b1466321524111">plan_node_id</strong> of the query executed by the stream</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__rff14f8479c43451b8c8732ead85ccd3e"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a7f47971b654542faa5a1485c6f5a6b22">send_smp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__ac828743ed4744adfa120242decd79bf1">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a257bed4a1ec64c36b73be5195584cd91"><strong id="EN-US_TOPIC_0000001233883257__b78511318204119">smpid</strong> of the sender of the query executed by the stream</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r66bd2fbd364346baaf6decaf313df3f9"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a33f5d208626c475cb30466135dbc3ba5">recv_smp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__ac3bd377ce7a64aba9b1489b70831e72c">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a0e0530238186471e88552e1e4ac61651"><strong id="EN-US_TOPIC_0000001233883257__b96655220414">smpid</strong> of the receiver of the query executed by the stream</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r2b5702764e134c1c97d1ec22b54ead14"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a6580aec3f8a046a595add2990fafefeb">recv_bytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a52f0542e3bdd43beb71bddd0a1fdc549">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__ad39a250ab4b84cc786f495648cab5cf4">Total data volume received from the stream. The unit is byte.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r23d2167bda774c0b8cdef9877c9fbdcc"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a43eaf6260ad7428f817779f411014697">time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a7f359e3ca10d476a8dbeb9539207a8bd">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a9b1f5bef9480435da107447c0b815191">Current life cycle service duration of the stream. The unit is ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r29f1697806564da8a834f8efdab08728"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__a337b47c11d4f4b389230b1f25d296c79">speed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a3896473aae0e42928fa60fcc6b57a545">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__aeb64c81ae0a2420ba8969dcd9dadebe0">Average receiving rate of the stream. The unit is byte/s.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__r8d875d60ed4e483d98748322f89343e7"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__aa1824ce08f174b66a910378d0144e164">quota</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__ad43403714e2046c0a55211daf98e30da">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a201e48e79fa6435bbdd04a7d738eb899">Current communication quota value of the stream. The unit is Byte.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233883257__rbb6b6086fec941ac9db774a74183fe65"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883257__ad5f0cf804c5943ae9214416a1f716c0a">buff_usize</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.719999999999999%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883257__a7ad1360377dd4f9d983bab9d13eab087">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.51%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883257__a3132bfb362834e8ea913f0d57d876662">Current size of the data cache of the stream. The unit is byte.</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>
|
|
|