基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-17 14:34:34 HTTP/1.1 GET : zxtest005.test3.shoppaas.co/all?ajax=page&page=2&view=1
- 运行时间 : 0.560599s [ 吞吐率:1.78req/s ] 内存消耗:22,373.85kb 文件加载:327
- 查询信息 : [耗时:0.092906s/0.560599 16.57% ] 47 queries ,7 writes
- 缓存信息 : 21 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=djv7rdp6tqq3i3qfpv175sdpac
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000245s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000069s ]
- [ 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' => '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.004441s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000073s ]
- [ 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.007596s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002082s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002058s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001798s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001890s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001875s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001696s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001160s ]
- [ 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.041949s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000064s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001803s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000995s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.041949s ] [0.041949s/0.069971s=59.95%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.007596s ] [0.007596s/0.069971s=10.86%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004441s ] [0.004441s/0.069971s=6.35%]
- 4/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002082s ] [0.002082s/0.069971s=2.98%]
- 5/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002058s ] [0.002058s/0.069971s=2.94%]
- 6/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001890s ] [0.001890s/0.069971s=2.70%]
- 7/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001875s ] [0.001875s/0.069971s=2.68%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001803s ] [0.001803s/0.069971s=2.58%]
- 9/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001798s ] [0.001798s/0.069971s=2.57%]
- 10/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001696s ] [0.001696s/0.069971s=2.42%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001160s ] [0.001160s/0.069971s=1.66%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000995s ] [0.000995s/0.069971s=1.42%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000245s ] [0.000245s/0.069971s=0.35%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000073s ] [0.000073s/0.069971s=0.10%]
- 15/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000069s ] [0.000069s/0.069971s=0.10%]
- 16/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000064s ] [0.000064s/0.069971s=0.09%]
- 17/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.069971s=0.08%]
- 18/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ] [0.000044s/0.069971s=0.06%]
- 19/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ] [0.000038s/0.069971s=0.05%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.069971s=0.04%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.069971s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.001894s ] 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.000815s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001530s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.004683s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.009958s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000788s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000830s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000935s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765953275 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'djv7rdp6tqq3i3qfpv175sdpac' AND `createtime` > 1765694075 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001187s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000757s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000624s ]
- [ 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` = 'djv7rdp6tqq3i3qfpv175sdpac' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001667s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000646s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001812s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001019s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002791s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000694s ]
- [ 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 < 1765953275 and b.endtime > 1765953275 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.002786s ]
- [ 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.004548s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001406s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000678s ]
- [ 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 < 1765953275 and b.endtime > 1765953275 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.001508s ]
- [ 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 < 1765953275 and b.endtime > 1765953275 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.001761s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (53,44,8,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000963s ]
- [ 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.001194s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765953275 > starttime && 1765953275 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000852s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000727s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' 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.000818s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000785s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.005887s ]
- [ 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.001228s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001010s ]
- [ 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.000907s ]
- [ 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.000786s ]
- [ 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.000826s ]
- [ 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` <= 1765953275
AND pcm.`ends_at` >= 1765953275
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000845s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [ RunTime:0.000887s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 72 AND `status` = '1' LIMIT 1 [ RunTime:0.011509s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [ RunTime:0.001087s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.000995s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001091s ]
- [ 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.001132s ]
- [ 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.001696s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (62,57,63,58,53) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000992s ]
- [ 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.001198s ]
- [ 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.001183s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (57,56) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001153s ]
- [ 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` <= 1765953275 AND `a`.`ends_at` >= 1765953275 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.001027s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [ RunTime:0.001057s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [ RunTime:0.000807s ]
- 1/55 . SELECT `id` FROM `custom_activity` WHERE `id` = 72 AND `status` = '1' LIMIT 1 [0.011509s/0.092906s=12.39%]
- 2/55 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.009958s/0.092906s=10.72%]
- 3/55 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.005887s/0.092906s=6.34%]
- 4/55 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.004683s/0.092906s=5.04%]
- 5/55 . 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.004548s/0.092906s=4.90%]
- 6/55 . SELECT @@session.sql_mode [0.002791s/0.092906s=3.00%]
- 7/55 . 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 < 1765953275 and b.endtime > 1765953275 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.002786s/0.092906s=3.00%]
- 8/55 . CONNECT:[ UseTime:0.001894s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710852847007;charset=utf8mb4 [0.001894s/0.092906s=2.04%]
- 9/55 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001812s/0.092906s=1.95%]
- 10/55 . 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 < 1765953275 and b.endtime > 1765953275 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.001761s/0.092906s=1.90%]
- 11/55 . 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.001696s/0.092906s=1.83%]
- 12/55 . 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` = 'djv7rdp6tqq3i3qfpv175sdpac' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001667s/0.092906s=1.79%]
- 13/55 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001530s/0.092906s=1.65%]
- 14/55 . 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 < 1765953275 and b.endtime > 1765953275 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.001508s/0.092906s=1.62%]
- 15/55 . SELECT @@session.sql_mode [0.001406s/0.092906s=1.51%]
- 16/55 . 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.001228s/0.092906s=1.32%]
- 17/55 . 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.001198s/0.092906s=1.29%]
- 18/55 . 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.001194s/0.092906s=1.29%]
- 19/55 . UPDATE `cart` SET `deletetime`=1765953275 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'djv7rdp6tqq3i3qfpv175sdpac' AND `createtime` > 1765694075 ) AND `cart`.`deletetime` IS NULL [0.001187s/0.092906s=1.28%]
- 20/55 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001183s/0.092906s=1.27%]
- 21/55 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (57,56) ) AND `product_sku_price`.`deletetime` IS NULL [0.001153s/0.092906s=1.24%]
- 22/55 . 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.001132s/0.092906s=1.22%]
- 23/55 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001091s/0.092906s=1.17%]
- 24/55 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [0.001087s/0.092906s=1.17%]
- 25/55 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.001075s/0.092906s=1.16%]
- 26/55 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.001074s/0.092906s=1.16%]
- 27/55 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [0.001057s/0.092906s=1.14%]
- 28/55 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.001044s/0.092906s=1.12%]
- 29/55 . 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` <= 1765953275 AND `a`.`ends_at` >= 1765953275 AND `a`.`status` = 'enable' LIMIT 1 [0.001027s/0.092906s=1.11%]
- 30/55 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001019s/0.092906s=1.10%]
- 31/55 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001010s/0.092906s=1.09%]
- 32/55 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [0.000995s/0.092906s=1.07%]
- 33/55 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (62,57,63,58,53) ) AND `discuss`.`deletetime` IS NULL [0.000992s/0.092906s=1.07%]
- 34/55 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (53,44,8,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.000963s/0.092906s=1.04%]
- 35/55 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000935s/0.092906s=1.01%]
- 36/55 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [0.000922s/0.092906s=0.99%]
- 37/55 . 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.000907s/0.092906s=0.98%]
- 38/55 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 44 LIMIT 1 [0.000887s/0.092906s=0.95%]
- 39/55 . SELECT * FROM `activity` WHERE ( ( 1765953275 > starttime && 1765953275 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000852s/0.092906s=0.92%]
- 40/55 . 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` <= 1765953275
AND pcm.`ends_at` >= 1765953275
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000845s/0.092906s=0.91%]
- 41/55 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000832s/0.092906s=0.90%]
- 42/55 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000830s/0.092906s=0.89%]
- 43/55 . 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.000826s/0.092906s=0.89%]
- 44/55 . 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.000818s/0.092906s=0.88%]
- 45/55 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000815s/0.092906s=0.88%]
- 46/55 . SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [0.000807s/0.092906s=0.87%]
- 47/55 . set time_zone = '+08:00' [0.000788s/0.092906s=0.85%]
- 48/55 . 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.000786s/0.092906s=0.85%]
- 49/55 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.000785s/0.092906s=0.84%]
- 50/55 . SELECT @@session.sql_mode [0.000757s/0.092906s=0.81%]
- 51/55 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000727s/0.092906s=0.78%]
- 52/55 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000694s/0.092906s=0.75%]
- 53/55 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000678s/0.092906s=0.73%]
- 54/55 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000646s/0.092906s=0.70%]
- 55/55 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000624s/0.092906s=0.67%]
- 1/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003369s/0.092906s=3.63%]
- 2/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710853338635.webp' LIMIT 1 [4 times, 0.004188s/0.092906s=4.51%]
- 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.003337s/0.092906s=3.59%]
- 4/5. SELECT @@session.sql_mode [3 times, 0.004954s/0.092906s=5.33%]
- 5/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/058c9193fc5d9e62/1710917583323.webp' LIMIT 1 [2 times, 0.002009s/0.092906s=2.16%]