Updated on 2024-08-20 GMT+08:00

STAT_USER_FUNCTIONS

Displays statistics about user-defined functions (the function language is not an internal language) in all the schemas of the current node, as described in Table 1.

Table 1 STAT_USER_FUNCTIONS columns

Name

Type

Description

funcid

oid

OID of the function.

schemaname

name

Schema name.

funcname

name

UDF name.

calls

bigint

Number of times the function has been called.

total_time

double precision

Total time spent in this function, including other functions called by it (unit: ms).

self_time

double precision

Time spent in this function, excluding other functions called by it (unit: ms).