We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2589a6 commit f3adc4aCopy full SHA for f3adc4a
sql/1_basic.sql
@@ -18,6 +18,10 @@ select
18
else 'Master'
19
end as value
20
union all
21
+select 'Started At', pg_postmaster_start_time()::timestamptz(0)::text
22
+union all
23
+select 'Uptime', (now() - pg_postmaster_start_time())::interval(0)::text
24
25
select 'Database Name' as metric, datname as value from data
26
27
select 'Database Size', pg_catalog.pg_size_pretty(pg_catalog.pg_database_size(current_database()))
0 commit comments