Update apps/docs/pages/guides/platform/performance.mdx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
This commit is contained in:
Jonathan Summers-MuirandAlaister Young authored and GitHub committed 2023-02-23 12:57:03 +08:00
1 parent 44a4aa4ace
commit bcfecac945
1 file changed
+1 -1
@@ -104,7 +104,7 @@ select
statements.query,
statements.calls,
statements.total_exec_time + statements.total_plan_time as total_time,
to_char(((statements.total_exec_time + statements.total_plan_time)/sum(statements.total_exec_time + statements.total_plan_time) OVER()) * 100, 'FM90D0') || '%' AS prop_total_time
to_char(((statements.total_exec_time + statements.total_plan_time)/sum(statements.total_exec_time + statements.total_plan_time) over()) * 100, 'FM90D0') || '%' as prop_total_time
from pg_stat_statements as statements
inner join pg_authid as auth on statements.userid = auth.oid
order by