Total processing time: 70 ms; Peak memory: 5.210 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 13:34:39.934 | 17.5 ms | yii\db\Command::query | select 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_sales_goals' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 13:34:39.918 | 15.4 ms | yii\db\Command::query | SELECT 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_sales_goals' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 13:34:39.902 | 5.4 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:34:39.907 | 2.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:34:39.961 | 1.8 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/setting/list-sales-goal', '{"SalesGoals":{"goal_year":"2026"},"page":"1","web_access_token":"s1xKbg9e3rlah-dvFsDEWCxiJPk9VpSm"}', '{"code":2000,"result":{"list":[{"id":15,"title":"\u6d4b\u8bd5","goal_year":2026,"y_budget":"12000000","m1_budget":"1000000","m2_budget":"1000000","m3_budget":"1000000","m4_budget":"1000000","m5_budget":"1000000","m6_budget":"1000000","m7_budget":"1000000","m8_budget":"1000000","m9_budget":"1000000","m10_budget":"1000000","m11_budget":"1000000","m12_budget":"1000000","s1_budget":"3000000","s2_budget":"3000000","s3_budget":"3000000","s4_budget":"3000000","y_profit":"10000000","m1_profit":"833332.9999","m2_profit":"833332.9999","m3_profit":"833332.9999","m4_profit":"833332.9999","m5_profit":"833332.9999","m6_profit":"833332.9999","m7_profit":"833332.9999","m8_profit":"833332.9999","m9_profit":"833332.9999","m10_profit":"833332.9999","m11_profit":"833332.9999","m12_profit":"833332.9999","s1_profit":"2500000","s2_profit":"2500000","s3_profit":"2500000","s4_profit":"2500000","created_by":1001,"created_at":"2026-04-14 14:35:18","updated_at":"2026-06-08 14:44:45","has_budget":true,"has_profit":true,"users":[{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}}],"goal_year_display":2026,"can_update":true,"can_delete":true,"bgcolor":"#89c541"}],"startMonth":"01","can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-06-23 13:34:39', 62512128) RETURNING "id" |
| 13:34:39.913 | 1.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:34:39.953 | 0.9 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_sales_goals" WHERE "goal_year"='2026' ORDER BY "goal_year" DESC, "created_at" DESC) "c" |
| 13:34:39.956 | 0.7 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1005) |
| 13:34:39.911 | 0.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:34:39.954 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_goals" WHERE "goal_year"='2026' ORDER BY "goal_year" DESC, "created_at" DESC LIMIT 20 |
| 13:34:39.955 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_goal_rels" WHERE "sales_goal_id"=15 |
| 13:34:39.956 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1005 |