This commit is contained in:
2026-03-25 23:59:29 +08:00
parent 7964ce1033
commit 23e5df0364
46 changed files with 4168 additions and 254 deletions
+12
View File
@@ -0,0 +1,12 @@
CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
SELECT
calls,
total_exec_time,
mean_exec_time,
max_exec_time,
rows,
query
FROM pg_stat_statements
ORDER BY mean_exec_time DESC
LIMIT 50;