mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 21:29:08 +03:00
Update apps/docs/pages/guides/platform/performance.mdx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user