Total processing time: 94 ms; Peak memory: 3.577 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 13:35:44.340 | 18.8 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_goal_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 13:35:44.360 | 16.1 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_sales_goal_rels" ("sales_goal_id", "user_id") VALUES (15, 1005) |
| 13:35:44.334 | 5.9 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_goal_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 13:35:44.384 | 2.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/save-edit-sales-goal', '{"SalesGoals":{"quarterparamvalue":"0","monthparamvalue":"0","profitparamvalue":"0","monthprofitvalue":"0","has_budget":"1","has_profit":"1","title":"\u6d4b\u8bd5","id":"15","users":["1005"],"goal_year":"2026","y_budget":"12000000","y_profit":"5000000","s1_budget":"3000000","s2_budget":"3000000","s3_budget":"3000000","s4_budget":"3000000","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_per":"25","s2_budget_per":"25","s3_budget_per":"25","s4_budget_per":"25","m1_budget_per":"8.33","m2_budget_per":"8.33","m3_budget_per":"8.33","m4_budget_per":"8.33","m5_budget_per":"8.33","m6_budget_per":"8.33","m7_budget_per":"8.33","m8_budget_per":"8.33","m9_budget_per":"8.33","m10_budget_per":"8.33","m11_budget_per":"8.33","m12_budget_per":"8.33","s1_profit":"1250000","s2_profit":"1250000","s3_profit":"1250000","s4_profit":"1250000","m1_profit":"416666","m2_profit":"416666","m3_profit":"416666","m4_profit":"416666","m5_profit":"416666","m6_profit":"416666","m7_profit":"416666","m8_profit":"416666","m9_profit":"416666","m10_profit":"416666","m11_profit":"416666","m12_profit":"416666","s1_profit_per":"25","s2_profit_per":"25","s3_profit_per":"25","s4_profit_per":"25","m1_profit_per":"8.33","m2_profit_per":"8.33","m3_profit_per":"8.33","m4_profit_per":"8.33","m5_profit_per":"8.33","m6_profit_per":"8.33","m7_profit_per":"8.33","m8_profit_per":"8.33","m9_profit_per":"8.33","m10_profit_per":"8.33","m11_profit_per":"8.33","m12_profit_per":"8.33"},"web_access_token":"s1xKbg9e3rlah-dvFsDEWCxiJPk9VpSm"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u9500\u552e\u4efb\u52a1\u5df2\u88ab\u6210\u529f\u4fee\u6539","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:35:44', 84617984) RETURNING "id" |
| 13:35:44.331 | 2.6 ms | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_sales_goal_rels" WHERE "sales_goal_id"=15 |
| 13:35:44.329 | 2.3 ms | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\SalesGoals', 15, 'a:17:{s:8:"y_profit";s:7:"5000000";s:9:"m1_profit";s:6:"416666";s:9:"m2_profit";s:6:"416666";s:9:"m3_profit";s:6:"416666";s:9:"m4_profit";s:6:"416666";s:9:"m5_profit";s:6:"416666";s:9:"m6_profit";s:6:"416666";s:9:"m7_profit";s:6:"416666";s:9:"m8_profit";s:6:"416666";s:9:"m9_profit";s:6:"416666";s:10:"m10_profit";s:6:"416666";s:10:"m11_profit";s:6:"416666";s:10:"m12_profit";s:6:"416666";s:9:"s1_profit";s:7:"1250000";s:9:"s2_profit";s:7:"1250000";s:9:"s3_profit";s:7:"1250000";s:9:"s4_profit";s:7:"1250000";}', '', 1001, '221.216.117.25') |
| 13:35:44.326 | 1.8 ms | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_sales_goals" SET "goal_year"=2026, "y_profit"='5000000', "m1_profit"='416666', "m2_profit"='416666', "m3_profit"='416666', "m4_profit"='416666', "m5_profit"='416666', "m6_profit"='416666', "m7_profit"='416666', "m8_profit"='416666', "m9_profit"='416666', "m10_profit"='416666', "m11_profit"='416666', "m12_profit"='416666', "s1_profit"='1250000', "s2_profit"='1250000', "s3_profit"='1250000', "s4_profit"='1250000', "updated_at"='now()', "has_budget"=TRUE, "has_profit"=TRUE WHERE "id"=15 |
| 13:35:44.321 | 0.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_goals" WHERE "id"='15' |
| 13:35:44.303 | 0.9 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:35:44.323 | 0.8 ms | yii\db\Command::query | SELECT EXISTS(SELECT "sg".* FROM "a57be577deb434"."tbl_sales_goals" "sg" LEFT JOIN "a57be577deb434"."tbl_sales_goal_rels" "sgr" ON sgr.sales_goal_id = sg.id WHERE ("sg"."id" != 15) AND ("sgr"."user_id"='1005') AND ("sg"."goal_year"='2026') GROUP BY "sg"."id") |
| 13:35:44.305 | 0.7 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:35:44.315 | 0.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:35:44.325 | 0.4 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 13:35:44.302 | 0.4 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:35:44.326 | 0.3 ms | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |