Performance Profiling

Total processing time: 88 ms; Peak memory: 5.733 MB. Show Profiling Timeline

总计51条数据
TimeDurationCategoryInfo
  
17:09:09.5849.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=1661) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:09:09.5536.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_schedules" ("client_id", "schedule_title", "start_at", "end_at", "alarm_before", "is_public", "created_by", "project_id", "creator") VALUES (1661, '好吧宝贝', '2025-09-12 09:00', '2025-09-12 18:00', NULL, 1, 1000, 1791, 1000) RETURNING "id"
17:09:09.6134.4 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_schedule_head_of_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:09:09.6183.8 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_schedule_head_of_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:09:09.6222.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_schedule_head_of_rels" ("user_id", "schedule_id") VALUES (1000, 17942)
17:09:09.5442.6 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om'
17:09:09.5602.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=9) AND ("object_id"=17942)
17:09:09.5421.8 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
17:09:09.5781.6 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', 17942, 9, 1000, '2025-09-12 17:09:09', '{"id":17942,"client_id":1661,"schedule_title":"\u597d\u5427\u5b9d\u8d1d","description":null,"schedule_week":null,"start_at":"2025-09-12 09:00:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-09-12 17:09:09","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-09-12 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":1791,"updated_at":"2025-09-12 17:09:09","set_top_at":null}', '{"id":17942,"client_id":1661,"schedule_title":"\u597d\u5427\u5b9d\u8d1d","description":null,"schedule_week":null,"start_at":"2025-09-12 09:00:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-09-12 17:09:09","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-09-12 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":1791,"updated_at":"2025-09-12 17:09:09","set_top_at":null}', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[]}') RETURNING "id"
17:09:09.6051.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=1791) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
17:09:09.5471.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:09:09.5821.2 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=1661
17:09:09.5941.1 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (1661, 1001, 'now()', NULL) RETURNING "id"
17:09:09.5651.0 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1000, '9', 17942, '曹永生新建了一条待办事项', TRUE, '好吧宝贝') RETURNING "id"
17:09:09.6041.0 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=1791
17:09:09.6001.0 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 1661, 10, 17942, 9, 1000, '17942', '17942', array[1001], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
17:09:09.5591.0 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\Schedules', 17942, 'a:24:{s:2:"id";i:17942;s:9:"client_id";s:4:"1661";s:14:"schedule_title";s:12:"好吧宝贝";s:11:"description";N;s:13:"schedule_week";N;s:8:"start_at";s:19:"2025-09-12 09:00:00";s:11:"complete_at";N;s:20:"complete_description";N;s:11:"is_complete";N;s:12:"alarm_before";N;s:10:"created_by";s:4:"1000";s:10:"created_at";N;s:9:"is_closed";N;s:9:"is_remind";N;s:9:"time_type";N;s:12:"schedule_end";N;s:9:"repeat_id";N;s:6:"end_at";s:19:"2025-09-12 18:00:00";s:9:"is_public";s:1:"1";s:18:"system_calendar_id";N;s:7:"creator";i:1000;s:10:"project_id";s:4:"1791";s:10:"updated_at";N;s:10:"set_top_at";N;}', '', 1000, '114.246.237.213')
17:09:09.6251.0 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 6, 170, 'v2/schedule/save-new', '{"Schedules":{"client_id":"1661","schedule_title":"\u597d\u5427\u5b9d\u8d1d","start_at":"2025-09-12 09:00","end_at":"2025-09-12 18:00","alarm_before":"","repeat_type":"","is_public":"1","created_by":"1000","project_id":"1791","attachmentFiles":"","headUsers":["1000"]},"posttime":"1757668150","access_token":"gIBfXHaGAAjf2tBIfgqsDfRNPly9E9om","device_type":"6","version_code":"170","token":"45a47b2d6b7746410f606a20c9bf1eab"}', '{"code":200,"data":{"id":null},"status":1,"msg":[{"name":"success","success":"\u65b0\u5f85\u529e\u4e8b\u9879\u5df2\u521b\u5efa\u6210\u529f","error":""}]}', FALSE, '2025-09-12 17:09:09') RETURNING "id"
17:09:09.5970.8 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', 1661, 10, 17942, 9, 1000, '[17942]', '[17942]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
17:09:09.6080.8 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', 1791, 1, 17942, 9, 1000, '[17942]', '[17942]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
17:09:09.5950.7 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\ClientAmChangeLogs', 180850, 'a:5:{s:2:"id";i:180850;s:9:"client_id";i:1661;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.246.237.213')
17:09:09.6120.7 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (1, 'create', 1791, 1, 17942, 9, 1000, '17942', '17942', array[1001], '{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}') RETURNING "id"
17:09:09.5980.7 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', 565252, 'a:13:{s:2:"id";i:565252;s:9:"object_id";i:1661;s:11:"object_type";i:10;s:9:"target_id";i:17942;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[17942]";s:9:"new_value";s:7:"[17942]";s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.246.237.213')
17:09:09.5660.7 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', 191296, 'a:11:{s:2:"id";i:191296;s:9:"object_id";i:17942;s:11:"object_type";s:1:"9";s:6:"parent";N;s:11:"description";s:36:"曹永生新建了一条待办事项";s:10:"created_by";i:1000;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:12:"好吧宝贝";}', '', 1000, '114.246.237.213')
17:09:09.5800.7 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', 565251, 'a:13:{s:2:"id";i:565251;s:9:"object_id";i:17942;s:11:"object_type";i:9;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:533:"{"id":17942,"client_id":1661,"schedule_title":"\u597d\u5427\u5b9d\u8d1d","description":null,"schedule_week":null,"start_at":"2025-09-12 09:00:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-09-12 17:09:09","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-09-12 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":1791,"updated_at":"2025-09-12 17:09:09","set_top_at":null}";s:9:"new_value";s:533:"{"id":17942,"client_id":1661,"schedule_title":"\u597d\u5427\u5b9d\u8d1d","description":null,"schedule_week":null,"start_at":"2025-09-12 09:00:00","complete_at":null,"complete_description":null,"is_complete":false,"alarm_before":null,"created_by":1000,"created_at":"2025-09-12 17:09:09","is_closed":false,"is_remind":false,"time_type":null,"schedule_end":null,"repeat_id":null,"end_at":"2025-09-12 18:00:00","is_public":1,"system_calendar_id":null,"creator":1000,"project_id":1791,"updated_at":"2025-09-12 17:09:09","set_top_at":null}";s:11:"description";s:93:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[]}";s:10:"created_by";i:1000;s:10:"created_at";s:19:"2025-09-12 17:09:09";s:9:"is_delete";N;}', '', 1000, '114.246.237.213')
17:09:09.5960.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\Clients', 1661, 'a:0:{}', '', 1000, '114.246.237.213')
17:09:09.6090.7 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', 565253, 'a:13:{s:2:"id";i:565253;s:9:"object_id";i:1791;s:11:"object_type";i:1;s:9:"target_id";i:17942;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[17942]";s:9:"new_value";s:7:"[17942]";s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.246.237.213')
17:09:09.6060.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\Projects', 1791, 'a:1:{s:6:"end_at";s:19:"2021-04-19 22:25:38";}', '', 1000, '114.246.237.213')
17:09:09.6010.7 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\UserActionLogs', 152346, 'a:15:{s:2:"id";i:152346;s:9:"object_id";i:1661;s:11:"object_type";i:10;s:9:"target_id";i:17942;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"17942";s:9:"new_value";s:5:"17942";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.246.237.213')
17:09:09.6120.7 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\UserActionLogs', 152347, 'a:15:{s:2:"id";i:152347;s:9:"object_id";i:1791;s:11:"object_type";i:1;s:9:"target_id";i:17942;s:18:"target_object_type";i:9;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:5:"17942";s:9:"new_value";s:5:"17942";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:95:"{"d1":"\u66f9\u6c38\u751f","d2":"\u521b\u5efa\u4e86","d3":"\u5f85\u529e\u4e8b\u9879","d4":[""]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '114.246.237.213')
17:09:09.5810.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
17:09:09.5510.6 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1661')
17:09:09.6020.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1791
17:09:09.5510.5 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='1791')
17:09:09.5640.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17942
17:09:09.5770.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:09:09.6070.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
17:09:09.5990.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
17:09:09.5630.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000'
17:09:09.5630.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_schedule_carbon_copy_rels" WHERE "schedule_id"=17942
17:09:09.6080.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:09:09.6110.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661
17:09:09.6110.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:09:09.5960.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:09:09.5990.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
17:09:09.5770.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_schedules" WHERE "id"=17942
17:09:09.6100.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1791
17:09:09.5640.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
17:09:09.5520.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1000')
17:09:09.5520.2 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)
17:09:09.5670.2 msyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1000) AND (channel_id IS NOT NULL)