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

144 lines
13 KiB
HTML

<a name="EN-US_TOPIC_0000001233681711"></a><a name="EN-US_TOPIC_0000001233681711"></a>
<h1 class="topictitle1">PG_COMM_RECV_STREAM</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233681711__en-us_topic_0059778025_p18471945119"><strong id="EN-US_TOPIC_0000001233681711__b240311342396">PG_COMM_RECV_STREAM</strong> displays the receiving stream status of all the communication libraries for a single DN.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233681711__tb627ff77300e4257a9d9f96d4d5e7828" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_COMM_RECV_STREAM columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233681711__r32429ac9350e418dba1a08faf176adfa"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233681711__a826ed59371c64b0aa0cc46aed6afb413"><strong id="EN-US_TOPIC_0000001233681711__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_0000001233681711__a5e79d302657d4f63a91d012edb0c1735">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_0000001233681711__ad6ec7fdb804e4dcaaf36c17c8922023a">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233681711__r1a70d9bb3e4548fbabe942bc1c3ba1bf"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a89b34655320d4481aeb93d7ba10fe961">node_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a99b3025b208c4f93afe3f2dc5f7f3ed3">text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__adc6ac5d7c88647008161c0da48eb9781">Node name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r2b59318b721d4bdc80d863516140b311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a837f35aa863e4500ae9010c1d9d701c6">local_tid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a92eeaa0a6e4b4960abed2fadfbe9e852">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a62afcc8eb9194c59b8c6ac779fcd72bc">ID of the thread using this stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r5f3d52369f4548b99fab4ecde5ee65c6"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a62345a98fa6d4500a7fe55a41dc3a01e">remote_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__ab17d8bff0f904e11944b970cbb51246a">text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__aae634a76c5fe4a5489223a574fd37a06">Name of the peer node </p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r56c3fec1a0fa4c68982d299a44cb2319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a3709cdf738ba47b6a3af9eb80e0083bd">remote_tid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a6fb120de447b489b85cb86901210eb48">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a84321b1b65554f1085fa5b686d2a0fa5">Peer thread ID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__rb9e575119e6843bf9aabbf830480c5a6"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a0d3bd7b0174e4191be6f455358e809ff">idx</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__abddec75c85ad48e585591569f3512a87">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__ac820941d77ba4478b4db919555bca35d">Peer DN ID in the local DN</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r590bc41d7a7f434394a7d1dc7df03c4e"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a032db1c3341e47c1874ad353016adda0">sid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a1d0dfedacf574eba9ac9d84ecd18e6ca">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__ad5da0f2fb43141daaac34840bf0a51f0">Stream ID in the physical connection</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__rab4450c1a2b24d41bc35ed974a2cad7d"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__aad4145f8e4f9416186df583a052d893e">tcp_sock</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a724740bdb0d842dd9030aa1d9fb6ddad">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a5ac0b15ef1b84539879644c6e94812dc">TCP socket used in the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__rdd7cdcad4f954576b679f636a22f7e7a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a66bfe11d3f1f47e39c2815f82ec59134">state</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a947b87effd644b1ea65ab1c92af0ad7e">text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a7db7c5a3c6024279ae13c8be84c4592c">Current status of the stream</p>
<ul id="EN-US_TOPIC_0000001233681711__ul925253412512"><li id="EN-US_TOPIC_0000001233681711__li101063466544"><strong id="EN-US_TOPIC_0000001233681711__b1178644511372">UNKNOWN</strong>: The logical connection is unknown.</li><li id="EN-US_TOPIC_0000001233681711__li1610616468545"><strong id="EN-US_TOPIC_0000001233681711__b4376134873710">READY</strong>: The logical connection is ready.</li><li id="EN-US_TOPIC_0000001233681711__li610611462541"><strong id="EN-US_TOPIC_0000001233681711__b101901152113719">RUN</strong>: The logical connection receives packets normally.</li><li id="EN-US_TOPIC_0000001233681711__li210612468542"><strong id="EN-US_TOPIC_0000001233681711__b1397770153812">HOLD</strong>: The logical connection is waiting to receive packets.</li><li id="EN-US_TOPIC_0000001233681711__li161079468542"><strong id="EN-US_TOPIC_0000001233681711__b65271821103815">CLOSED</strong>: The logical connection is closed.</li><li id="EN-US_TOPIC_0000001233681711__li122521134162513"><strong id="EN-US_TOPIC_0000001233681711__b021133423810">TO_CLOSED</strong>: The logical connection is to be closed.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r62a7e0dcc888464994491bf7f7604164"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a12154aba15694dddabd13bee292b194f">query_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a6d9408ae303b42ceb12087ca3146c92c">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__ac31204bfc44343d49c0435f720792f9c"><strong id="EN-US_TOPIC_0000001233681711__b84235270616574">debug_query_id</strong> corresponding to the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__ra2051550c8f142e287efe31b8dc87233"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__ab5781a29365a41ada5aaf8211f0459ba">pn_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a9521f172da614e699efe3a9cb9379c72">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a5eed68c68ec74950b67617d858789d74"><strong id="EN-US_TOPIC_0000001233681711__b842352706165755">plan_node_id</strong> of the query executed by the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r116b49ff48a745fb9b3fae359ec3077a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__abdc95dbb9a7548dc81d4f44185eaad73">send_smp</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a795bb3ce76cd44cfb6beca65e957915e">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__aa6922f92225a4ffa9f25f9520a510dd8"><strong id="EN-US_TOPIC_0000001233681711__b1540782134">smpid</strong> of the sender of the query executed by the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r224ee014313a4417be4554f4a582e726"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__ad6e2352d425e4b8282c1052750aab8a1">recv_smp</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a2dd6d7731c5543b2a7c64fe98fa69dbd">integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__ae210367d03204def8b46cab3bd89fea7"><strong id="EN-US_TOPIC_0000001233681711__b565221901212615">smpid</strong> of the receiver of the query executed by the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__re338359f89a84d80ac39e9b6dac35087"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a42d2ddcbfdfc41b6bf82348ef8cd07ce">recv_bytes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a40e4014ab3be4a26bf5e1ae6f9551373">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a1c98382d3126465596dc74120d0e6e32">Total data volume received from the stream. The unit is byte.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r16ca50cf39ea4f918d714ae4ce21dce9"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a365a2072d29645e8b8020b1ef4510e69">time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a1a269ae256be4982b453869b5ede5e05">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a66d2f8e01db944abbc33a8b7d2177ef3">Current life cycle service duration of the stream. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__radd82d333f02444c94b062b3cdcf9492"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__a2bc0488605414b59a3b9d02dd08a374d">speed</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a173e34c2debf47478d4e38601e5d1247">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a437888b0dc7f4e639765e58784eed7cb">Average receiving rate of the stream. The unit is byte/s.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__rd7fbefdf8c014c8f90ff4e83d4b1c690"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__aa0a5a884ae2a4b6980292c2d263991c2">quota</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__ac02eae31e4ec4e17b346bbcf904857c0">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__ab957e3c218374b19b3a5eb4844cffff7">Current communication quota value of the stream. The unit is byte.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681711__r9eb166b23824499a8e83c0be44effbb2"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681711__aad21d71077f449e7afeefcf49cfea327">buff_usize</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681711__a70eec758348040428c95b81c4a26176a">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681711__a7e1672b765624835b441ed4249722ce1">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>