track_functions
No restart — reload (superuser)enum: none / pl / all
Counts calls and time for functions, surfaced in pg_stat_user_functions.
What it does
track_functions records how often functions are called and how long they run. 'pl' tracks procedural-language functions; 'all' also tracks SQL and C functions. The data appears in pg_stat_user_functions.
How to tune it
Set 'pl' if you have meaningful PL/pgSQL logic and want to find hot functions. 'all' adds overhead for fast C/SQL functions and is rarely worth it. 'none' (default) if you don't use the stats.