doc-exports/docs/dws/dev/dws_04_0772.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

66 lines
5.2 KiB
HTML

<a name="EN-US_TOPIC_0000001098974958"></a><a name="EN-US_TOPIC_0000001098974958"></a>
<h1 class="topictitle1">PG_STAT_XACT_USER_FUNCTIONS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001098974958__en-us_topic_0059777719_p136255718512"><strong id="EN-US_TOPIC_0000001098974958__b842352706151715">PG_STAT_XACT_USER_FUNCTIONS</strong> displays statistics about function executions, with statistics about each execution displayed in a row.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001098974958__t30108d63e6294e1ca3f317d63ab38a60" 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_0000001098974958__rd60da8214d224384861b20329fb5a258"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001098974958__afaa33fcccc374d98a0b88cc93c4d7ae4"><strong id="EN-US_TOPIC_0000001098974958__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_0000001098974958__a89218b6b8f304af789a978bbd0cac11a">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_0000001098974958__a949b21b9538e4625a99e0744c626105d">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001098974958__r7971925f5f4047e3998d40b5338bfa15"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098974958__aadb3fc29cedb46d7b0d29e31610eb96c">funcid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098974958__a238d9156bf5245bbb0e7b056607844e8">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098974958__a89554f11739049ada870f03a6dcdf484">Function OID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098974958__r5814bb211ff1458597ff1021ba670c48"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098974958__acb01dbb45cec40a5a51f451d13e555fb">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098974958__a66dfeda85e544e06b833e4460892ab2b">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098974958__ad971689f75d6483292e17f2008ec787e">Schema name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098974958__r0dc1e5ef413546ce9cbb31514e3216bc"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098974958__a2c4ec25cc59841049c44a6c7c4c1a8b2">funcname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098974958__a1f40bfc634bc490ab77e4d7fcd5f1404">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098974958__a9c75445d2e17406b9b2e4d65c08f184d">Function name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098974958__r6574fec8262d44b5953d382e39580602"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098974958__aac6b785deb06417aab91a9e87e8ec231">calls</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098974958__adbab912d10f34483bf56afa640d8dadf">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098974958__aa137f76b6cd74b05bea03637febeacc8">Number of times this function has been called</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098974958__rdb6194a443da4e2abb5e0b9a4f8766f1"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098974958__a3ba29486f1444346854509548801b5fc">total_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098974958__a9a6f99f86c1b4e0b8aeddbbda10590ba">double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098974958__af900a93c0fba492c9a83da8e41d15f30">Total time spent in this function and all other functions called by it</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098974958__r5f2c7f8e65ed45309ab732c3e3fa2e2c"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001098974958__a93feb619333548bf9d559136bae9d0ec">self_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001098974958__a8f03b383c70d492f942c8560393bc8ba">double precision</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001098974958__ad817d7faee084e54825e64408f0fa6b2">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>