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>
90 lines
8.2 KiB
HTML
90 lines
8.2 KiB
HTML
<a name="EN-US_TOPIC_0000001510402365"></a><a name="EN-US_TOPIC_0000001510402365"></a>
|
|
|
|
<h1 class="topictitle1">GS_SESSION_MEMORY_STATISTICS</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001510402365__a1db20d4dca1145bd9f23470d702c79cd"><strong id="EN-US_TOPIC_0000001510402365__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_0000001510402365__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_0000001510402365__rf7d90f1946b54a55a76837472dacef14"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001510402365__a6f6bf6d93d404bb3a37205bae9dbd855"><strong id="EN-US_TOPIC_0000001510402365__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_0000001510402365__a980a03ca9c324af8ae1e8cc319a7488d">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.00000000000001%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001510402365__aee3f7e5a78a34b6e89123378966307bc">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001510402365__rf97802fef33c4d2897a3e87ff3c7945f"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__a7c4c92c24d3e40a5aab74d0e14e4b245">datid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001510402365__afb3fbc99ac69492792ea8969b856c337">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__ad1e5d80304f44f1cba19decf58780704">OID of the database the backend is connected to</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__r591ded7f02e34a5e8f9ed55c5915a32d"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__a3b6a5ee8a82843c69948247fe2f1b95d">usename</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001510402365__ab919fbfc1ff542ac89e513512394947b">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__a21f44d0d29a642e280bbb1bc8d0bc5c7">Name of the user logged in to the backend</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__r620dad7d809c457eab62dde8d823033d"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__abab72bd0bb954abc9c44b83196bf902f">pid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001510402365__a116fec139e9d4e7f8115ca3ba3b448c3">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__aba06b405254840d09b155eaf99a57447">ID of the backend thread</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__r897163de8e9948a3ba93a695690ca603"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__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_0000001510402365__abd44e0a3daed4933b1df5897ba3ae7a3">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__abda4d7737a224ad39ac95d372ad00504">Time when the statement starts to be executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__r8db84bfe34634d0aa865cdbed693a1be"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__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_0000001510402365__ae06ab9102d504dcea45d171295141bf0">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__a9a91ecf99de0442a8db1e9d28de6971d">Minimum memory peak of a statement across all DNs, in MB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__rdfaab643209348eca1d84b2d7b578a1b"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__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_0000001510402365__ac4586149016c4ebbad6a82ef994c26ce">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__a09c3a6d45de04f92ada6388d33c7999f">Maximum memory peak of a statement across all DNs, in MB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__rd1584129041c41dcb3dc4ef11b0f16e7"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__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_0000001510402365__ae84ae464a7c44e4cb6e46d27a8870c9c">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__a5cbf4495185e49c5a88099c81268a196">Statement spill information on all DNs.</p>
|
|
<p id="EN-US_TOPIC_0000001510402365__ad16d54aeaea84a25b97f51e55e65b015"><strong id="EN-US_TOPIC_0000001510402365__b2127710555105542">None</strong> indicates that the statement has not been spilled to disks on any DNs.</p>
|
|
<p id="EN-US_TOPIC_0000001510402365__a5d3ac8c6f2c84e13912fe91a993d3c22"><strong id="EN-US_TOPIC_0000001510402365__b1017127370105542">All</strong> indicates that the statement has been spilled to disks on every DN.</p>
|
|
<p id="EN-US_TOPIC_0000001510402365__ad6eca1faa9c34f56adda2225d85f4daa"><strong id="EN-US_TOPIC_0000001510402365__b1785027762105542">[</strong><em id="EN-US_TOPIC_0000001510402365__i1398457588105542">a</em><strong id="EN-US_TOPIC_0000001510402365__b152112722105542">:</strong><em id="EN-US_TOPIC_0000001510402365__i311845107105542">b</em><strong id="EN-US_TOPIC_0000001510402365__b1389772511105542">]</strong> indicates that the statement has been spilled to disks on <em id="EN-US_TOPIC_0000001510402365__i1471032597105542">a</em> of <em id="EN-US_TOPIC_0000001510402365__i1456265772105542">b</em> DNs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__r3f6dd9d0510d48ab8154a610fce19230"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__afcbc50582ad54f6a80e0593dc51bd5db">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001510402365__ae119673755064efba747a9c403f92aa8">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__a0f2e0eff4b8e49c8adb7df3cf860db26">Statement that is being executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001510402365__row154664212341"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001510402365__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_0000001510402365__p44671211349">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001510402365__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>
|
|
|