Files
doc-exports/docs/dws/dev/dws_04_0694.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

90 lines
8.0 KiB
HTML

<a name="EN-US_TOPIC_0000001811490413"></a><a name="EN-US_TOPIC_0000001811490413"></a>
<h1 class="topictitle1">GS_SESSION_MEMORY_STATISTICS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001811490413__a1db20d4dca1145bd9f23470d702c79cd"><strong id="EN-US_TOPIC_0000001811490413__b842352706164353">GS_SESSION_MEMORY_STATISTICS</strong> displays load management information about memory usage of ongoing complex jobs executed by the current user.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001811490413__tda3efc05dd174d35a8713dddf345dd98" frame="border" border="1" rules="all"><caption><b>Table 1 </b>GS_SESSION_MEMORY_STATISTICS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001811490413__rf7d90f1946b54a55a76837472dacef14"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001811490413__a6f6bf6d93d404bb3a37205bae9dbd855"><strong id="EN-US_TOPIC_0000001811490413__b182924189943611">Column</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_0000001811490413__a980a03ca9c324af8ae1e8cc319a7488d">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_0000001811490413__aee3f7e5a78a34b6e89123378966307bc">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001811490413__rf97802fef33c4d2897a3e87ff3c7945f"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__a7c4c92c24d3e40a5aab74d0e14e4b245">datid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__afb3fbc99ac69492792ea8969b856c337">OID</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__ad1e5d80304f44f1cba19decf58780704">OID of the database the backend is connected to.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__r591ded7f02e34a5e8f9ed55c5915a32d"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__a3b6a5ee8a82843c69948247fe2f1b95d">usename</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__ab919fbfc1ff542ac89e513512394947b">Name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__a21f44d0d29a642e280bbb1bc8d0bc5c7">Username logged in to the backend.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__r620dad7d809c457eab62dde8d823033d"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__abab72bd0bb954abc9c44b83196bf902f">pid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__a116fec139e9d4e7f8115ca3ba3b448c3">Bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__aba06b405254840d09b155eaf99a57447">Backend thread ID.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__r897163de8e9948a3ba93a695690ca603"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__a80a3095044954953994e5ff181e4aa18">start_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__abd44e0a3daed4933b1df5897ba3ae7a3">Timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__abda4d7737a224ad39ac95d372ad00504">Start time of statement execution.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__r8db84bfe34634d0aa865cdbed693a1be"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__a32e12e2ab8f14fa9be23e99cba6a1757">min_peak_memory</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__ae06ab9102d504dcea45d171295141bf0">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__a9a91ecf99de0442a8db1e9d28de6971d">Minimum memory peak of a statement across all DNs, in MB</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__rdfaab643209348eca1d84b2d7b578a1b"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__aa9bc8843c27942469e8248684022f2cd">max_peak_memory</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__ac4586149016c4ebbad6a82ef994c26ce">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__a09c3a6d45de04f92ada6388d33c7999f">Maximum memory peak of a statement across all DNs, in MB</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__rd1584129041c41dcb3dc4ef11b0f16e7"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__a6e623d99347f4ae78fa9570c6f1cc57d">spill_info</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__ae84ae464a7c44e4cb6e46d27a8870c9c">Text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__a5cbf4495185e49c5a88099c81268a196">Spill information for the statement on all DNs. The options are:</p>
<p id="EN-US_TOPIC_0000001811490413__en-us_topic_0112535431_p6641547398"><strong id="EN-US_TOPIC_0000001811490413__b1243092019483">None</strong>: The statement has not been spilled to disks on any DNs.</p>
<p id="EN-US_TOPIC_0000001811490413__en-us_topic_0112535431_p864246393"><strong id="EN-US_TOPIC_0000001811490413__b1284632216482">All</strong>: The statement has been spilled to disks on all DNs.</p>
<p id="EN-US_TOPIC_0000001811490413__a2ba4575d96b34f15895c5b5f3d0a980e"><strong id="EN-US_TOPIC_0000001811490413__b7142192564819">[</strong><em id="EN-US_TOPIC_0000001811490413__i1114332515489">a</em><strong id="EN-US_TOPIC_0000001811490413__b914412259484">:</strong><em id="EN-US_TOPIC_0000001811490413__i1214517259486">b</em><strong id="EN-US_TOPIC_0000001811490413__b111468253481">]</strong>: The statement has been spilled to disks on <em id="EN-US_TOPIC_0000001811490413__i1148025164812">a</em> of <em id="EN-US_TOPIC_0000001811490413__i1814882514483">b</em> DNs.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__r3f6dd9d0510d48ab8154a610fce19230"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__afcbc50582ad54f6a80e0593dc51bd5db">query</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__ae119673755064efba747a9c403f92aa8">Text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__a0f2e0eff4b8e49c8adb7df3cf860db26">Statement currently being executed.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001811490413__row154664212341"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001811490413__p646772133417">node_group</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001811490413__p44671211349">Text</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001811490413__p8467629348">Logical cluster of the user running the statement.</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>