doc-exports/docs/dws/dev/dws_04_0725.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
14 KiB
HTML

<a name="EN-US_TOPIC_0000001188163694"></a><a name="EN-US_TOPIC_0000001188163694"></a>
<h1 class="topictitle1">PG_COMM_SEND_STREAM</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188163694__a454da818c8804280862357020d6cb6ff"><strong id="EN-US_TOPIC_0000001188163694__b173627408">PG_COMM_SEND_STREAM</strong> displays the sending 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_0000001188163694__t8f40295666674f099367295a3ec0de61" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_COMM_SEND_STREAM columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188163694__ra796f19fb8364d5fafbe0d9c4258b2ac"><th align="left" class="cellrowborder" valign="top" width="25.77%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001188163694__a7ac6f622d46944f996b690572cf6b6e3"><strong id="EN-US_TOPIC_0000001188163694__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.73%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001188163694__a61bad816987549d99d70e4257737eed0">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="57.49999999999999%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001188163694__a31c815e9353c4af88397bfdd306811ba">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188163694__r1549c6549e8349a89f8ca17f084b9030"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__afe83ae6b56564e67b5beb90a895ea9b2">node_name</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a2c1396ef773a4524b53cd2b2a417e05b">text</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a6fea384a8a44447788f9f309c216d4ea">Node name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r5304a562b3d943babace5215d26070c0"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a98134b5073dc495d920b2e75dfefb746">local_tid</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a029efb5ddf8c4e52a5576159e1207c06">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__afd5ffb09cb1143958d89eb673dd415db">ID of the thread using this stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r6cf8153c1d73410a8b9a63a870c8a00d"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a633df8205fd54dddaed1e7e722c9b89e">remote_name</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__aa1d77380c66c4869964520b606cef039">text</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__afd50071b1ab94131bfdbcc598e555a21">Name of the peer node </p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r6c84a96d05704dd481d3f8d740005582"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a7875e3a827284375b36fdf878d9081fd">remote_tid</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__ae048f4ba1fe045938c5e9a36405f5aee">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a2eb1f0f894084c029aa0c62ba024959d">Peer thread ID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r7f3d1b9e0d3f40d7b5ca79b5dc23fa85"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a6f253667f52f4647a9735f38bf353eaa">idx</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a126d0405fde64ee99ee600e810fb89cf">integer</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__aaf8db17776eb44589d718783ddc14bb3">Peer DN ID in the local DN</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r5c3c1cf70d4d4708938ae2a575aaed50"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__ac0a7c5793fda47ea9d095f3f14988fb6">sid</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__aa68165c4c8dc496c82260e4f32826628">integer</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__afc5f1665df604143a607090274c3b90d">Stream ID in the physical connection</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__rd3550a9e4e7b4d799e4240f23b6e4c34"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a80db3e3ea6ae4844b734d5e620448ee4">tcp_sock</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a06347adfb699415f875a3f06eb96b559">integer</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a8fb7054d3dd34900864cc6c76a95de03">TCP socket used in the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r176a039dfda14b22b4dc01bed10b40ce"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a86ee131182d844e08d726ccf67231f82">state</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__ac29633c941fb431f8691837d1e86292d">text</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a748c4e78ca844b54b448a2c93e7308ba">Current status of the stream</p>
<ul id="EN-US_TOPIC_0000001188163694__ul925253412512"><li id="EN-US_TOPIC_0000001188163694__li101063466544"><strong id="EN-US_TOPIC_0000001188163694__b1862113114010">UNKNOWN</strong>: The logical connection is unknown.</li><li id="EN-US_TOPIC_0000001188163694__li1610616468545"><strong id="EN-US_TOPIC_0000001188163694__b12311189174010">READY</strong>: The logical connection is ready.</li><li id="EN-US_TOPIC_0000001188163694__li610611462541"><strong id="EN-US_TOPIC_0000001188163694__b7383192612404">RUN</strong>: The logical connection sends packets normally.</li><li id="EN-US_TOPIC_0000001188163694__li210612468542"><strong id="EN-US_TOPIC_0000001188163694__b54951928144018">HOLD</strong>: The logical connection is waiting to send packets.</li><li id="EN-US_TOPIC_0000001188163694__li161079468542"><strong id="EN-US_TOPIC_0000001188163694__b8762161311402">CLOSED</strong>: The logical connection is closed.</li><li id="EN-US_TOPIC_0000001188163694__li122521134162513"><strong id="EN-US_TOPIC_0000001188163694__b139332015401">TO_CLOSED</strong>: The logical connection is to be closed.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r2667416bd8ad4202b4a8634421446521"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a3d4626a6133e4c03a31448c4e2e6d2a8">query_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a1b4ab38555144bc9b7cf73101f8f1d54">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__aa2fae46ffb8049cbbaf640272f32e4f6"><strong id="EN-US_TOPIC_0000001188163694__b84235270616574">debug_query_id</strong> corresponding to the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__rc85ee51ea07242be985646555dba4a51"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a1060a11ac0d04ba3ac79678bbe2df76e">pn_id</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a817d1a91ef704da9b76e2bbc0060b638">integer</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a98f97c1d78ec4b7487f89c09e9c0de19"><strong id="EN-US_TOPIC_0000001188163694__b842352706165755">plan_node_id</strong> of the query executed by the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__rabed04f0c6694192872618da2fac5859"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a2c1159057478475896c728cfa6591943">send_smp</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__aed6ed63b1a304602b27b4a3314a9ff95">integer</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a29d62bb604de44b69f082c592a5244c3"><strong id="EN-US_TOPIC_0000001188163694__b296147190">smpid</strong> of the sender of the query executed by the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r895d497114114cea88e79797c162495d"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a24ea4965f768440eb230b7cbbbba2fa8">recv_smp</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__aac15e3e3e4f74e56a830f72bea0e4a18">integer</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a6ed67e18007f4fb1b10d6d536a98d195"><strong id="EN-US_TOPIC_0000001188163694__b565221901212615">smpid</strong> of the receiver of the query executed by the stream</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r45cd1561af33418a9aae92e5d876de05"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a0b64b348c86343d1bfa554893589a082">send_bytes</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a54c8c111963d4a4bb95d1c316ca8c9df">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a231637389fcc4166b129b90cde92c439">Total data volume sent by the stream. The unit is Byte.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__re02d8682327a4f9fa3e6b6512dcbc1c7"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a72639fea68d3439d97e9a3407fd98dde">time</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a80c7bc3b31934229b0c0af5dd06f8858">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__ab6821d994edb4b05a78204bf73a52e37">Current life cycle service duration of the stream. The unit is ms.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r8f7562148fbd4376a1b93ae97b0ccae7"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a413bce0681bc447cbb065310069b309f">speed</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a105d2f3fbfb3424e80bd11182dd95172">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__ae3dcd3edf074425fb453fbf8b35e92f2">Average sending rate of the stream. The unit is Byte/s.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r4176d246fa454b52b29e6cb7a912a798"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__af9d20e3b14c344f6aae2c4ebf345277d">quota</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__aa100023f457c4caaa4330e5e0e0aa46f">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__a415f5d790992480eb0a14dde0f5d1cf9">Current communication quota value of the stream. The unit is Byte.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163694__r2e3dc8e9f043409b8ba1e69363ab8c25"><td class="cellrowborder" valign="top" width="25.77%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163694__a57f799788da5470aa213b12ddd1b3ef6">wait_quota</p>
</td>
<td class="cellrowborder" valign="top" width="16.73%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163694__a489a62fde9bd485087931a5c2ea26a1f">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="57.49999999999999%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163694__ab146cec09f8a48b7ad10deaa25a0aa03">Extra time generated when the stream waits the quota value. The unit is ms.</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>