基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-05-29 04:20:19 HTTP/1.1 GET : pengdong18881.pdtest.saascdn.co/all
- 运行时间 : 0.137416s [ 吞吐率:7.28req/s ] 内存消耗:3,119.26kb 文件加载:272
- 查询信息 : [耗时:0.068438s/0.137416 49.80% ] 43 queries ,4 writes
- 缓存信息 : 27 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=e5emru88kuvtekb5ssvf1r83k9
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000289s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000058s ]
- [ 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' => 'pengdong18881.pdtest.saascdn.co',
'x-forwarded-for' => '216.73.217.111',
'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.002462s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000030s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1704420534302:',
'type' => 'redis',
'host' => 'test-redis-7.rj9kwp.ng.0001.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.003016s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000861s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000652s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000673s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000707s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000826s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000829s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001087s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000712s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001061s ]
- [ 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.001196s ]
- [ 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.000397s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.011000s ]
- [ VIEW ] /wwwroot/addons/paymentshow/view/payment_show.html [ array (
0 => 'payment',
1 => 'align',
2 => 'merchantCard',
3 => 'merchantCardPayssion',
4 => 'paymentIcons',
5 => 'templateName',
) ]
- [ BEHAVIOR ] Run addons\paymentshow\Hook @payment_show [ RunTime:0.000357s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000775s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000713s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000462s ]
- 1/26 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.011000s ] [0.011000s/0.028431s=38.69%]
- 2/26 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003016s ] [0.003016s/0.028431s=10.61%]
- 3/26 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002462s ] [0.002462s/0.028431s=8.66%]
- 4/26 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.001196s ] [0.001196s/0.028431s=4.21%]
- 5/26 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001087s ] [0.001087s/0.028431s=3.82%]
- 6/26 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001061s ] [0.001061s/0.028431s=3.73%]
- 7/26 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000861s ] [0.000861s/0.028431s=3.03%]
- 8/26 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000829s ] [0.000829s/0.028431s=2.92%]
- 9/26 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000826s ] [0.000826s/0.028431s=2.91%]
- 10/26 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000775s ] [0.000775s/0.028431s=2.73%]
- 11/26 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000713s ] [0.000713s/0.028431s=2.51%]
- 12/26 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000712s ] [0.000712s/0.028431s=2.50%]
- 13/26 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000707s ] [0.000707s/0.028431s=2.49%]
- 14/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000673s ] [0.000673s/0.028431s=2.37%]
- 15/26 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000652s ] [0.000652s/0.028431s=2.29%]
- 16/26 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000462s ] [0.000462s/0.028431s=1.62%]
- 17/26 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.000397s ] [0.000397s/0.028431s=1.40%]
- 18/26 . [ BEHAVIOR ] Run addons\paymentshow\Hook @payment_show [ RunTime:0.000357s ] [0.000357s/0.028431s=1.26%]
- 19/26 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000289s ] [0.000289s/0.028431s=1.02%]
- 20/26 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ] [0.000093s/0.028431s=0.33%]
- 21/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000058s ] [0.000058s/0.028431s=0.20%]
- 22/26 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.028431s=0.19%]
- 23/26 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000049s ] [0.000049s/0.028431s=0.17%]
- 24/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ] [0.000046s/0.028431s=0.16%]
- 25/26 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000030s ] [0.000030s/0.028431s=0.11%]
- 26/26 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.028431s=0.09%]
- [ DB ] CONNECT:[ UseTime:0.003209s ] mysql:host=test.cqdeqicu2sp5.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.001085s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001038s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001123s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000852s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000929s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000839s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000972s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000853s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000799s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001487s ]
- [ 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 < 1779999619 and b.endtime > 1779999619 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.009302s ]
- [ 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.006758s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000791s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000744s ]
- [ 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 < 1779999619 and b.endtime > 1779999619 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.001695s ]
- [ 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 < 1779999619 and b.endtime > 1779999619 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.001696s ]
- [ 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.001109s ]
- [ 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.001327s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1779999619 > starttime && 1779999619 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000895s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.002168s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000881s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000881s ]
- [ 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.000851s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000906s ]
- [ 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.001637s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000976s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000950s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001026s ]
- [ 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.000892s ]
- [ 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.000949s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.001055s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001370s ]
- [ 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.000970s ]
- [ 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.002222s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,450,60,440,441) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000980s ]
- [ 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.001345s ]
- [ 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.001173s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.001179s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001041s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000858s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.001009s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000904s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.000890s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000831s ]
- 1/48 . 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 < 1779999619 and b.endtime > 1779999619 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.009302s/0.068438s=13.59%]
- 2/48 . 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.006758s/0.068438s=9.87%]
- 3/48 . CONNECT:[ UseTime:0.003209s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704420534302;charset=utf8mb4 [0.003209s/0.068438s=4.69%]
- 4/48 . 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.002222s/0.068438s=3.25%]
- 5/48 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.002168s/0.068438s=3.17%]
- 6/48 . 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 < 1779999619 and b.endtime > 1779999619 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.001696s/0.068438s=2.48%]
- 7/48 . 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 < 1779999619 and b.endtime > 1779999619 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.001695s/0.068438s=2.48%]
- 8/48 . 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.001637s/0.068438s=2.39%]
- 9/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001487s/0.068438s=2.17%]
- 10/48 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001370s/0.068438s=2.00%]
- 11/48 . 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.001345s/0.068438s=1.97%]
- 12/48 . 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.001327s/0.068438s=1.94%]
- 13/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.001179s/0.068438s=1.72%]
- 14/48 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001173s/0.068438s=1.71%]
- 15/48 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001123s/0.068438s=1.64%]
- 16/48 . 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.001109s/0.068438s=1.62%]
- 17/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001085s/0.068438s=1.59%]
- 18/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.001055s/0.068438s=1.54%]
- 19/48 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001044s/0.068438s=1.53%]
- 20/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001041s/0.068438s=1.52%]
- 21/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001038s/0.068438s=1.52%]
- 22/48 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001026s/0.068438s=1.50%]
- 23/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.001017s/0.068438s=1.49%]
- 24/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.001009s/0.068438s=1.47%]
- 25/48 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,450,60,440,441) ) AND `discuss`.`deletetime` IS NULL [0.000980s/0.068438s=1.43%]
- 26/48 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000976s/0.068438s=1.43%]
- 27/48 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000972s/0.068438s=1.42%]
- 28/48 . 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.000970s/0.068438s=1.42%]
- 29/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000950s/0.068438s=1.39%]
- 30/48 . 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.000949s/0.068438s=1.39%]
- 31/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000930s/0.068438s=1.36%]
- 32/48 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000929s/0.068438s=1.36%]
- 33/48 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000906s/0.068438s=1.32%]
- 34/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000904s/0.068438s=1.32%]
- 35/48 . SELECT * FROM `activity` WHERE ( ( 1779999619 > starttime && 1779999619 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000895s/0.068438s=1.31%]
- 36/48 . 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.000892s/0.068438s=1.30%]
- 37/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.000890s/0.068438s=1.30%]
- 38/48 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000881s/0.068438s=1.29%]
- 39/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000881s/0.068438s=1.29%]
- 40/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000858s/0.068438s=1.25%]
- 41/48 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000853s/0.068438s=1.25%]
- 42/48 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000852s/0.068438s=1.24%]
- 43/48 . 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.000851s/0.068438s=1.24%]
- 44/48 . set time_zone = '+08:00' [0.000839s/0.068438s=1.23%]
- 45/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000831s/0.068438s=1.21%]
- 46/48 . SELECT @@session.sql_mode [0.000799s/0.068438s=1.17%]
- 47/48 . SELECT @@session.sql_mode [0.000791s/0.068438s=1.16%]
- 48/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000744s/0.068438s=1.09%]
- 1/5. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [5 times, 0.004564s/0.068438s=6.67%]
- 2/5. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [5 times, 0.00515s/0.068438s=7.53%]
- 3/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.003112s/0.068438s=4.55%]
- 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.002692s/0.068438s=3.93%]
- 5/5. SELECT @@session.sql_mode [2 times, 0.00159s/0.068438s=2.32%]