doc-exports/docs/dws/dev/dws_04_0772.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

66 lines
5.2 KiB
HTML

<a name="EN-US_TOPIC_0000001188642052"></a><a name="EN-US_TOPIC_0000001188642052"></a>
<h1 class="topictitle1">PG_STAT_XACT_USER_FUNCTIONS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188642052__en-us_topic_0059777719_p136255718512"><strong id="EN-US_TOPIC_0000001188642052__b1171312223507">PG_STAT_XACT_USER_FUNCTIONS</strong> displays statistics about function execution.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188642052__ta21a073f3328497cb44cf839215b251e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STAT_XACT_USER_FUNCTIONS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188642052__r25efe63a65ed4c7faa901681663adc2c"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001188642052__afff234fd65304fab95834d452b5b0f0c"><strong id="EN-US_TOPIC_0000001188642052__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_0000001188642052__a8ce13924001f45c4b12b80177a486812">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_0000001188642052__ae5d9c04a1854411d8360fb3cf01ec8da">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188642052__r334d9874cc994d5d80136d2e3139f425"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188642052__a3f476c58e51e45ebb90d8e4fca656856">funcid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188642052__af7433ba5dea2456f8fa132c16062fd4b">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188642052__a1155458592714e15a3f1372d26eb1e0f">Function OID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188642052__r4cbff110c8114c3eae84db2bf73233f0"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188642052__a2cb2c398ac864e01b0264d8f02644320">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188642052__af957c26b71294652ab6ec82e0ce3cad7">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188642052__aee9d5438da674b32932f9c96f4e6eb1f">Schema name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188642052__r8d4e25a06ebc45f1b47cfa7a12e53be5"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188642052__aa065154887f9495c9abedcdb1e5cdf46">funcname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188642052__a06aed2339b304a9089991f0a1078de48">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188642052__a6ec5a85b7c484b82bc14748d571ab9b6">Name of the function</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188642052__r528b36795983492684b12284659c47f6"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188642052__ae6e7a346a4f145dd81e48e6162b66899">calls</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188642052__a5ad5c36e2a7c4e3d96a3dddd4d10bea1">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188642052__a89f4f2d72d3d48ce9fcc1f022188cb76">Number of times this function has been called</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188642052__r7dd600b4361f43bf97c5c9e274a8f3a8"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188642052__a492e8b7a1d734cb4a86dccc42c9daae2">total_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188642052__ac2490ba39b034cebab521010eeaace2f">double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188642052__a4bd85c24ceda4384b4a22c6f5d02b63e">Total time spent in this function and all other functions called by it</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188642052__r76da083afe044314ad32590e0f24b509"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188642052__afbad10ceaba64deb8e8b0041fea17317">self_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188642052__a20fbe25fb6fa474397a866e5ef445d6b">double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188642052__a1f5f107e4cec490da438eeb3c8f8e731">Total time spent in this function itself, excluding other functions called by it</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>