Total processing time: 128 ms; Peak memory: 5.157 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 20:45:53.281 | 37.6 ms | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=103) AND ("object_id"=35) GROUP BY "object_id" |
| 20:45:53.249 | 30.1 ms | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=103) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id"=35) GROUP BY "object_id" |
| 20:45:53.226 | 16.3 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_task_files' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 20:45:53.220 | 5.2 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_task_files' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 20:45:53.243 | 2.4 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT s.* FROM "a57be577deb434"."tbl_task_files" "s" WHERE "task_group_id"='67' GROUP BY "s"."id" ORDER BY "s"."created_by" DESC, "s"."created_at" DESC) "c" |
| 20:45:53.322 | 2.1 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "title" AS "name", "client_id", "head_of", "status" FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=67 |
| 20:45:53.279 | 1.9 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=2223 |
| 20:45:53.331 | 1.8 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1000, 2, 1159, 'v2/task/list-file', '{"access_token":"R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC","device_type":"2","posttime":"1781613952","task_group_id":"67","token":"55504b7c4aecba8c178cdfd72eb4edeb","version_code":"1159"}', '{"code":200,"data":{"list":[{"id":35,"attachment_id":2223,"task_group_id":67,"created_by":5015,"title":"\u62db\u91d1\u77ff\u4e1aVPN\u5347\u7ea7\u9879\u76ee\u9a8c\u6536\u62a5\u544a","description":"","created_at":"2018-12-29 10:03:16","updated_at":"2018-12-29 10:03:16","file_url":null,"createdBy":{"id":5015,"key":5015,"name":"\u5f20\u96ea\u677e","sex":"F","department_id":9,"avatar":{"id":5,"user_id":5015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/7a105eb6-13c4-3990-9428-b163f97fe449.png"},"department":{"id":9,"key":9,"name":"\u9879\u76ee\u90e8"}},"unreadComments":null,"attachment":{"id":2223,"key":2223,"name":"afab20cd-62ad-3ff8-83df-7d408cc208a5","extension":"pdf","path":"\/v2\/attachment\/preview\/R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC\/afab20cd-62ad-3ff8-83df-7d408cc208a5\/\u62db\u91d1\u77ff\u4e1aVPN\u5347\u7ea7\u9879\u76ee\u9a8c\u6536\u62a5\u544a.pdf","orig_name":"\u62db\u91d1\u77ff\u4e1aVPN\u5347\u7ea7\u9879\u76ee\u9a8c\u6536\u62a5\u544a.pdf"},"commentCount":null,"taskGroup":{"id":67,"key":67,"name":"\u62db\u91d1\u77ff\u4e1a\u80a1\u4efd\u6709\u9650\u516c\u53f8VPN\u7cfb\u7edf\u5347\u7ea7\u9879\u76ee","client_id":89,"head_of":5015,"status":1,"isHeadOf":null},"can_update":true,"can_delete":true,"unread":0}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":10}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"117.133.84.85","ua":"jinchangxiao\/2.3.156 (iPhone 12; iOS 26.5; Scale\/3.00)"}', FALSE, '2026-06-16 20:45:53', 121965312) RETURNING "id" |
| 20:45:53.213 | 0.8 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='R8ScrIY1ab3sgHgv8KlMKFukwMtD6QYC' |
| 20:45:53.215 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
| 20:45:53.246 | 0.4 ms | yii\db\Command::query | SELECT s.* FROM "a57be577deb434"."tbl_task_files" "s" WHERE "task_group_id"='67' GROUP BY "s"."id" ORDER BY "s"."created_by" DESC, "s"."created_at" DESC LIMIT 10 |
| 20:45:53.325 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE ("user_id"=1000) AND ("task_group_id"=67) |
| 20:45:53.216 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"='67' |
| 20:45:53.248 | 0.3 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5015) |
| 20:45:53.212 | 0.3 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 20:45:53.247 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5015 |
| 20:45:53.248 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=9 |