File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2121 )
2222 )
2323 )::text AS sync_io_time
24- FROM pg_stat_statements s
24+ FROM extensions . pg_stat_statements s
2525ORDER BY calls DESC
2626LIMIT 10
Original file line number Diff line number Diff line change 5252 COALESCE((SELECT size FROM total_objects WHERE relkind = ' i' ), ' 0 bytes' ) AS total_index_size,
5353 COALESCE((SELECT size FROM total_objects WHERE relkind = ' r' ), ' 0 bytes' ) AS total_table_size,
5454 COALESCE((SELECT size FROM total_objects WHERE relkind = ' t' ), ' 0 bytes' ) AS total_toast_size,
55- COALESCE((SELECT (now() - stats_reset)::text FROM pg_stat_statements_info), ' N/A' ) AS time_since_stats_reset,
55+ COALESCE((SELECT (now() - stats_reset)::text FROM extensions . pg_stat_statements_info ), ' N/A' ) AS time_since_stats_reset,
5656 (SELECT COALESCE(ratio::text , ' N/A' ) FROM cache_hit WHERE relkind = ' i' ) AS index_hit_rate,
5757 (SELECT COALESCE(ratio::text , ' N/A' ) FROM cache_hit WHERE relkind = ' t' ) AS table_hit_rate,
5858 COALESCE((SELECT pg_size_pretty(SUM (size)) FROM pg_ls_waldir()), ' 0 bytes' ) AS wal_size
Original file line number Diff line number Diff line change 2121 )
2222 )::text AS sync_io_time,
2323 query
24- FROM pg_stat_statements s WHERE userid = (SELECT usesysid FROM pg_user WHERE usename = current_user LIMIT 1 )
24+ FROM extensions . pg_stat_statements s WHERE userid = (SELECT usesysid FROM pg_user WHERE usename = current_user LIMIT 1 )
2525ORDER BY total_exec_time DESC
2626LIMIT 10
You can’t perform that action at this time.
0 commit comments