基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-03 01:28:05 HTTP/1.1 GET : pengdong18881.pdtest.saascdn.co/all
- 运行时间 : 0.206434s [ 吞吐率:4.84req/s ] 内存消耗:3,127.09kb 文件加载:267
- 查询信息 : [耗时:0.074578s/0.206434 36.13% ] 44 queries ,4 writes
- 缓存信息 : 27 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=clqkiv6vvqoest9e6i0e0qgbc0
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000243s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000068s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'pengdong18881.pdtest.saascdn.co',
'x-forwarded-for' => '216.73.216.84',
'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' => 'pengdong18881.pdtest.saascdn.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.007407s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000042s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000096s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1704420534302:',
'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/arise/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.003902s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001780s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002730s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001548s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001563s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001575s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001569s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.002000s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001146s ]
- [ 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.002079s ]
- [ VIEW ] /wwwroot/template/arise/../arise/template/product_featured.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ 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.000443s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.013665s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002216s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001692s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000999s ]
- 1/24 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.013665s ] [0.013665s/0.046926s=29.12%]
- 2/24 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.007407s ] [0.007407s/0.046926s=15.78%]
- 3/24 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003902s ] [0.003902s/0.046926s=8.32%]
- 4/24 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002730s ] [0.002730s/0.046926s=5.82%]
- 5/24 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002216s ] [0.002216s/0.046926s=4.72%]
- 6/24 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.002079s ] [0.002079s/0.046926s=4.43%]
- 7/24 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.002000s ] [0.002000s/0.046926s=4.26%]
- 8/24 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001780s ] [0.001780s/0.046926s=3.79%]
- 9/24 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001692s ] [0.001692s/0.046926s=3.61%]
- 10/24 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001575s ] [0.001575s/0.046926s=3.36%]
- 11/24 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001569s ] [0.001569s/0.046926s=3.34%]
- 12/24 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001563s ] [0.001563s/0.046926s=3.33%]
- 13/24 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001548s ] [0.001548s/0.046926s=3.30%]
- 14/24 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001146s ] [0.001146s/0.046926s=2.44%]
- 15/24 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000999s ] [0.000999s/0.046926s=2.13%]
- 16/24 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000443s ] [0.000443s/0.046926s=0.94%]
- 17/24 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000243s ] [0.000243s/0.046926s=0.52%]
- 18/24 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000096s ] [0.000096s/0.046926s=0.20%]
- 19/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000068s ] [0.000068s/0.046926s=0.14%]
- 20/24 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000058s ] [0.000058s/0.046926s=0.12%]
- 21/24 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ] [0.000054s/0.046926s=0.12%]
- 22/24 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000042s ] [0.000042s/0.046926s=0.09%]
- 23/24 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ] [0.000033s/0.046926s=0.07%]
- 24/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ] [0.000018s/0.046926s=0.04%]
- [ DB ] CONNECT:[ UseTime:0.003783s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704420534302;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000990s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001325s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.001227s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001180s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001126s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001185s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001027s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001241s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.002143s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001125s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002311s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001320s ]
- [ 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 < 1775150885 and b.endtime > 1775150885 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.003311s ]
- [ 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 (450,448,447,446,445,444,443,442,441,440,60,3,2) group by binary(p.name), binary(p1.name); [ RunTime:0.004850s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002292s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000778s ]
- [ 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 < 1775150885 and b.endtime > 1775150885 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.001607s ]
- [ 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 < 1775150885 and b.endtime > 1775150885 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.002109s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (450,448,447,446,445,444,443,442,441,440,60,3) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001443s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (450,448,447,446,445,444,443,442,441,440,60,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001729s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775150885 > starttime && 1775150885 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001377s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001557s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001310s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001205s ]
- [ 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.001261s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001490s ]
- [ 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.001896s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001852s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001001s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001252s ]
- [ 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.001475s ]
- [ 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.000948s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.001408s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001642s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001291s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,3,450,60,440,441) LIMIT 0,15 [ RunTime:0.001753s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,450,60,440,441) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001653s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (3,450,60,440,441) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001684s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001177s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.001338s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000934s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001256s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.000896s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000925s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.000856s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001096s ]
- 1/49 . 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 (450,448,447,446,445,444,443,442,441,440,60,3,2) group by binary(p.name), binary(p1.name); [0.004850s/0.074578s=6.50%]
- 2/49 . CONNECT:[ UseTime:0.003783s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704420534302;charset=utf8mb4 [0.003783s/0.074578s=5.07%]
- 3/49 . 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 < 1775150885 and b.endtime > 1775150885 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.003311s/0.074578s=4.44%]
- 4/49 . SELECT @@session.sql_mode [0.002311s/0.074578s=3.10%]
- 5/49 . SELECT @@session.sql_mode [0.002292s/0.074578s=3.07%]
- 6/49 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.002143s/0.074578s=2.87%]
- 7/49 . 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 < 1775150885 and b.endtime > 1775150885 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.002109s/0.074578s=2.83%]
- 8/49 . 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.001896s/0.074578s=2.54%]
- 9/49 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001852s/0.074578s=2.48%]
- 10/49 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,3,450,60,440,441) LIMIT 0,15 [0.001753s/0.074578s=2.35%]
- 11/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (450,448,447,446,445,444,443,442,441,440,60,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001729s/0.074578s=2.32%]
- 12/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (3,450,60,440,441) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001684s/0.074578s=2.26%]
- 13/49 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,450,60,440,441) ) AND `discuss`.`deletetime` IS NULL [0.001653s/0.074578s=2.22%]
- 14/49 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001642s/0.074578s=2.20%]
- 15/49 . 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 < 1775150885 and b.endtime > 1775150885 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.001607s/0.074578s=2.15%]
- 16/49 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001557s/0.074578s=2.09%]
- 17/49 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001490s/0.074578s=2.00%]
- 18/49 . 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.001475s/0.074578s=1.98%]
- 19/49 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (450,448,447,446,445,444,443,442,441,440,60,3) ) AND `discuss`.`deletetime` IS NULL [0.001443s/0.074578s=1.93%]
- 20/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.001408s/0.074578s=1.89%]
- 21/49 . SELECT * FROM `activity` WHERE ( ( 1775150885 > starttime && 1775150885 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001377s/0.074578s=1.85%]
- 22/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.001338s/0.074578s=1.79%]
- 23/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001325s/0.074578s=1.78%]
- 24/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001320s/0.074578s=1.77%]
- 25/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001310s/0.074578s=1.76%]
- 26/49 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001291s/0.074578s=1.73%]
- 27/49 . 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.001261s/0.074578s=1.69%]
- 28/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001256s/0.074578s=1.68%]
- 29/49 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001252s/0.074578s=1.68%]
- 30/49 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001241s/0.074578s=1.66%]
- 31/49 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001227s/0.074578s=1.65%]
- 32/49 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001205s/0.074578s=1.62%]
- 33/49 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001185s/0.074578s=1.59%]
- 34/49 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001180s/0.074578s=1.58%]
- 35/49 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001177s/0.074578s=1.58%]
- 36/49 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001126s/0.074578s=1.51%]
- 37/49 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001125s/0.074578s=1.51%]
- 38/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001096s/0.074578s=1.47%]
- 39/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001049s/0.074578s=1.41%]
- 40/49 . set time_zone = '+08:00' [0.001027s/0.074578s=1.38%]
- 41/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001001s/0.074578s=1.34%]
- 42/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000990s/0.074578s=1.33%]
- 43/49 . 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.000948s/0.074578s=1.27%]
- 44/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000934s/0.074578s=1.25%]
- 45/49 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000925s/0.074578s=1.24%]
- 46/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.000896s/0.074578s=1.20%]
- 47/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.000894s/0.074578s=1.20%]
- 48/49 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.000856s/0.074578s=1.15%]
- 49/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000778s/0.074578s=1.04%]
- 1/5. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [5 times, 0.00526s/0.074578s=7.05%]
- 2/5. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [5 times, 0.005392s/0.074578s=7.23%]
- 3/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.003408s/0.074578s=4.57%]
- 4/5. 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 [3 times, 0.003684s/0.074578s=4.94%]
- 5/5. SELECT @@session.sql_mode [2 times, 0.004603s/0.074578s=6.17%]