Performance Profiling

Total processing time: 20 ms; Peak memory: 2.178 MB. Show Profiling Timeline

总计5条数据
TimeDurationCategoryInfo
  
10:29:13.5044.4 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp'
10:29:13.5003.0 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
10:29:13.5112.7 msyii\db\Command::querySELECT min(CASE WHEN ad.id IS NULL OR ad.geolocation IS NULL OR (ad.geolocation ~= '(0,0)'::point) OR ('116.288586968316,39.96068603515625' = '0,0') THEN 999999999 ELSE (point(ad.geolocation[0], ad.geolocation[1]) <@> point(116.288586968316,39.96068603515625) ) * 1609.31 END) AS distance FROM "a57be577deb434"."tbl_clients" "c" LEFT JOIN "a57be577deb434"."tbl_client_address_rels" "car" ON car.client_id = c.id LEFT JOIN "a57be577deb434"."tbl_addresses" "ad" ON ad.id = car.address_id WHERE ("c"."id"='2815') AND ("deleted"=FALSE) GROUP BY "c"."id"
10:29:13.5091.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1017
10:29:13.5151.4 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', 1017, 2, 1141, 'v2/client/get-distance', '{"access_token":"LaARkbjpq8ODkVzzYWTT4va5Qt3CsuSp","device_type":"2","id":"2815","lat":"39.96068603515625","lng":"116.288586968316","posttime":"1752200960","token":"961a11d22b1715df837a50e83891031b","version_code":"1141"}', '{"code":200,"data":{"model":{"distance":"920.784889295054"},"time":1752200953},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-11 10:29:13') RETURNING "id"