基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-11 19:00:55 HTTP/1.1 GET : fyi01.test3.shoppaas.co/category/all
- 运行时间 : 0.183220s [ 吞吐率:5.46req/s ] 内存消耗:3,885.05kb 文件加载:270
- 查询信息 : [耗时:0.069219s/0.183220 37.78% ] 56 queries ,4 writes
- 缓存信息 : 16 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=l3d7ijjgqmkvt81hg4nn02b7ms
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000259s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'fyi01.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.209',
'referer' => 'http://fyi01.test3.shoppaas.co/category/all',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'fyi01.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005090s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000034s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000099s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698665395604:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/template/product_lists.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'category',
39 => 'filters',
40 => 'price',
41 => 'oldprice',
42 => 'oldsku',
43 => 'oldsupplier',
44 => 'productList',
45 => 'appends',
46 => 'product_review',
47 => 'empty',
48 => 'view',
49 => 'order',
50 => 'limit',
51 => 'seotitle',
52 => 'seokeywords',
53 => 'seodescription',
54 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002881s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002148s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001972s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001981s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001919s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002923s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002000s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001690s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001332s ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.005115s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001059s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002025s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001988s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001088s ]
- 1/23 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.005115s ] [0.005115s/0.035803s=14.29%]
- 2/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005090s ] [0.005090s/0.035803s=14.22%]
- 3/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002923s ] [0.002923s/0.035803s=8.16%]
- 4/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002881s ] [0.002881s/0.035803s=8.05%]
- 5/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002148s ] [0.002148s/0.035803s=6.00%]
- 6/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002025s ] [0.002025s/0.035803s=5.66%]
- 7/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002000s ] [0.002000s/0.035803s=5.59%]
- 8/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001988s ] [0.001988s/0.035803s=5.55%]
- 9/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001981s ] [0.001981s/0.035803s=5.53%]
- 10/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001972s ] [0.001972s/0.035803s=5.51%]
- 11/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001919s ] [0.001919s/0.035803s=5.36%]
- 12/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001690s ] [0.001690s/0.035803s=4.72%]
- 13/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001332s ] [0.001332s/0.035803s=3.72%]
- 14/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001088s ] [0.001088s/0.035803s=3.04%]
- 15/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001059s ] [0.001059s/0.035803s=2.96%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000259s ] [0.000259s/0.035803s=0.72%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000099s ] [0.000099s/0.035803s=0.28%]
- 18/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.035803s=0.15%]
- 19/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.035803s=0.14%]
- 20/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.035803s=0.13%]
- 21/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.035803s=0.11%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000034s ] [0.000034s/0.035803s=0.09%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.035803s=0.04%]
- [ DB ] CONNECT:[ UseTime:0.002212s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698665395604;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001012s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001118s ]
- [ SQL ] SELECT `area_id` FROM `access_control_blacklist` [ RunTime:0.000965s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.209' LIMIT 1 [ RunTime:0.000961s ]
- [ SQL ] SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [ RunTime:0.000900s ]
- [ SQL ] SELECT `code` FROM `area` WHERE `id` IN ('') [ RunTime:0.000828s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001270s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001024s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001041s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000958s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001137s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001067s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001052s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000766s ]
- [ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775905255 and b.endtime > 1775905255 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001718s ]
- [ SQL ] select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.002275s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000849s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000793s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775905255 and b.endtime > 1775905255 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001624s ]
- [ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775905255 and b.endtime > 1775905255 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001413s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001084s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002400s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775905255 > starttime && 1775905255 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001299s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.000977s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001149s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001166s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001020s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001176s ]
- [ SQL ] select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 1
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001156s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001457s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001102s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001011s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001388s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001099s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [ RunTime:0.001000s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001089s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [ RunTime:0.001026s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001089s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [ RunTime:0.001181s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001062s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [ RunTime:0.001011s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [ RunTime:0.001119s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 14 AND `status` = '1' LIMIT 1 [ RunTime:0.001300s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [ RunTime:0.001037s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 14 AND `status` = '1' LIMIT 1 [ RunTime:0.001412s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [ RunTime:0.000940s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 14 AND `status` = '1' LIMIT 1 [ RunTime:0.001225s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 13 AND `status` = '1' LIMIT 1 [ RunTime:0.000862s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 13 AND `status` = '1' LIMIT 1 [ RunTime:0.001086s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [ RunTime:0.000902s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 13 AND `status` = '1' LIMIT 1 [ RunTime:0.000851s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [ RunTime:0.000828s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000886s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [ RunTime:0.000796s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000990s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [ RunTime:0.000925s ]
- 1/61 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002400s/0.069219s=3.47%]
- 2/61 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.002275s/0.069219s=3.29%]
- 3/61 . CONNECT:[ UseTime:0.002212s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698665395604;charset=utf8mb4 [0.002212s/0.069219s=3.20%]
- 4/61 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775905255 and b.endtime > 1775905255 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001718s/0.069219s=2.48%]
- 5/61 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775905255 and b.endtime > 1775905255 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001624s/0.069219s=2.35%]
- 6/61 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001457s/0.069219s=2.10%]
- 7/61 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775905255 and b.endtime > 1775905255 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001413s/0.069219s=2.04%]
- 8/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 14 AND `status` = '1' LIMIT 1 [0.001412s/0.069219s=2.04%]
- 9/61 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001388s/0.069219s=2.01%]
- 10/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 14 AND `status` = '1' LIMIT 1 [0.001300s/0.069219s=1.88%]
- 11/61 . SELECT * FROM `activity` WHERE ( ( 1775905255 > starttime && 1775905255 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001299s/0.069219s=1.88%]
- 12/61 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001270s/0.069219s=1.83%]
- 13/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 14 AND `status` = '1' LIMIT 1 [0.001225s/0.069219s=1.77%]
- 14/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [0.001181s/0.069219s=1.71%]
- 15/61 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001176s/0.069219s=1.70%]
- 16/61 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001166s/0.069219s=1.68%]
- 17/61 . select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 1
and p.status = "up" and p.deletetime is null limit 40 [0.001156s/0.069219s=1.67%]
- 18/61 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001149s/0.069219s=1.66%]
- 19/61 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001137s/0.069219s=1.64%]
- 20/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [0.001119s/0.069219s=1.62%]
- 21/61 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001118s/0.069219s=1.62%]
- 22/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [0.001116s/0.069219s=1.61%]
- 23/61 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001102s/0.069219s=1.59%]
- 24/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001099s/0.069219s=1.59%]
- 25/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001089s/0.069219s=1.57%]
- 26/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001089s/0.069219s=1.57%]
- 27/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 13 AND `status` = '1' LIMIT 1 [0.001086s/0.069219s=1.57%]
- 28/61 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.001084s/0.069219s=1.57%]
- 29/61 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001067s/0.069219s=1.54%]
- 30/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001062s/0.069219s=1.53%]
- 31/61 . SELECT @@session.sql_mode [0.001052s/0.069219s=1.52%]
- 32/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [0.001049s/0.069219s=1.52%]
- 33/61 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001041s/0.069219s=1.50%]
- 34/61 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001040s/0.069219s=1.50%]
- 35/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [0.001037s/0.069219s=1.50%]
- 36/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [0.001026s/0.069219s=1.48%]
- 37/61 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001024s/0.069219s=1.48%]
- 38/61 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001020s/0.069219s=1.47%]
- 39/61 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001012s/0.069219s=1.46%]
- 40/61 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001011s/0.069219s=1.46%]
- 41/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [0.001011s/0.069219s=1.46%]
- 42/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [0.001000s/0.069219s=1.44%]
- 43/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000990s/0.069219s=1.43%]
- 44/61 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000977s/0.069219s=1.41%]
- 45/61 . SELECT `area_id` FROM `access_control_blacklist` [0.000965s/0.069219s=1.39%]
- 46/61 . SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.209' LIMIT 1 [0.000961s/0.069219s=1.39%]
- 47/61 . set time_zone = '+08:00' [0.000958s/0.069219s=1.38%]
- 48/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [0.000940s/0.069219s=1.36%]
- 49/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000930s/0.069219s=1.34%]
- 50/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [0.000925s/0.069219s=1.34%]
- 51/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [0.000902s/0.069219s=1.30%]
- 52/61 . SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [0.000900s/0.069219s=1.30%]
- 53/61 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000886s/0.069219s=1.28%]
- 54/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 13 AND `status` = '1' LIMIT 1 [0.000862s/0.069219s=1.25%]
- 55/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 13 AND `status` = '1' LIMIT 1 [0.000851s/0.069219s=1.23%]
- 56/61 . SELECT @@session.sql_mode [0.000849s/0.069219s=1.23%]
- 57/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [0.000828s/0.069219s=1.20%]
- 58/61 . SELECT `code` FROM `area` WHERE `id` IN ('') [0.000828s/0.069219s=1.20%]
- 59/61 . SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [0.000796s/0.069219s=1.15%]
- 60/61 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000793s/0.069219s=1.15%]
- 61/61 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000766s/0.069219s=1.11%]
- 1/11. SELECT `id` FROM `custom_activity` WHERE `id` = 15 AND `status` = '1' LIMIT 1 [4 times, 0.004218s/0.069219s=6.09%]
- 2/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [4 times, 0.004339s/0.069219s=6.27%]
- 3/11. SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [3 times, 0.002549s/0.069219s=3.68%]
- 4/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [3 times, 0.002806s/0.069219s=4.05%]
- 5/11. SELECT `id` FROM `custom_activity` WHERE `id` = 13 AND `status` = '1' LIMIT 1 [3 times, 0.002799s/0.069219s=4.04%]
- 6/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [3 times, 0.003067s/0.069219s=4.43%]
- 7/11. SELECT `id` FROM `custom_activity` WHERE `id` = 14 AND `status` = '1' LIMIT 1 [3 times, 0.003937s/0.069219s=5.69%]
- 8/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [3 times, 0.003096s/0.069219s=4.47%]
- 9/11. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002708s/0.069219s=3.91%]
- 10/11. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [2 times, 0.002408s/0.069219s=3.48%]
- 11/11. SELECT @@session.sql_mode [2 times, 0.001901s/0.069219s=2.75%]