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>
88 lines
8.2 KiB
HTML
88 lines
8.2 KiB
HTML
<a name="EN-US_TOPIC_0000001233761877"></a><a name="EN-US_TOPIC_0000001233761877"></a>
|
|
|
|
<h1 class="topictitle1">GS_SESSION_MEMORY_STATISTICS</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233761877__a1db20d4dca1145bd9f23470d702c79cd"><strong id="EN-US_TOPIC_0000001233761877__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_0000001233761877__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_0000001233761877__rf7d90f1946b54a55a76837472dacef14"><th align="left" class="cellrowborder" valign="top" width="21.36%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233761877__a6f6bf6d93d404bb3a37205bae9dbd855"><strong id="EN-US_TOPIC_0000001233761877__b84235270691445">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233761877__a980a03ca9c324af8ae1e8cc319a7488d">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.42%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233761877__aee3f7e5a78a34b6e89123378966307bc">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233761877__rf97802fef33c4d2897a3e87ff3c7945f"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__a7c4c92c24d3e40a5aab74d0e14e4b245">datid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__afb3fbc99ac69492792ea8969b856c337">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__ad1e5d80304f44f1cba19decf58780704">OID of the database the backend is connected to</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__r591ded7f02e34a5e8f9ed55c5915a32d"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__a3b6a5ee8a82843c69948247fe2f1b95d">usename</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__ab919fbfc1ff542ac89e513512394947b">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__a21f44d0d29a642e280bbb1bc8d0bc5c7">Name of the user logged in to the backend</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__r620dad7d809c457eab62dde8d823033d"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__abab72bd0bb954abc9c44b83196bf902f">pid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__a116fec139e9d4e7f8115ca3ba3b448c3">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__aba06b405254840d09b155eaf99a57447">ID of the backend thread</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__r897163de8e9948a3ba93a695690ca603"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__a80a3095044954953994e5ff181e4aa18">start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__abd44e0a3daed4933b1df5897ba3ae7a3">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__abda4d7737a224ad39ac95d372ad00504">Time when the statement starts to be executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__r8db84bfe34634d0aa865cdbed693a1be"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__a32e12e2ab8f14fa9be23e99cba6a1757">min_peak_memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__ae06ab9102d504dcea45d171295141bf0">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__a9a91ecf99de0442a8db1e9d28de6971d">Minimum memory peak of a statement across all DNs, in MB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__rdfaab643209348eca1d84b2d7b578a1b"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__aa9bc8843c27942469e8248684022f2cd">max_peak_memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__ac4586149016c4ebbad6a82ef994c26ce">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__a09c3a6d45de04f92ada6388d33c7999f">Maximum memory peak of a statement across all DNs, in MB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__rd1584129041c41dcb3dc4ef11b0f16e7"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__a6e623d99347f4ae78fa9570c6f1cc57d">spill_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__ae84ae464a7c44e4cb6e46d27a8870c9c">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__a5cbf4495185e49c5a88099c81268a196">Statement spill information on all DNs.</p>
|
|
<ul id="EN-US_TOPIC_0000001233761877__ul4884143614376"><li id="EN-US_TOPIC_0000001233761877__li178842363372"><strong id="EN-US_TOPIC_0000001233761877__b160326771141552">None</strong> indicates that the statement has not been flushed to disks on any DNs.</li><li id="EN-US_TOPIC_0000001233761877__li11884113683716"><strong id="EN-US_TOPIC_0000001233761877__b100877133941552">All</strong> indicates that the statement has been flushed to disks on every DN.</li><li id="EN-US_TOPIC_0000001233761877__li1388493673718"><strong id="EN-US_TOPIC_0000001233761877__b7777494841552">[</strong><em id="EN-US_TOPIC_0000001233761877__i128594824441552">a</em><strong id="EN-US_TOPIC_0000001233761877__b170380596841552">:</strong><em id="EN-US_TOPIC_0000001233761877__i82659378941552">b</em><strong id="EN-US_TOPIC_0000001233761877__b60342433741552">]</strong> indicates that the statement has been flushed to disks on <em id="EN-US_TOPIC_0000001233761877__i159747631241552">a</em> of <em id="EN-US_TOPIC_0000001233761877__i124234871441552">b</em> DNs.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__r3f6dd9d0510d48ab8154a610fce19230"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__afcbc50582ad54f6a80e0593dc51bd5db">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__ae119673755064efba747a9c403f92aa8">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__a0f2e0eff4b8e49c8adb7df3cf860db26">Statement that is being executed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761877__row154664212341"><td class="cellrowborder" valign="top" width="21.36%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761877__p646772133417">node_group</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761877__p44671211349">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.42%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761877__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>
|
|
|