Performance Profiling

Total processing time: 277 ms; Peak memory: 5.177 MB. Show Profiling Timeline

总计32条数据
TimeDurationCategoryInfo
  
11:20:59.507102.4 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=3851) AND ("object_type"=13)
11:20:59.62183.1 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=3851) AND ("object_type"=13)) OR (("target_id"=3851) AND ("target_object_type"=13))
11:20:59.47614.8 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=982) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:20:59.70511.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=3851) AND ("object_type"=13)
11:20:59.60910.5 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=3851) AND ("object_type"=13)
11:20:59.71710.1 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=3851) AND ("object_type"=13)
11:20:59.7276.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=3851
11:20:59.4632.3 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
11:20:59.4621.8 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
11:20:59.5001.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=1018) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
11:20:59.4961.3 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', 509999, 'a:13:{s:2:"id";i:509999;s:9:"object_id";i:982;s:11:"object_type";i:10;s:9:"target_id";i:3851;s:18:"target_object_type";i:13;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[3851]";s:9:"new_value";s:6:"[3851]";s:11:"description";s:140:"{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:(\u672a\u8bbe\u7f6e)"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
11:20:59.4671.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
11:20:59.4741.2 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=982
11:20:59.4911.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (982, 1001, 'now()', NULL) RETURNING "id"
11:20:59.4951.1 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 (3, 'delete', 982, 10, 3851, 13, 1001, '[3851]', '[3851]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:(\u672a\u8bbe\u7f6e)"]}') RETURNING "id"
11:20:59.7341.0 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/purchase-contract/delete', '{"id":"3851","web_access_token":"er_liQPTz011rRwTshQzixBLTwcD6PCJ"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u91c7\u8d2d\u5408\u540c\u5df2\u88ab\u6210\u529f\u5220\u9664","error":""}],"mod":0}', FALSE, '2025-07-04 11:20:59') RETURNING "id"
11:20:59.4921.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\ClientAmChangeLogs', 165092, 'a:5:{s:2:"id";i:165092;s:9:"client_id";i:982;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.254.1.137')
11:20:59.6201.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("object_id"=3851) AND ("object_type"=13)
11:20:59.4990.9 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=1018
11:20:59.4720.9 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982
11:20:59.5040.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', 510000, 'a:13:{s:2:"id";i:510000;s:9:"object_id";i:1018;s:11:"object_type";i:1;s:9:"target_id";i:3851;s:18:"target_object_type";i:13;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[3851]";s:9:"new_value";s:6:"[3851]";s:11:"description";s:140:"{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:(\u672a\u8bbe\u7f6e)"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
11:20:59.5050.7 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 (3, 'delete', 689, 12, 3851, 13, 1001, '[3851]', '[3851]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:(\u672a\u8bbe\u7f6e)"]}') RETURNING "id"
11:20:59.5030.7 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 (3, 'delete', 1018, 1, 3851, 13, 1001, '[3851]', '[3851]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:(\u672a\u8bbe\u7f6e)"]}') RETURNING "id"
11:20:59.5020.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', 1018, 'a:1:{s:6:"end_at";s:19:"2022-08-02 11:44:02";}', '', 1001, '114.254.1.137')
11:20:59.5060.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', 510001, 'a:13:{s:2:"id";i:510001;s:9:"object_id";i:689;s:11:"object_type";i:12;s:9:"target_id";i:3851;s:18:"target_object_type";i:13;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[3851]";s:9:"new_value";s:6:"[3851]";s:11:"description";s:140:"{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u5408\u540c","d4":["\u5408\u540c\u7f16\u53f7:(\u672a\u8bbe\u7f6e)"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.254.1.137')
11:20:59.7330.7 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('DELETE', 'app\models\PurchaseContracts', 3851, '', '', 1001, '114.254.1.137')
11:20:59.4940.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', 982, 'a:0:{}', '', 1001, '114.254.1.137')
11:20:59.4710.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_client_rels" WHERE "contract_id"=3851 ORDER BY "id"
11:20:59.4970.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=1018
11:20:59.7040.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=689
11:20:59.4690.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='3851'
11:20:59.5020.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982