基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-17 13:00:33 HTTP/1.1 GET : zxtest005.test3.shoppaas.co/all
- 运行时间 : 0.515281s [ 吞吐率:1.94req/s ] 内存消耗:26,090.51kb 文件加载:326
- 查询信息 : [耗时:0.13209s/0.515281 25.63% ] 62 queries ,7 writes
- 缓存信息 : 35 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=lqe59hb56quaillqhbcem46df2
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000369s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000066s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000084s ]
- [ 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 (
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005247s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000034s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000068s ]
- [ 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.004914s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001754s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001674s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002124s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001660s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001818s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001674s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001717s ]
- [ 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.038214s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000066s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001698s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001015s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.038214s ] [0.038214s/0.064294s=59.44%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005247s ] [0.005247s/0.064294s=8.16%]
- 3/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.004914s ] [0.004914s/0.064294s=7.64%]
- 4/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002124s ] [0.002124s/0.064294s=3.30%]
- 5/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001818s ] [0.001818s/0.064294s=2.83%]
- 6/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001754s ] [0.001754s/0.064294s=2.73%]
- 7/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001717s ] [0.001717s/0.064294s=2.67%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001698s ] [0.001698s/0.064294s=2.64%]
- 9/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001674s ] [0.001674s/0.064294s=2.60%]
- 10/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001674s ] [0.001674s/0.064294s=2.60%]
- 11/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001660s ] [0.001660s/0.064294s=2.58%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001015s ] [0.001015s/0.064294s=1.58%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000369s ] [0.000369s/0.064294s=0.57%]
- 14/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000084s ] [0.000084s/0.064294s=0.13%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000068s ] [0.000068s/0.064294s=0.11%]
- 16/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000066s ] [0.000066s/0.064294s=0.10%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000066s ] [0.000066s/0.064294s=0.10%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000054s ] [0.000054s/0.064294s=0.08%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000034s ] [0.000034s/0.064294s=0.05%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ] [0.000033s/0.064294s=0.05%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.064294s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.004663s ] 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.001749s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001460s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000813s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000763s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000923s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000826s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765947633 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'lqe59hb56quaillqhbcem46df2' AND `createtime` > 1765688433 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.003513s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000855s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000826s ]
- [ 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` = 'lqe59hb56quaillqhbcem46df2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001791s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000839s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000944s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001755s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000999s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001493s ]
- [ 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 < 1765947633 and b.endtime > 1765947633 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.006087s ]
- [ 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.010997s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000980s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000864s ]
- [ 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 < 1765947633 and b.endtime > 1765947633 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.001828s ]
- [ 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 < 1765947633 and b.endtime > 1765947633 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 0,20 [ RunTime:0.002014s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (74,73,72,71,70,69,68,67,66,65,64,63,62,61,59,58,57,56,55,54) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001145s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (74,73,72,71,70,69,68,67,66,65,64,63,62,61,59,58,57,56,55,54) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.005383s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765947633 > starttime && 1765947633 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001683s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000991s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001022s ]
- [ 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.001260s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.004199s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001304s ]
- [ 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.003282s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001524s ]
- [ 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.001910s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [ RunTime:0.001311s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 73 AND `status` = '1' LIMIT 1 [ RunTime:0.002737s ]
- [ 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.001132s ]
- [ 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.001148s ]
- [ 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` <= 1765947633
AND pcm.`ends_at` >= 1765947633
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002503s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 73 LIMIT 1 [ RunTime:0.000994s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 60 AND `status` = '1' LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 72 LIMIT 1 [ RunTime:0.001086s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 61 AND `status` = '1' LIMIT 1 [ RunTime:0.000985s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 71 LIMIT 1 [ RunTime:0.001408s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [ RunTime:0.000935s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 70 LIMIT 1 [ RunTime:0.001155s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 63 AND `status` = '1' LIMIT 1 [ RunTime:0.001185s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [ RunTime:0.002941s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 64 AND `status` = '1' LIMIT 1 [ RunTime:0.002805s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 68 LIMIT 1 [ RunTime:0.001493s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 65 AND `status` = '1' LIMIT 1 [ RunTime:0.002768s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 67 LIMIT 1 [ RunTime:0.001325s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 66 AND `status` = '1' LIMIT 1 [ RunTime:0.002022s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001862s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 67 AND `status` = '1' LIMIT 1 [ RunTime:0.005022s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 65 LIMIT 1 [ RunTime:0.001498s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 68 AND `status` = '1' LIMIT 1 [ RunTime:0.000982s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 64 LIMIT 1 [ RunTime:0.001378s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 69 AND `status` = '1' LIMIT 1 [ RunTime:0.001369s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [ RunTime:0.003633s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [ RunTime:0.002196s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (57,56) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001715s ]
- [ 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` <= 1765947634 AND `a`.`ends_at` >= 1765947634 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.001176s ]
- [ 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.001346s ]
- [ 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.001354s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (62,57,63,58,53) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001150s ]
- [ 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.001282s ]
- [ 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.001512s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [ RunTime:0.001144s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [ RunTime:0.000925s ]
- 1/70 . 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.010997s/0.13209s=8.33%]
- 2/70 . 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 < 1765947633 and b.endtime > 1765947633 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.006087s/0.13209s=4.61%]
- 3/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (74,73,72,71,70,69,68,67,66,65,64,63,62,61,59,58,57,56,55,54) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.005383s/0.13209s=4.08%]
- 4/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 67 AND `status` = '1' LIMIT 1 [0.005022s/0.13209s=3.80%]
- 5/70 . CONNECT:[ UseTime:0.004663s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1710852847007;charset=utf8mb4 [0.004663s/0.13209s=3.53%]
- 6/70 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.004199s/0.13209s=3.18%]
- 7/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [0.003633s/0.13209s=2.75%]
- 8/70 . UPDATE `cart` SET `deletetime`=1765947633 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'lqe59hb56quaillqhbcem46df2' AND `createtime` > 1765688433 ) AND `cart`.`deletetime` IS NULL [0.003513s/0.13209s=2.66%]
- 9/70 . 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.003282s/0.13209s=2.48%]
- 10/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [0.002941s/0.13209s=2.23%]
- 11/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 64 AND `status` = '1' LIMIT 1 [0.002805s/0.13209s=2.12%]
- 12/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 65 AND `status` = '1' LIMIT 1 [0.002768s/0.13209s=2.10%]
- 13/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 73 AND `status` = '1' LIMIT 1 [0.002737s/0.13209s=2.07%]
- 14/70 . 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` <= 1765947633
AND pcm.`ends_at` >= 1765947633
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002503s/0.13209s=1.89%]
- 15/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [0.002196s/0.13209s=1.66%]
- 16/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 66 AND `status` = '1' LIMIT 1 [0.002022s/0.13209s=1.53%]
- 17/70 . 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 < 1765947633 and b.endtime > 1765947633 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 0,20 [0.002014s/0.13209s=1.52%]
- 18/70 . 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.001910s/0.13209s=1.45%]
- 19/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001862s/0.13209s=1.41%]
- 20/70 . 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 < 1765947633 and b.endtime > 1765947633 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.001828s/0.13209s=1.38%]
- 21/70 . 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` = 'lqe59hb56quaillqhbcem46df2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001791s/0.13209s=1.36%]
- 22/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001755s/0.13209s=1.33%]
- 23/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001749s/0.13209s=1.32%]
- 24/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (57,56) ) AND `product_sku_price`.`deletetime` IS NULL [0.001715s/0.13209s=1.30%]
- 25/70 . SELECT * FROM `activity` WHERE ( ( 1765947633 > starttime && 1765947633 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001683s/0.13209s=1.27%]
- 26/70 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001524s/0.13209s=1.15%]
- 27/70 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001512s/0.13209s=1.14%]
- 28/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 65 LIMIT 1 [0.001498s/0.13209s=1.13%]
- 29/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001493s/0.13209s=1.13%]
- 30/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 68 LIMIT 1 [0.001493s/0.13209s=1.13%]
- 31/70 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001460s/0.13209s=1.11%]
- 32/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 71 LIMIT 1 [0.001408s/0.13209s=1.07%]
- 33/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 64 LIMIT 1 [0.001378s/0.13209s=1.04%]
- 34/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 69 AND `status` = '1' LIMIT 1 [0.001369s/0.13209s=1.04%]
- 35/70 . 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.001354s/0.13209s=1.03%]
- 36/70 . 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.001346s/0.13209s=1.02%]
- 37/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 67 LIMIT 1 [0.001325s/0.13209s=1.00%]
- 38/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 74 LIMIT 1 [0.001311s/0.13209s=0.99%]
- 39/70 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001304s/0.13209s=0.99%]
- 40/70 . 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.001282s/0.13209s=0.97%]
- 41/70 . 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.001260s/0.13209s=0.95%]
- 42/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 63 AND `status` = '1' LIMIT 1 [0.001185s/0.13209s=0.90%]
- 43/70 . 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` <= 1765947634 AND `a`.`ends_at` >= 1765947634 AND `a`.`status` = 'enable' LIMIT 1 [0.001176s/0.13209s=0.89%]
- 44/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 70 LIMIT 1 [0.001155s/0.13209s=0.87%]
- 45/70 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (62,57,63,58,53) ) AND `discuss`.`deletetime` IS NULL [0.001150s/0.13209s=0.87%]
- 46/70 . 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.001148s/0.13209s=0.87%]
- 47/70 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (74,73,72,71,70,69,68,67,66,65,64,63,62,61,59,58,57,56,55,54) ) AND `discuss`.`deletetime` IS NULL [0.001145s/0.13209s=0.87%]
- 48/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [0.001144s/0.13209s=0.87%]
- 49/70 . 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.001132s/0.13209s=0.86%]
- 50/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 72 LIMIT 1 [0.001086s/0.13209s=0.82%]
- 51/70 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001022s/0.13209s=0.77%]
- 52/70 . SELECT @@session.sql_mode [0.000999s/0.13209s=0.76%]
- 53/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 73 LIMIT 1 [0.000994s/0.13209s=0.75%]
- 54/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000991s/0.13209s=0.75%]
- 55/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 61 AND `status` = '1' LIMIT 1 [0.000985s/0.13209s=0.75%]
- 56/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 68 AND `status` = '1' LIMIT 1 [0.000982s/0.13209s=0.74%]
- 57/70 . SELECT @@session.sql_mode [0.000980s/0.13209s=0.74%]
- 58/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 60 AND `status` = '1' LIMIT 1 [0.000973s/0.13209s=0.74%]
- 59/70 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000955s/0.13209s=0.72%]
- 60/70 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000944s/0.13209s=0.71%]
- 61/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [0.000935s/0.13209s=0.71%]
- 62/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [0.000925s/0.13209s=0.70%]
- 63/70 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000923s/0.13209s=0.70%]
- 64/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000864s/0.13209s=0.65%]
- 65/70 . SELECT @@session.sql_mode [0.000855s/0.13209s=0.65%]
- 66/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000839s/0.13209s=0.64%]
- 67/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000826s/0.13209s=0.63%]
- 68/70 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000826s/0.13209s=0.63%]
- 69/70 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000813s/0.13209s=0.62%]
- 70/70 . set time_zone = '+08:00' [0.000763s/0.13209s=0.58%]
- 1/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.005013s/0.13209s=3.80%]
- 2/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.00545s/0.13209s=4.13%]
- 3/5. SELECT @@session.sql_mode [3 times, 0.002834s/0.13209s=2.15%]
- 4/5. SELECT `id` FROM `custom_activity` WHERE `id` = 70 AND `status` = '1' LIMIT 1 [2 times, 0.003121s/0.13209s=2.36%]
- 5/5. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 63 LIMIT 1 [2 times, 0.004777s/0.13209s=3.62%]