Total processing time: 562 ms; Peak memory: 2.160 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
17:05:54.903 | 26.5 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_comments" WHERE object_type = '1' AND object_id = '3854' |
17:05:54.930 | 22.0 ms | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '1' AND object_id = '3854' AND remind_user_id = 1001 |
17:05:54.970 | 21.5 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3854') ORDER BY "created_at" DESC) "c" |
17:05:54.991 | 20.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3854') ORDER BY "created_at" DESC LIMIT 20 |
17:05:55.014 | 19.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent" IN (191421, 191172, 175951) ORDER BY "created_at" |
17:05:54.952 | 17.0 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='1') AND ("object_id"='3854') AND ("remind_user_id"=1001) |
17:05:54.890 | 3.7 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
17:05:54.894 | 3.6 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
17:05:54.900 | 2.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
17:05:55.033 | 2.1 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id" IN (191421, 191172, 175951)) |
17:05:55.037 | 1.3 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/comment/list', '{"object_type":"1","object_id":"3854","page":"1","web_access_token":"sXjqURNBCao5nldOR3zGEIU34GY49pIi"}', '{"code":2000,"result":{"list":[{"id":191421,"object_id":3854,"object_type":"1","parent":{},"description":"\u5218\u4eba\u8bda\u66f4\u65b0\u4e86\u4e00\u6761\u5546\u673a\u72b6\u6001\u5546\u673a\u6210\u4ea4\u53d8\u4e3a\u5546\u673a\u6401\u7f6e","created_by":1001,"created_at":"2025-09-16 17:05:42","reply_to":"","is_system":true,"for_user":"","description2":"\u4e8c\u671f\u6269\u5bb9","comments":[],"attachmentRelationships":[],"createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","userMetas":[{"user_id":1001,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}]},"can_delete":true},{"id":191172,"object_id":3854,"object_type":"1","parent":{},"description":"\u5218\u5fae\u66f4\u65b0\u4e86\u4e00\u6761\u5546\u673a\u72b6\u6001\u660e\u786e\u9700\u6c42\u53d8\u4e3a\u5546\u673a\u6210\u4ea4","created_by":5087,"created_at":"2025-09-10 17:41:10","reply_to":"","is_system":true,"for_user":"","description2":"\u4e8c\u671f\u6269\u5bb9","comments":[],"attachmentRelationships":[],"createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","userMetas":[{"user_id":5087,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"}]},"can_delete":false},{"id":175951,"object_id":3854,"object_type":"1","parent":{},"description":"\u5218\u5fae\u65b0\u5efa\u4e86\u4e00\u6761\u72b6\u6001\u4e3a\u660e\u786e\u9700\u6c42\u7684\u5546\u673a","created_by":5087,"created_at":"2025-05-13 09:35:09","reply_to":"","is_system":true,"for_user":"","description2":"\u4e8c\u671f\u6269\u5bb9","comments":[],"attachmentRelationships":[],"createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","userMetas":[{"user_id":5087,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"}]},"can_delete":false}],"unread":1,"count":3,"pagenation":{"totalcount":3,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-09-16 17:05:55') RETURNING "id" |
17:05:55.036 | 0.4 ms | yii\db\Command::query | SELECT "user_id", "meta_value" AS "avatar" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 5087)) |
17:05:55.036 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1001, 5087) |