Performance Profiling

Total processing time: 147 ms; Peak memory: 3.836 MB. Show Profiling Timeline

总计39条数据
TimeDurationCategoryInfo
  
13:02:56.03237.5 msyii\db\Command::querySELECT 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 = 'vw_user_login' and d.nspname = 'global' ORDER BY a.attnum;
13:02:56.15221.0 msyii\db\Command::queryselect 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_api_log' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum
13:02:56.07015.1 msyii\db\Command::queryselect 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='vw_user_login' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum
13:02:56.0964.6 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Tasks', 1668, 'a:28:{s:2:"id";i:1668;s:13:"task_group_id";s:3:"203";s:5:"title";s:1:"5";s:11:"description";N;s:9:"client_id";N;s:7:"head_of";s:4:"5250";s:6:"status";N;s:19:"target_completed_at";N;s:12:"completed_at";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";N;s:12:"is_important";s:1:"0";s:20:"complete_description";N;s:6:"weight";N;s:9:"tree_path";N;s:8:"progress";N;s:8:"start_at";N;s:6:"end_at";N;s:9:"parent_id";s:0:"";s:10:"is_end_out";b:0;s:12:"is_start_out";b:0;s:16:"is_child_end_out";b:0;s:18:"is_child_start_out";b:0;s:13:"end_out_value";N;s:15:"start_out_value";N;s:19:"child_end_out_value";N;s:21:"child_start_out_value";N;}', '', 1001, '221.216.117.119')
13:02:56.1384.3 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 1668, 101, 1001, '2026-06-04 13:02:56', '{"id":1668,"task_group_id":203,"title":"5","description":null,"client_id":null,"head_of":5250,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1001,"created_at":"2026-06-04 13:02:56","updated_at":"2026-06-04 13:02:56","is_important":0,"complete_description":null,"weight":null,"tree_path":"1668","progress":0,"start_at":null,"end_at":null,"parent_id":null,"is_end_out":false,"is_start_out":false,"is_child_end_out":false,"is_child_start_out":false,"end_out_value":null,"start_out_value":null,"child_end_out_value":null,"child_start_out_value":null}', '{"id":1668,"task_group_id":203,"title":"5","description":null,"client_id":null,"head_of":5250,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1001,"created_at":"2026-06-04 13:02:56","updated_at":"2026-06-04 13:02:56","is_important":0,"complete_description":null,"weight":null,"tree_path":"1668","progress":0,"start_at":null,"end_at":null,"parent_id":null,"is_end_out":false,"is_start_out":false,"is_child_end_out":false,"is_child_start_out":false,"end_out_value":null,"start_out_value":null,"child_end_out_value":null,"child_start_out_value":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u6e05\u5355","d4":[]}') RETURNING "id"
13:02:56.1474.2 msyii\db\Command::querySELECT 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_api_log' and d.nspname = 'global' ORDER BY a.attnum;
13:02:56.0923.3 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_tasks" ("task_group_id", "title", "is_important", "head_of", "parent_id", "start_at", "end_at", "created_by", "weight", "is_end_out", "is_start_out", "is_child_end_out", "is_child_start_out") VALUES (203, '5', 0, 5250, NULL, NULL, NULL, 1001, NULL, FALSE, FALSE, FALSE, FALSE) RETURNING "id"
13:02:56.1193.1 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "is_system", "description2", "description") VALUES (1001, '101', 1668, TRUE, '5', '您有一个新任务') RETURNING "id"
13:02:56.1032.5 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1668, 'a:0:{}', '', 1001, '221.216.117.119')
13:02:56.1242.4 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (1668, '101', 220695, '5250')
13:02:56.1072.0 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1668, 'a:0:{}', '', 1001, '221.216.117.119')
13:02:56.1352.0 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
13:02:56.1161.9 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"=1668
13:02:56.1121.7 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_task_groups" SET "progress"=60 WHERE "id"=203
13:02:56.1451.4 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641122, 'a:13:{s:2:"id";i:641122;s:9:"object_id";i:203;s:11:"object_type";i:102;s:9:"target_id";i:1668;s:18:"target_object_type";i:101;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:6:"[1668]";s:9:"new_value";s:6:"[1668]";s:11:"description";s:84:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u6e05\u5355","d4":["5"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
13:02:56.1731.2 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/task/save-new', '{"Tasks":{"id":"","task_group_id":"203","title":"5","is_important":"0","head_of":"5250","parent_id":"","start_at":"","end_at":""},"web_access_token":"-ooNs73DKJQ01PCpcbuHx_usnaO5SdwJ"}', '{"code":2000,"result":{"id":1668},"status":1,"msg":[{"name":"success","success":"\u65b0\u9879\u76ee\u4efb\u52a1\u5df2\u521b\u5efa\u6210\u529f","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-04 13:02:56', 143214848) RETURNING "id"
13:02:56.1001.1 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_tasks" SET "tree_path"='1668' WHERE "id"=1668
13:02:56.1091.0 msyii\db\Command::querySELECT SUM(weight) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=203) AND ("status"=1)
13:02:56.1230.9 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 220695, 'a:11:{s:2:"id";i:220695;s:9:"object_id";i:1668;s:11:"object_type";s:3:"101";s:6:"parent";N;s:11:"description";s:21:"您有一个新任务";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:1:"5";}', '', 1001, '221.216.117.119')
13:02:56.1270.9 msyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"='5250') AND ("id" != 1001) AND (channel_id IS NOT NULL)
13:02:56.1140.9 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\TaskGroups', 203, 'a:1:{s:8:"progress";i:60;}', '', 1001, '221.216.117.119')
13:02:56.1440.9 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 203, 102, 1668, 101, 1001, '[1668]', '[1668]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u6e05\u5355","d4":["5"]}') RETURNING "id"
13:02:56.1420.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 641121, 'a:13:{s:2:"id";i:641121;s:9:"object_id";i:1668;s:11:"object_type";i:101;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:570:"{"id":1668,"task_group_id":203,"title":"5","description":null,"client_id":null,"head_of":5250,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1001,"created_at":"2026-06-04 13:02:56","updated_at":"2026-06-04 13:02:56","is_important":0,"complete_description":null,"weight":null,"tree_path":"1668","progress":0,"start_at":null,"end_at":null,"parent_id":null,"is_end_out":false,"is_start_out":false,"is_child_end_out":false,"is_child_start_out":false,"end_out_value":null,"start_out_value":null,"child_end_out_value":null,"child_start_out_value":null}";s:9:"new_value";s:570:"{"id":1668,"task_group_id":203,"title":"5","description":null,"client_id":null,"head_of":5250,"status":0,"target_completed_at":null,"completed_at":null,"created_by":1001,"created_at":"2026-06-04 13:02:56","updated_at":"2026-06-04 13:02:56","is_important":0,"complete_description":null,"weight":null,"tree_path":"1668","progress":0,"start_at":null,"end_at":null,"parent_id":null,"is_end_out":false,"is_start_out":false,"is_child_end_out":false,"is_child_start_out":false,"end_out_value":null,"start_out_value":null,"child_end_out_value":null,"child_start_out_value":null}";s:11:"description";s:81:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u6e05\u5355","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-06-04 13:02:56";s:9:"is_delete";N;}', '', 1001, '221.216.117.119')
13:02:56.1020.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Tasks', 1668, 'a:0:{}', '', 1001, '221.216.117.119')
13:02:56.0320.7 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
13:02:56.0860.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
13:02:56.1110.5 msyii\db\Command::querySELECT "status", "progress" FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=203) AND (parent_id is null)
13:02:56.1190.4 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
13:02:56.1030.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id"=1668
13:02:56.1430.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
13:02:56.0890.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"='203')
13:02:56.0910.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"='203'
13:02:56.0910.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_task_group_user_relationships" WHERE ("user_id"=1001) AND ("task_group_id"=203)
13:02:56.1090.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"='203'
13:02:56.0900.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='5250')
13:02:56.1020.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_tasks" WHERE "id"=1668
13:02:56.1060.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=203
13:02:56.0900.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
13:02:56.0310.2 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta