SYSTEM CATALOGS / STATISTICS VIEWS
pg_stat_user_functions
Read PG 18 manual ↗The pg_stat_user_functions view will contain one row for each tracked function, showing statistics about executions of that function.
- Kind
- Statistics views
- Columns in this snapshot
- 6
- Definition source
- English manual
Columns 6
| Column | Type | Description / reference |
|---|---|---|
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 |
Column history across versions
Version history 8
- PG 18 → 19changed
- PG 12 → 13changed
- PG 11 → 12changed
- PG 9.6 → 10changed
- PG 9.5 → 9.6changed
- PG 9.4 → 9.5changed
- PG 9.3 → 9.4changed
- PG 9.1 → 9.2changed
Definition snapshot: english-manuals:222fd51a8ed5debe0bb390e29fb… · English manual source