基本
文件
流程
错误
SQL
调试
- 请求信息 : 2026-06-13 20:46:28 HTTP/1.1 GET : https://agent.sknys.com/
- 运行时间 : 0.031517s [ 吞吐率:31.73req/s ] 内存消耗:123.28kb 文件加载:148
- 查询信息 : 4 queries
- 缓存信息 : 3 reads,0 writes
- 会话信息 : SESSION_ID=bbf4a19358f9f1a9a289de17031d45d0
- CONNECT:[ UseTime:0.016384s ] pgsql:dbname=fgj_new;host=127.0.0.1;port=5432
- SELECT
a.attname as "field",
format_type(a.atttypid, a.atttypmod) as "type",
not a.attnotnull as "null",
pg_get_expr(d.adbin, d.adrelid) as "default",
case when pk.contkey is not null then true else false end as "key"
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
LEFT JOIN (
SELECT pg_index.indrelid, pg_index.indkey, unnest(pg_index.indkey) as contkey
FROM pg_index WHERE pg_index.indisprimary
) pk ON a.attrelid = pk.indrelid AND a.attnum = pk.contkey
WHERE a.attrelid = 'cmf_hook'::regclass
AND a.attnum > 0
AND NOT a.attisdropped
ORDER BY a.attnum [ RunTime:0.004406s ]
- SELECT "hook","id" FROM "cmf_hook" WHERE ( ( "app" = '' OR "app" = 'cmf' ) AND "type" = 3 ) OR "type" = 1 [ RunTime:0.001399s ]
- SELECT
a.attname as "field",
format_type(a.atttypid, a.atttypmod) as "type",
not a.attnotnull as "null",
pg_get_expr(d.adbin, d.adrelid) as "default",
case when pk.contkey is not null then true else false end as "key"
FROM pg_attribute a
LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
LEFT JOIN (
SELECT pg_index.indrelid, pg_index.indkey, unnest(pg_index.indkey) as contkey
FROM pg_index WHERE pg_index.indisprimary
) pk ON a.attrelid = pk.indrelid AND a.attnum = pk.contkey
WHERE a.attrelid = 'cmf_hook_plugin'::regclass
AND a.attnum > 0
AND NOT a.attisdropped
ORDER BY a.attnum [ RunTime:0.001694s ]
- SELECT "hook","plugin" FROM "cmf_hook_plugin" WHERE "status" = 1 AND "hook" IN ('app_begin','module_init','action_begin','view_filter','app_end','log_write','response_end','admin_init','home_init','send_mobile_verification_code','body_start','before_head_end','footer_start','before_footer','before_footer_end','before_body_end','left_sidebar_start','before_left_sidebar_end','right_sidebar_start','before_right_sidebar_end','comment','guestbook','switch_theme','after_content','before_content','log_write_done','switch_admin_theme','captcha_image','app_dispatch') ORDER BY "list_order" ASC [ RunTime:0.001615s ]

0.032375s