↑↓ 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 the PG 18 manual

The pg_stat_user_functions view will contain one row for each tracked function, showing statistics about executions of that function.

Reading PG 18current·documented in 19 of 24 versions, 8.4 to 20

Kind
Statistics views
Columns in this snapshot
6
Definition source
English manual
Metadata snapshot
18.6

Columns 6

As listed in the PostgreSQL 18 manual.

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 5
  1. 18 → 19 changed
  2. 12 → 13 reworded
  3. 9.1 → 9.2 changed
  4. 8.4 → 9.0 columns not listed
  5. 8.3 → 8.4 added

Definition snapshot: english-manuals:75025596ce1ba1eac56711e4679… · English manual source