doc-exports/docs/dws/dev/dws_04_0764.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.3 KiB
HTML

<a name="EN-US_TOPIC_0000001188482240"></a><a name="EN-US_TOPIC_0000001188482240"></a>
<h1 class="topictitle1">PG_STAT_USER_FUNCTIONS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188482240__en-us_topic_0059779233_p14142632542"><strong id="EN-US_TOPIC_0000001188482240__b842352706182741">PG_STAT_USER_FUNCTIONS</strong> displays user-defined function status information in the namespace. (The language of the function is non-internal language.)</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188482240__tec3ea3177a894ee19465eab12c0522cd" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STAT_USER_FUNCTIONS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188482240__rdf1c564b90174ab4b738979ffa606452"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001188482240__a5e8dc7291f474bbbad51af1c76a76238"><strong id="EN-US_TOPIC_0000001188482240__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_0000001188482240__a4b2f05179e6b40e082b061b4a0eecc4b">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_0000001188482240__a57666d8c73b544f58db6a67c6f7f91d7">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188482240__r1706324fd1a243338188acc6a0d6692c"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188482240__ab2f13e28cf0a4f349f539e7fc8c7a127">funcid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188482240__ae63a4524fc89434d9ffeb0c5b4765e3f">oid</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188482240__a845382a5625c4a73a5fbe379ded10415">Function OID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482240__rbfb7ea94b1d94bc988d6323a1ed4bad9"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188482240__a9c4daef63e3f4d53a7ed060ef94bfbfb">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188482240__a4c4ab57fc633421aab80f875a517261c">name</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188482240__a4fcbbb0763b5418fa5e257893de225c3">Schema name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482240__rc084c21cf50345dfb4d4a5ff38a2b44a"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188482240__a26ace7f7ed98416199f7cb37d7c237cb">funcname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188482240__ac4cbe11c1e2741d08f523516627983a9">name</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188482240__a40fd59ddaa3e40849fbde73914edadad">Name of the function</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482240__r744396909b7b451b9c189ab5803beaa1"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188482240__a228c4eee7bf64766a7160bf909e6d12b">calls</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188482240__af5009370c503459e8ec829bfe9b657bb">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188482240__a9c57cdd8c4634f8db249f754b158d8d4">Number of times this function has been called</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482240__r47d29f9b3ad14ab587ba209ff23a176d"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188482240__a37f0e145f0cb4c1cb9224dd633ad3ed4">total_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188482240__a4813cce9fc9049beb81e1e140a2b7fc9">double precision</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188482240__ab4125d88eac54a0a88012d82314befc5">Total time spent in this function and all other functions called by it</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482240__r4906b6536e7c4d708382bb36a0429912"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001188482240__a3428a07bb0524483907874a724235fc0">self_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001188482240__ac99e3c7d3d8f4371947d726a17bb820d">double precision</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001188482240__a05ce2ad2b6f34f8c8d18491aa894f069">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>