基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-17 13:01:54 HTTP/1.1 GET : zxtest005.test3.shoppaas.co/category/all?ajax=page&page=2&view=1
- 运行时间 : 0.414114s [ 吞吐率:2.41req/s ] 内存消耗:22,372.33kb 文件加载:327
- 查询信息 : [耗时:0.063714s/0.414114 15.39% ] 46 queries ,7 writes
- 缓存信息 : 21 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=jlboti16u94ervc6a5ev2l1465
- [ 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.000347s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000068s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxtest005.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.151',
'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' => 'zxtest005.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'ajax' => 'page',
'page' => '2',
'view' => '1',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005282s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1710852847007:',
'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/ella/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 => 'global_css',
14 => 'theme_diy_mode',
15 => 'theme_config',
16 => 'icon_image',
17 => 'head_code',
18 => 'end_code',
19 => 'controllername',
20 => 'actionname',
21 => 'user',
22 => 'language',
23 => 'lang',
24 => 'is_rtl_lang',
25 => 'site',
26 => 'config',
27 => 'currency_switch',
28 => 'currency_list',
29 => 'currency_site',
30 => 'currency',
31 => 'cart',
32 => 'subscribing',
33 => 'login',
34 => 'policies',
35 => 'is_mobile',
36 => 'not_show_login',
37 => 'customer_login_status',
38 => 'config_site_version',
39 => 'category',
40 => 'filters',
41 => 'price',
42 => 'oldprice',
43 => 'oldsku',
44 => 'oldsupplier',
45 => 'productList',
46 => 'appends',
47 => 'product_review',
48 => 'empty',
49 => 'view',
50 => 'order',
51 => 'limit',
52 => 'seotitle',
53 => 'seokeywords',
54 => 'seodescription',
55 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002450s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001764s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001773s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001763s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001791s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001771s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001851s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001050s ]
- [ VIEW ] /wwwroot/template/ella/../ella/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',
13 => 'product_featured_config',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.037988s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000061s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001739s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001061s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.037988s ] [0.037988s/0.061055s=62.22%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005282s ] [0.005282s/0.061055s=8.65%]
- 3/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002450s ] [0.002450s/0.061055s=4.01%]
- 4/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001851s ] [0.001851s/0.061055s=3.03%]
- 5/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001791s ] [0.001791s/0.061055s=2.93%]
- 6/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001773s ] [0.001773s/0.061055s=2.90%]
- 7/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001771s ] [0.001771s/0.061055s=2.90%]
- 8/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001764s ] [0.001764s/0.061055s=2.89%]
- 9/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001763s ] [0.001763s/0.061055s=2.89%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001739s ] [0.001739s/0.061055s=2.85%]
- 11/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001061s ] [0.001061s/0.061055s=1.74%]
- 12/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001050s ] [0.001050s/0.061055s=1.72%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000347s ] [0.000347s/0.061055s=0.57%]
- 14/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ] [0.000091s/0.061055s=0.15%]
- 15/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000068s ] [0.000068s/0.061055s=0.11%]
- 16/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.061055s=0.11%]
- 17/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000061s ] [0.000061s/0.061055s=0.10%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ] [0.000055s/0.061055s=0.09%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ] [0.000037s/0.061055s=0.06%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ] [0.000033s/0.061055s=0.05%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.061055s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.004610s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710852847007;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001475s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001034s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001269s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001010s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000840s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001063s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000858s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765947714 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'jlboti16u94ervc6a5ev2l1465' AND `createtime` > 1765688514 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001153s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000965s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001087s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'jlboti16u94ervc6a5ev2l1465' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001413s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000739s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000783s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000797s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000735s ]
- [ 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 < 1765947714 and b.endtime > 1765947714 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(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( 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.002118s ]
- [ 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 (74,73,72,71,70,69,68,67,66,65,64,63,62,61,59,58,57,56,55,54,53,44,8,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.003357s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000777s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000777s ]
- [ 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 < 1765947714 and b.endtime > 1765947714 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(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001370s ]
- [ 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 < 1765947714 and b.endtime > 1765947714 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(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( 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 20,20 [ RunTime:0.001521s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (53,44,8,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001034s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (53,44,8,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001333s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765947714 > starttime && 1765947714 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000928s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000824s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000836s ]
- [ 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.000940s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000868s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000869s ]
- [ 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.001188s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000825s ]
- [ 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.001286s ]
- [ 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.000832s ]
- [ 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.001024s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1765947714
AND pcm.`ends_at` >= 1765947714
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000936s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000941s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 72 AND `status` = '1' LIMIT 1 [ RunTime:0.000858s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.002288s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.001177s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [ RunTime:0.001135s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.001035s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.001053s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (62,57,63,58,53) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001152s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (62,57,63,58,53) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,62,57,63,58,53) LIMIT 0,15 [ RunTime:0.001368s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (62,57,63,58,53) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001077s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (62,57,63,58,53) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001072s ]
- [ 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.001040s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (57,56) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001293s ]
- [ SQL ] SELECT `a`.`id`,`a`.`json` FROM `marketing_product_combination` `a` INNER JOIN `marketing_activity_product_combination` `b` ON `a`.`id`=b.product_combination_id and b.product_id = 57 WHERE `a`.`starts_at` <= 1765947714 AND `a`.`ends_at` >= 1765947714 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.001046s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [ RunTime:0.000813s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [ RunTime:0.001016s ]
- 1/54 . CONNECT:[ UseTime:0.004610s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710852847007;charset=utf8mb4 [0.004610s/0.063714s=7.24%]
- 2/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 (74,73,72,71,70,69,68,67,66,65,64,63,62,61,59,58,57,56,55,54,53,44,8,3,2,1) group by binary(p.name), binary(p1.name); [0.003357s/0.063714s=5.27%]
- 3/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.002288s/0.063714s=3.59%]
- 4/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 < 1765947714 and b.endtime > 1765947714 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(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( 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.002118s/0.063714s=3.32%]
- 5/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 < 1765947714 and b.endtime > 1765947714 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(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( 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 20,20 [0.001521s/0.063714s=2.39%]
- 6/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001475s/0.063714s=2.32%]
- 7/54 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'jlboti16u94ervc6a5ev2l1465' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001413s/0.063714s=2.22%]
- 8/54 . 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 < 1765947714 and b.endtime > 1765947714 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(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001370s/0.063714s=2.15%]
- 9/54 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (62,57,63,58,53) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,62,57,63,58,53) LIMIT 0,15 [0.001368s/0.063714s=2.15%]
- 10/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (53,44,8,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001333s/0.063714s=2.09%]
- 11/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (57,56) ) AND `product_sku_price`.`deletetime` IS NULL [0.001293s/0.063714s=2.03%]
- 12/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.001286s/0.063714s=2.02%]
- 13/54 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001269s/0.063714s=1.99%]
- 14/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 = 1
and p.status = "up" and p.deletetime is null limit 40 [0.001188s/0.063714s=1.86%]
- 15/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.001177s/0.063714s=1.85%]
- 16/54 . UPDATE `cart` SET `deletetime`=1765947714 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'jlboti16u94ervc6a5ev2l1465' AND `createtime` > 1765688514 ) AND `cart`.`deletetime` IS NULL [0.001153s/0.063714s=1.81%]
- 17/54 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (62,57,63,58,53) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001152s/0.063714s=1.81%]
- 18/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [0.001135s/0.063714s=1.78%]
- 19/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001087s/0.063714s=1.71%]
- 20/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (62,57,63,58,53) ) AND `discuss`.`deletetime` IS NULL [0.001077s/0.063714s=1.69%]
- 21/54 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (62,57,63,58,53) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001072s/0.063714s=1.68%]
- 22/54 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001063s/0.063714s=1.67%]
- 23/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.001053s/0.063714s=1.65%]
- 24/54 . SELECT `a`.`id`,`a`.`json` FROM `marketing_product_combination` `a` INNER JOIN `marketing_activity_product_combination` `b` ON `a`.`id`=b.product_combination_id and b.product_id = 57 WHERE `a`.`starts_at` <= 1765947714 AND `a`.`ends_at` >= 1765947714 AND `a`.`status` = 'enable' LIMIT 1 [0.001046s/0.063714s=1.64%]
- 25/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.001040s/0.063714s=1.63%]
- 26/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.001035s/0.063714s=1.62%]
- 27/54 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001034s/0.063714s=1.62%]
- 28/54 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (53,44,8,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.001034s/0.063714s=1.62%]
- 29/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.001024s/0.063714s=1.61%]
- 30/54 . SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [0.001016s/0.063714s=1.59%]
- 31/54 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001010s/0.063714s=1.59%]
- 32/54 . SELECT @@session.sql_mode [0.000965s/0.063714s=1.51%]
- 33/54 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [0.000954s/0.063714s=1.50%]
- 34/54 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000941s/0.063714s=1.48%]
- 35/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.000940s/0.063714s=1.48%]
- 36/54 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1765947714
AND pcm.`ends_at` >= 1765947714
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000936s/0.063714s=1.47%]
- 37/54 . SELECT * FROM `activity` WHERE ( ( 1765947714 > starttime && 1765947714 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000928s/0.063714s=1.46%]
- 38/54 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000922s/0.063714s=1.45%]
- 39/54 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000869s/0.063714s=1.36%]
- 40/54 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.000868s/0.063714s=1.36%]
- 41/54 . SELECT `id` FROM `custom_activity` WHERE `id` = 72 AND `status` = '1' LIMIT 1 [0.000858s/0.063714s=1.35%]
- 42/54 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000858s/0.063714s=1.35%]
- 43/54 . set time_zone = '+08:00' [0.000840s/0.063714s=1.32%]
- 44/54 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000836s/0.063714s=1.31%]
- 45/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.000832s/0.063714s=1.31%]
- 46/54 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000825s/0.063714s=1.29%]
- 47/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000824s/0.063714s=1.29%]
- 48/54 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [0.000813s/0.063714s=1.28%]
- 49/54 . SELECT @@session.sql_mode [0.000797s/0.063714s=1.25%]
- 50/54 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000783s/0.063714s=1.23%]
- 51/54 . SELECT @@session.sql_mode [0.000777s/0.063714s=1.22%]
- 52/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000777s/0.063714s=1.22%]
- 53/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000739s/0.063714s=1.16%]
- 54/54 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000735s/0.063714s=1.15%]
- 1/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004162s/0.063714s=6.53%]
- 2/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [4 times, 0.005553s/0.063714s=8.72%]
- 3/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 [4 times, 0.004082s/0.063714s=6.41%]
- 4/5. SELECT @@session.sql_mode [3 times, 0.002539s/0.063714s=3.98%]
- 5/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [2 times, 0.002089s/0.063714s=3.28%]