Track_functions
Track Function Execution Stats with pg_stat_user_functions
Nov 22, 2026 / · 9 min read · function statistics cumulative statistics performance monitoring plpgsql track_functions pg_stat_user_functions pg_proc ·Track Function Execution Stats with pg_stat_user_functions pg_stat_user_functions holds one row for each tracked function. Each row shows how many times the function ran, the total time spent in it, and the time spent in its own body. On a default install the view is empty, because track_functions starts at none. The …
Read More