基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-06-07 03:44:00 HTTP/1.1 GET : pdtest22.saascdn.co/category/Fun
- 运行时间 : 0.485904s [ 吞吐率:2.06req/s ] 内存消耗:5,414.40kb 文件加载:322
- 查询信息 : [耗时:0.212721s/0.485904 43.78% ] 49 queries ,4 writes
- 缓存信息 : 14 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=npapdu7baq4erdjtue9gpf5pk8
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000242s ]
- [ 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.000055s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'pdtest22.saascdn.co',
'x-forwarded-for' => '216.73.216.209',
'referer' => 'http://pdtest22.saascdn.co/category/Fun',
'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' => 'pdtest22.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'Fun',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002547s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000025s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000028s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698131405234:',
'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/testtheme/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.003632s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.082310s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000890s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000687s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001085s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000750s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000686s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001355s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000677s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001181s ]
- [ VIEW ] /wwwroot/template/testtheme/../testtheme/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',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.019094s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000743s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000722s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000512s ]
- 1/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.082310s ] [0.082310s/0.117384s=70.12%]
- 2/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.019094s ] [0.019094s/0.117384s=16.27%]
- 3/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003632s ] [0.003632s/0.117384s=3.09%]
- 4/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002547s ] [0.002547s/0.117384s=2.17%]
- 5/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001355s ] [0.001355s/0.117384s=1.15%]
- 6/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001181s ] [0.001181s/0.117384s=1.01%]
- 7/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001085s ] [0.001085s/0.117384s=0.92%]
- 8/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000890s ] [0.000890s/0.117384s=0.76%]
- 9/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000750s ] [0.000750s/0.117384s=0.64%]
- 10/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000743s ] [0.000743s/0.117384s=0.63%]
- 11/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000722s ] [0.000722s/0.117384s=0.62%]
- 12/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000687s ] [0.000687s/0.117384s=0.59%]
- 13/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000686s ] [0.000686s/0.117384s=0.58%]
- 14/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000677s ] [0.000677s/0.117384s=0.58%]
- 15/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000512s ] [0.000512s/0.117384s=0.44%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000242s ] [0.000242s/0.117384s=0.21%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ] [0.000065s/0.117384s=0.06%]
- 18/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.117384s=0.05%]
- 19/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.117384s=0.04%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.117384s=0.03%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000028s ] [0.000028s/0.117384s=0.02%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000025s ] [0.000025s/0.117384s=0.02%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ] [0.000010s/0.117384s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002558s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698131405234;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.020794s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002378s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001965s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.002894s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001395s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001331s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000931s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001471s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.005027s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.003556s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001346s ]
- [ 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 < 1780775040 and b.endtime > 1780775040 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.025055s ]
- [ 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 (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4) group by binary(p.name), binary(p1.name); [ RunTime:0.018835s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.009923s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000951s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1780775040 and b.endtime > 1780775040 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.020557s ]
- [ 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1780775040 and b.endtime > 1780775040 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,20 [ RunTime:0.012775s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001935s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.019202s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1780775040 > starttime && 1780775040 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.008027s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.003590s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001282s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'Fun' LIMIT 1 [ RunTime:0.001843s ]
- [ 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001345s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001185s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001054s ]
- [ 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.001032s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001012s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685720243.jpg' LIMIT 1 [ RunTime:0.002679s ]
- [ 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.001264s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685719786.jpg' LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685718453.jpg' LIMIT 1 [ RunTime:0.000938s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716770.jpg' LIMIT 1 [ RunTime:0.001036s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716387.jpg' LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685715405.jpg' LIMIT 1 [ RunTime:0.001168s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685714925.jpg' LIMIT 1 [ RunTime:0.001212s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685712676.jpg' LIMIT 1 [ RunTime:0.001237s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710907.jpg' LIMIT 1 [ RunTime:0.001198s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710544.jpg' LIMIT 1 [ RunTime:0.001178s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685708207.jpg' LIMIT 1 [ RunTime:0.001917s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685704654.jpg' LIMIT 1 [ RunTime:0.001077s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685700163.jpg' LIMIT 1 [ RunTime:0.002855s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685699572.jpg' LIMIT 1 [ RunTime:0.001295s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685691144.jpg' LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685685817.jpg' LIMIT 1 [ RunTime:0.001077s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685679378.jpg' LIMIT 1 [ RunTime:0.001229s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685676636.jpg' LIMIT 1 [ RunTime:0.002556s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685672759.jpg' LIMIT 1 [ RunTime:0.001324s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001467s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,6,5,3,2) LIMIT 0,15 [ RunTime:0.002412s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,6,5,3,2) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001174s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,6,5,3,2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002609s ]
- [ 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.001435s ]
- 1/54 . 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 < 1780775040 and b.endtime > 1780775040 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.025055s/0.212721s=11.78%]
- 2/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.020794s/0.212721s=9.78%]
- 3/54 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1780775040 and b.endtime > 1780775040 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.020557s/0.212721s=9.66%]
- 4/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.019202s/0.212721s=9.03%]
- 5/54 . 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 (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4) group by binary(p.name), binary(p1.name); [0.018835s/0.212721s=8.85%]
- 6/54 . 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1780775040 and b.endtime > 1780775040 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,20 [0.012775s/0.212721s=6.01%]
- 7/54 . SELECT @@session.sql_mode [0.009923s/0.212721s=4.66%]
- 8/54 . SELECT * FROM `activity` WHERE ( ( 1780775040 > starttime && 1780775040 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.008027s/0.212721s=3.77%]
- 9/54 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.005027s/0.212721s=2.36%]
- 10/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.003590s/0.212721s=1.69%]
- 11/54 . SELECT @@session.sql_mode [0.003556s/0.212721s=1.67%]
- 12/54 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.002894s/0.212721s=1.36%]
- 13/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685700163.jpg' LIMIT 1 [0.002855s/0.212721s=1.34%]
- 14/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685720243.jpg' LIMIT 1 [0.002679s/0.212721s=1.26%]
- 15/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,6,5,3,2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002609s/0.212721s=1.23%]
- 16/54 . CONNECT:[ UseTime:0.002558s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698131405234;charset=utf8mb4 [0.002558s/0.212721s=1.20%]
- 17/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685676636.jpg' LIMIT 1 [0.002556s/0.212721s=1.20%]
- 18/54 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,6,5,3,2) LIMIT 0,15 [0.002412s/0.212721s=1.13%]
- 19/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002378s/0.212721s=1.12%]
- 20/54 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001965s/0.212721s=0.92%]
- 21/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `discuss`.`deletetime` IS NULL [0.001935s/0.212721s=0.91%]
- 22/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685708207.jpg' LIMIT 1 [0.001917s/0.212721s=0.90%]
- 23/54 . SELECT `id` FROM `category` WHERE `path` = 'Fun' LIMIT 1 [0.001843s/0.212721s=0.87%]
- 24/54 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001471s/0.212721s=0.69%]
- 25/54 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001467s/0.212721s=0.69%]
- 26/54 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001435s/0.212721s=0.67%]
- 27/54 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001395s/0.212721s=0.66%]
- 28/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001346s/0.212721s=0.63%]
- 29/54 . 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [0.001345s/0.212721s=0.63%]
- 30/54 . set time_zone = '+08:00' [0.001331s/0.212721s=0.63%]
- 31/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685672759.jpg' LIMIT 1 [0.001324s/0.212721s=0.62%]
- 32/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685699572.jpg' LIMIT 1 [0.001295s/0.212721s=0.61%]
- 33/54 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001282s/0.212721s=0.60%]
- 34/54 . 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.001264s/0.212721s=0.59%]
- 35/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685712676.jpg' LIMIT 1 [0.001237s/0.212721s=0.58%]
- 36/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685679378.jpg' LIMIT 1 [0.001229s/0.212721s=0.58%]
- 37/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685714925.jpg' LIMIT 1 [0.001212s/0.212721s=0.57%]
- 38/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710907.jpg' LIMIT 1 [0.001198s/0.212721s=0.56%]
- 39/54 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001185s/0.212721s=0.56%]
- 40/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710544.jpg' LIMIT 1 [0.001178s/0.212721s=0.55%]
- 41/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,6,5,3,2) ) AND `discuss`.`deletetime` IS NULL [0.001174s/0.212721s=0.55%]
- 42/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685715405.jpg' LIMIT 1 [0.001168s/0.212721s=0.55%]
- 43/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685685817.jpg' LIMIT 1 [0.001077s/0.212721s=0.51%]
- 44/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685704654.jpg' LIMIT 1 [0.001077s/0.212721s=0.51%]
- 45/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685691144.jpg' LIMIT 1 [0.001074s/0.212721s=0.50%]
- 46/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001054s/0.212721s=0.50%]
- 47/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716387.jpg' LIMIT 1 [0.001044s/0.212721s=0.49%]
- 48/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716770.jpg' LIMIT 1 [0.001036s/0.212721s=0.49%]
- 49/54 . 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.001032s/0.212721s=0.49%]
- 50/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685719786.jpg' LIMIT 1 [0.001017s/0.212721s=0.48%]
- 51/54 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001012s/0.212721s=0.48%]
- 52/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000951s/0.212721s=0.45%]
- 53/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685718453.jpg' LIMIT 1 [0.000938s/0.212721s=0.44%]
- 54/54 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000931s/0.212721s=0.44%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.005887s/0.212721s=2.77%]
- 2/3. 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.002296s/0.212721s=1.08%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.013479s/0.212721s=6.34%]
- Facebook track: Use:7.7134132385254ms