Total processing time: 1,676 ms; Peak memory: 2.240 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 17:39:11.717 | 35.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent"=207547 ORDER BY "created_at" |
| 17:39:11.528 | 34.0 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_comments" WHERE object_type = '1' AND object_id = '4024' |
| 17:39:11.657 | 29.8 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='4024') ORDER BY "created_at" DESC) "c" |
| 17:39:11.687 | 29.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='4024') ORDER BY "created_at" DESC LIMIT 20 |
| 17:39:11.628 | 28.8 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='1') AND ("object_id"='4024') AND ("remind_user_id"=1001) |
| 17:39:11.563 | 25.9 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '1' AND object_id = '4024' AND remind_user_id = 1001 |
| 17:39:11.604 | 21.7 ms | yii\db\Command::query | select ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_unread_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 17:39:11.589 | 13.9 ms | yii\db\Command::query | SELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_unread_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 17:39:11.753 | 3.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id"=207547) |
| 17:39:11.524 | 1.5 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:39:11.759 | 1.2 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/comment/list', '{"object_type":"1","object_id":"4024","page":"1","web_access_token":"l4p3M_87vSdo8QF-blMLH4iPaepKw7vp"}', '{"code":2000,"result":{"list":[{"id":207547,"object_id":4024,"object_type":"1","parent":{},"description":"\u8d75\u6657\u7131\u66f4\u65b0\u4e86\u4e00\u6761\u5546\u673a\u72b6\u6001\u660e\u786e\u9700\u6c42\u53d8\u4e3a\u5546\u673a\u6401\u7f6e","created_by":1005,"created_at":"2025-12-21 22:35:11","reply_to":"","is_system":true,"for_user":"","description2":"2025\/10\/24\u636e\u5317\u4eac\u4e2d\u91d1\u4fdd\u9669\u7ecf\u7eaa\u6709\u9650\u516c\u53f8IT\u90e8\u7ecf\u7406\u620e\u6cfd\u9e9f\u4ecb\u7ecd\uff1a\u516c\u53f8\u4f7f\u7528\u8fea\u666e\u7684\u5b89\u5168\u4ea7\u54c1\uff0c\u540e\u671f\u60f3\u4f7f\u7528\u6df1\u4fe1\u670d\u4ea7\u54c1\uff0c\u516c\u53f8\u57282026\u5e74Q2 4\u6708\u521d\u4f1a\u91c7\u8d2d\u56fd\u4ea7\u5316\u7684\u8d1f\u8f7d\u5747\u8861\u4ea7\u54c1\uff0c\u4f1a\u9644\u5e26\u4e00\u4e9b\u9632\u706b\u5899\u4ea7\u54c1\uff0c\u5f53\u524d\u540c\u6b65\u505a\u5185\u90e8\u8bc4\u4f30\u548c\u65b0\u7f51\u5efa\u8bbe\u8bc4\u4f30\uff0c\u60f3\u770b\u4e0b\u6709\u54ea\u4e9b\u578b\u53f7\uff0c\u6bd4\u8f83\u5173\u6ce8\u6027\u80fd\u6307\u6807\uff0c\u770b\u8981\u7528\u591a\u5927\u6027\u80fd\u7684\uff0c\u9884\u7b97\u5b89\u5168\u90e8\u5206500-600\u4e07\uff0c\u62db\u6807\u5f62\u5f0f\uff0c\u662f\u5efa\u8bae\u4eba\uff0c\u540c\u610f\u540e\u671f\u9500\u552e\u8054\u7cfb\uff0c\u624b\u673a\u53f7:15801193167\u90ae\u7bb1\uff1aami2222@163.com\u3002","comments":[],"attachmentRelationships":[],"createdBy":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","userMetas":[{"user_id":1005,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}]},"can_delete":false}],"unread":0,"count":1,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-05 17:39:11', 1671863040) RETURNING "id" |
| 17:39:11.527 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:39:11.524 | 0.3 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 17:39:11.757 | 0.3 ms | yii\db\Command::query | SELECT "user_id", "meta_value" AS "avatar" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1005) |
| 17:39:11.756 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1005 |