select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

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

ColumnTypeDescription / reference
funcidoidOID of a function
schemanamenameName of the schema this function is in
funcnamenameName of this function
callsbigintNumber of times this function has been called
total_timedouble precisionTotal time spent in this function and all other functions called by it, in milliseconds
self_timedouble precisionTotal time spent in this function itself, not including other functions called by it, in milliseconds
Column history across versions
Version history 8
  1. PG 18 → 19changed
  2. PG 12 → 13changed
  3. PG 11 → 12changed
  4. PG 9.6 → 10changed
  5. PG 9.5 → 9.6changed
  6. PG 9.4 → 9.5changed
  7. PG 9.3 → 9.4changed
  8. PG 9.1 → 9.2changed

Definition snapshot: english-manuals:222fd51a8ed5debe0bb390e29fb… · English manual source