RefLib

Reference library for AI

Back

postgresql_16:4.13.2.23 pg_stat_user_functions

PostgreSQL 16 > Server Administration > Monitoring Database Activity > The Cumulative Statistics System > pg_stat_user_functions

The pg_stat_user_functions view will contain one row for each tracked function, showing statistics about executions of that function. The (see guc-track-functions) parameter controls exactly which functions are tracked.

| Column Type Description | | --- | | funcid oid OID of a function | | schemaname name Name of the schema this function is in | | funcname name Name of this function | | calls bigint Number of times this function has been called | | total_time double precision Total time spent in this function and all other functions called by it, in milliseconds | | self_time double precision Total time spent in this function itself, not including other functions called by it, in milliseconds |

Back