Total processing time: 61 ms; Peak memory: 2.679 MB. Show Profiling Timeline
Time | Duration | Category | Info |
---|---|---|---|
16:18:25.769 | 5.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_browser_ua_statistics' and ns.nspname='global' order by fns.nspname, fc.relname, a.attnum |
16:18:25.764 | 4.2 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_browser_ua_statistics' and d.nspname = 'global' ORDER BY a.attnum; |
16:18:25.732 | 3.1 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
16:18:25.729 | 3.0 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
16:18:25.761 | 2.5 ms | yii\db\Command::query | SELECT * FROM "global"."tbl_browser_ua_statistics" "b" WHERE "user_agent"='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:141.0) Gecko/20100101 Firefox/141.0' |
16:18:25.737 | 2.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:18:25.758 | 1.9 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/history/list-object', '{"web_access_token":"0OmNcjMNpl7I6Nbm2bTJGMI-xreQBLAo"}', '{"code":2000,"result":{"list":[{"id":183962,"user_id":1001,"object_type":1,"object_id":3950,"last_visit_at":"2025-08-21 15:42:15","title":"4234","icon":"icon-shangjixinxi"},{"id":183961,"user_id":1001,"object_type":1,"object_id":3837,"last_visit_at":"2025-08-21 15:40:59","title":"\u65b0\u8d2d\u6df1\u4fe1\u670d\u8d85\u878d\u5408\u684c\u9762\u4e91","icon":"icon-shangjixinxi"},{"id":183957,"user_id":1001,"object_type":1,"object_id":3915,"last_visit_at":"2025-08-21 15:40:27","title":"\u6280\u672f\u670d\u52a1\u8d39\uff08\u534e\u8baf\u9879\u76ee\uff09","icon":"icon-shangjixinxi"},{"id":183960,"user_id":1001,"object_type":7,"object_id":4099,"last_visit_at":"2025-08-21 15:40:21","title":"\u5408\u540c\u7f16\u53f7\uff1a2025-08-21-001","icon":"icon-xiaoshouhetong"},{"id":183959,"user_id":1001,"object_type":7,"object_id":4098,"last_visit_at":"2025-08-21 15:39:06","title":"\u5408\u540c\u7f16\u53f7\uff1a2025-08-20-001","icon":"icon-xiaoshouhetong"},{"id":183958,"user_id":1001,"object_type":1,"object_id":3939,"last_visit_at":"2025-08-21 15:38:53","title":"\u6d4b\u8bd5\u65b0\u5efa500","icon":"icon-shangjixinxi"},{"id":183956,"user_id":1001,"object_type":1,"object_id":3880,"last_visit_at":"2025-08-21 13:54:47","title":"\u201c\u4e24\u5730\u4e09\u4e2d\u5fc3\u201d\u707e\u5907\u5e73\u53f0\u89c4\u5212\u8bbe\u8ba1","icon":"icon-shangjixinxi"},{"id":183955,"user_id":1001,"object_type":37,"object_id":2133,"last_visit_at":"2025-08-20 17:45:57","title":"\u6d4b\u8bd5","icon":"icon-shenpi"},{"id":183954,"user_id":1001,"object_type":37,"object_id":2134,"last_visit_at":"2025-08-20 17:43:36","title":"1","icon":"icon-shenpi"},{"id":183953,"user_id":1001,"object_type":20,"object_id":6369,"last_visit_at":"2025-08-20 17:39:10","title":"\u65e5\u5e38\u529e\u516c","icon":"icon-feiyongbaoxiao"}]},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0}', FALSE, '2025-08-21 16:18:25') RETURNING "id" |
16:18:25.751 | 1.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3880 |
16:18:25.739 | 1.3 ms | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_visit_object_histories" WHERE "user_id"=1001 ORDER BY "last_visit_at" DESC LIMIT 10) "c" |
16:18:25.742 | 1.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3950 |
16:18:25.745 | 1.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4099 |
16:18:25.753 | 0.8 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"=2133 |
16:18:25.755 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=6369 |
16:18:25.757 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (307, 380, 356)) |
16:18:25.754 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"=2134 |
16:18:25.750 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_sales_contracts" WHERE "id"=4098 |
16:18:25.741 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_visit_object_histories" WHERE "user_id"=1001 ORDER BY "last_visit_at" DESC LIMIT 20 |
16:18:25.750 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3939 |
16:18:25.744 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3915 |
16:18:25.756 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=6369 |
16:18:25.743 | 0.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=3837 |
16:18:25.775 | 0.3 ms | yii\db\Command::execute | UPDATE "global"."tbl_browser_ua_statistics" SET "counter"=17000 WHERE "id"=154 |