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>
52 lines
4.2 KiB
HTML
52 lines
4.2 KiB
HTML
<a name="EN-US_TOPIC_0000001233563315"></a><a name="EN-US_TOPIC_0000001233563315"></a>
|
|
|
|
<h1 class="topictitle1">V$SESSION</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233563315__en-us_topic_0059777917_p456819618915"><strong id="EN-US_TOPIC_0000001233563315__b6614474358">V$SESSION</strong> displays all session information about the current session.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233563315__tdd1b8fb71ddd447480f7408d282f7b8e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>V$SESSION columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233563315__r5e4b75ad640e466fb1f8c23153bffe77"><th align="left" class="cellrowborder" valign="top" width="18.82%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233563315__aa74dd6e02ef94106a51a82bc2b031873"><strong id="EN-US_TOPIC_0000001233563315__b84235270691445">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.91%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233563315__a5ecc5d0299ba4072b1f2ba04b05052d4">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.27000000000001%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233563315__af533afc91d354cd496b5067d99c0ea87">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233563315__redabf7d0013f460da33db13a941433a5"><td class="cellrowborder" valign="top" width="18.82%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563315__ad47849179eda485a9be5ad182c89c872">sid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.91%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563315__ae7c16baee13a4d96b25434bc1e59cc58">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.27000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563315__af478beea1de3428987a90532bcd7221c">OID of the background process of the current activity</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563315__r4ac478aa46a54ebda678aa6993671266"><td class="cellrowborder" valign="top" width="18.82%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563315__a712fe2ad822c40f09ae1ea74f8eaa99e">serial#</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.91%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563315__a8ff7758a9fb1467bb1a118093f030b65">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.27000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563315__aa39cc1aa67524c368e2bb6201288fa38">Sequence number of the active background process, which is <strong id="EN-US_TOPIC_0000001233563315__b1761018134011">0</strong> in <span id="EN-US_TOPIC_0000001233563315__text1689632190">GaussDB(DWS)</span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563315__rdf08dab0a5064e28b60fbcc35bf5c279"><td class="cellrowborder" valign="top" width="18.82%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563315__a1904300205884bd2958a5ffba7feff0d">user#</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.91%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563315__ae0b3eb4f9168409b9ce38b57bcb31c37">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.27000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563315__a9a020d0450f3437b9c39ae64a91a6470">OID of the user that has logged in to the background process</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563315__r49846e16e9ee427d914013452578c54b"><td class="cellrowborder" valign="top" width="18.82%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563315__a3e276c4d0ad84f8e86f9b8d3d45b93d2">username</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.91%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563315__a050c65c4e4cc4a14b47a8a379a599f3b">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.27000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563315__a1c2e2e853d8543aea6e75deae4ed2a63">Name of the user that has logged in to the background process</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>
|
|
|