基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-25 02:50:01 HTTP/1.1 GET : lyengtest.test3.shoppaas.co/all
- 运行时间 : 1.127421s [ 吞吐率:0.89req/s ] 内存消耗:25,786.21kb 文件加载:334
- 查询信息 : [耗时:0.375822s/1.127421 33.33% ] 115 queries ,7 writes
- 缓存信息 : 11 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=qcicfft93kfe8qid5kp6dtl2qa
- [ 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.000268s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000057s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000069s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000058s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'lyengtest.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.152',
'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' => 'lyengtest.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.004285s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000121s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1702621091400:',
'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.008497s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002108s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001787s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002048s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001807s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002069s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001709s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001722s ]
- [ 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.100842s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000088s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001756s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001403s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.100842s ] [0.100842s/0.130779s=77.11%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.008497s ] [0.008497s/0.130779s=6.50%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004285s ] [0.004285s/0.130779s=3.28%]
- 4/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002108s ] [0.002108s/0.130779s=1.61%]
- 5/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002069s ] [0.002069s/0.130779s=1.58%]
- 6/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002048s ] [0.002048s/0.130779s=1.57%]
- 7/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001807s ] [0.001807s/0.130779s=1.38%]
- 8/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001787s ] [0.001787s/0.130779s=1.37%]
- 9/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001756s ] [0.001756s/0.130779s=1.34%]
- 10/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001722s ] [0.001722s/0.130779s=1.32%]
- 11/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001709s ] [0.001709s/0.130779s=1.31%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001403s ] [0.001403s/0.130779s=1.07%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000268s ] [0.000268s/0.130779s=0.20%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000121s ] [0.000121s/0.130779s=0.09%]
- 15/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000088s ] [0.000088s/0.130779s=0.07%]
- 16/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000069s ] [0.000069s/0.130779s=0.05%]
- 17/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000058s ] [0.000058s/0.130779s=0.04%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000057s ] [0.000057s/0.130779s=0.04%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.130779s=0.03%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.130779s=0.02%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.130779s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.003334s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702621091400;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.004162s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.004088s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.002066s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001240s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000919s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000919s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001023s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766602201 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'qcicfft93kfe8qid5kp6dtl2qa' AND `createtime` > 1766343001 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001254s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001095s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000865s ]
- [ 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` = 'qcicfft93kfe8qid5kp6dtl2qa' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001806s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000741s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001110s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002921s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000898s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000745s ]
- [ 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 < 1766602201 and b.endtime > 1766602201 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, 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.020267s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.003246s ]
- [ 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 (21,20,19,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.015088s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001842s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000980s ]
- [ 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 < 1766602201 and b.endtime > 1766602201 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, 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.003091s ]
- [ 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 < 1766602201 and b.endtime > 1766602201 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, 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.003427s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (21,20,19,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.018003s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (21,20,19,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.017419s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766602201 > starttime && 1766602201 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.005868s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001312s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.004954s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001180s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001178s ]
- [ 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.001362s ]
- [ SQL ] SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [ RunTime:0.010534s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.005266s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001219s ]
- [ 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.006731s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001484s ]
- [ 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.001185s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [ RunTime:0.012106s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.026894s ]
- [ 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.010119s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.013144s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 66 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002037s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 76 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002126s ]
- [ 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.001518s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.008746s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001351s ]
- [ 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` <= 1766602202
AND pcm.`ends_at` >= 1766602202
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.004669s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [ RunTime:0.001167s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000865s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001086s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 60 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000896s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 72 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000986s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001220s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001233s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001107s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [ RunTime:0.000815s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001197s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 55 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000914s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 61 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001179s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267551310.webp' LIMIT 1 [ RunTime:0.002346s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 17 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001319s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/f23e381f903653871c6f0a066fd0688f.jpg' LIMIT 1 [ RunTime:0.002508s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 16 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001283s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/cb3ce91e6f7cc4db9ab54e2f4bf55892.webp' LIMIT 1 [ RunTime:0.001777s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001709s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 28 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000946s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5ea81d0871fd864b71cf5402be98a5c7.jpg' LIMIT 1 [ RunTime:0.001383s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001221s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 31 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001018s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 38 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001092s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 45 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001010s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3b53c6b9351388b47fcb7a5ac01848fa.jpg' LIMIT 1 [ RunTime:0.001089s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (14,13,9) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.002836s ]
- [ 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 = 14 WHERE `a`.`starts_at` <= 1766602202 AND `a`.`ends_at` >= 1766602202 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.010669s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 13 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001345s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/bae4ebc7acc5c2ec5fdd4cef3eb9a422.jpg' LIMIT 1 [ RunTime:0.001124s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 12 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001157s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8980ee050908677f6983658df3bda80c.jpg' LIMIT 1 [ RunTime:0.001105s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 11 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001188s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/7dc5528fb1cee42837048e82af3c3927.jpg' LIMIT 1 [ RunTime:0.001105s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 10 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001955s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/743dce8e076f0baf7891c1d559b4e6e4.jpg' LIMIT 1 [ RunTime:0.001126s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 9 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001571s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/6feb4c3e2448aa5b3b87dc99b0e0bc2c.jpg' LIMIT 1 [ RunTime:0.010511s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [ RunTime:0.001401s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.001114s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 8 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001061s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/e3f836563b8631ee38edc79836ef159e.png' LIMIT 1 [ RunTime:0.001076s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001086s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/89e85f2f95db90a752ffc1e2a6c62de3.png' LIMIT 1 [ RunTime:0.001060s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001120s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1644cc6acb0d6b882d757f4c4f153643.png' LIMIT 1 [ RunTime:0.002774s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001185s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5321d9ad7cfb398af8b46d275431d768.png' LIMIT 1 [ RunTime:0.001124s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001215s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8134df3f554667fbd9e2d1af49972198.png' LIMIT 1 [ RunTime:0.001096s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001097s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3caa66781858e8feeea4fe75504956b5.png' LIMIT 1 [ RunTime:0.001091s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [ RunTime:0.001286s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001048s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001065s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/ea4db44af42920900037f915694c5aa9.jpg' LIMIT 1 [ RunTime:0.002966s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.007058s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000936s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000984s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/527c679a0f26dacbe8611300ed7f7303.jpg' LIMIT 1 [ RunTime:0.001196s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `createtime` DESC LIMIT 5 [ RunTime:0.001210s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (20,21,19,17,16) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001046s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (20,21,19,17,16) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,20,21,19,17,16) LIMIT 0,15 [ RunTime:0.001294s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (20,21,19,17,16) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001366s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,21,19,17,16) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.005649s ]
- [ 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.006573s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [ RunTime:0.005355s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.001653s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001110s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.002669s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [ RunTime:0.001325s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.000892s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001237s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001190s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001331s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [ RunTime:0.003293s ]
- 1/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.026894s/0.375822s=7.16%]
- 2/123 . 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 < 1766602201 and b.endtime > 1766602201 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, 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.020267s/0.375822s=5.39%]
- 3/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (21,20,19,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.018003s/0.375822s=4.79%]
- 4/123 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (21,20,19,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.017419s/0.375822s=4.63%]
- 5/123 . 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 (21,20,19,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.015088s/0.375822s=4.01%]
- 6/123 . SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.013144s/0.375822s=3.50%]
- 7/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [0.012106s/0.375822s=3.22%]
- 8/123 . 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 = 14 WHERE `a`.`starts_at` <= 1766602202 AND `a`.`ends_at` >= 1766602202 AND `a`.`status` = 'enable' LIMIT 1 [0.010669s/0.375822s=2.84%]
- 9/123 . SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [0.010534s/0.375822s=2.80%]
- 10/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/6feb4c3e2448aa5b3b87dc99b0e0bc2c.jpg' LIMIT 1 [0.010511s/0.375822s=2.80%]
- 11/123 . 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.010119s/0.375822s=2.69%]
- 12/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.008746s/0.375822s=2.33%]
- 13/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.007058s/0.375822s=1.88%]
- 14/123 . 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.006731s/0.375822s=1.79%]
- 15/123 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.006573s/0.375822s=1.75%]
- 16/123 . SELECT * FROM `activity` WHERE ( ( 1766602201 > starttime && 1766602201 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.005868s/0.375822s=1.56%]
- 17/123 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,21,19,17,16) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.005649s/0.375822s=1.50%]
- 18/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [0.005355s/0.375822s=1.42%]
- 19/123 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.005266s/0.375822s=1.40%]
- 20/123 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.004954s/0.375822s=1.32%]
- 21/123 . 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` <= 1766602202
AND pcm.`ends_at` >= 1766602202
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.004669s/0.375822s=1.24%]
- 22/123 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.004162s/0.375822s=1.11%]
- 23/123 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.004088s/0.375822s=1.09%]
- 24/123 . 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 < 1766602201 and b.endtime > 1766602201 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, 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.003427s/0.375822s=0.91%]
- 25/123 . CONNECT:[ UseTime:0.003334s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702621091400;charset=utf8mb4 [0.003334s/0.375822s=0.89%]
- 26/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [0.003293s/0.375822s=0.88%]
- 27/123 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.003246s/0.375822s=0.86%]
- 28/123 . 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 < 1766602201 and b.endtime > 1766602201 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.003091s/0.375822s=0.82%]
- 29/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/ea4db44af42920900037f915694c5aa9.jpg' LIMIT 1 [0.002966s/0.375822s=0.79%]
- 30/123 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002921s/0.375822s=0.78%]
- 31/123 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (14,13,9) ) AND `product_sku_price`.`deletetime` IS NULL [0.002836s/0.375822s=0.75%]
- 32/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1644cc6acb0d6b882d757f4c4f153643.png' LIMIT 1 [0.002774s/0.375822s=0.74%]
- 33/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.002669s/0.375822s=0.71%]
- 34/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/f23e381f903653871c6f0a066fd0688f.jpg' LIMIT 1 [0.002508s/0.375822s=0.67%]
- 35/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267551310.webp' LIMIT 1 [0.002346s/0.375822s=0.62%]
- 36/123 . SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 76 ORDER BY `weigh` ASC,`id` ASC [0.002126s/0.375822s=0.57%]
- 37/123 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.002066s/0.375822s=0.55%]
- 38/123 . SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 66 ORDER BY `weigh` ASC,`id` ASC [0.002037s/0.375822s=0.54%]
- 39/123 . SELECT * FROM `product_sku` WHERE `product_id` = 10 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001955s/0.375822s=0.52%]
- 40/123 . SELECT @@session.sql_mode [0.001842s/0.375822s=0.49%]
- 41/123 . 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` = 'qcicfft93kfe8qid5kp6dtl2qa' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001806s/0.375822s=0.48%]
- 42/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/cb3ce91e6f7cc4db9ab54e2f4bf55892.webp' LIMIT 1 [0.001777s/0.375822s=0.47%]
- 43/123 . SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001709s/0.375822s=0.45%]
- 44/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.001653s/0.375822s=0.44%]
- 45/123 . SELECT * FROM `product_sku` WHERE `product_id` = 9 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001571s/0.375822s=0.42%]
- 46/123 . 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.001518s/0.375822s=0.40%]
- 47/123 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001484s/0.375822s=0.39%]
- 48/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [0.001401s/0.375822s=0.37%]
- 49/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5ea81d0871fd864b71cf5402be98a5c7.jpg' LIMIT 1 [0.001383s/0.375822s=0.37%]
- 50/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (20,21,19,17,16) ) AND `discuss`.`deletetime` IS NULL [0.001366s/0.375822s=0.36%]
- 51/123 . 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.001362s/0.375822s=0.36%]
- 52/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001351s/0.375822s=0.36%]
- 53/123 . SELECT * FROM `product_sku` WHERE `product_id` = 13 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001345s/0.375822s=0.36%]
- 54/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001331s/0.375822s=0.35%]
- 55/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [0.001325s/0.375822s=0.35%]
- 56/123 . SELECT * FROM `product_sku` WHERE `product_id` = 17 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001319s/0.375822s=0.35%]
- 57/123 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001312s/0.375822s=0.35%]
- 58/123 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (20,21,19,17,16) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,20,21,19,17,16) LIMIT 0,15 [0.001294s/0.375822s=0.34%]
- 59/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [0.001286s/0.375822s=0.34%]
- 60/123 . SELECT * FROM `product_sku` WHERE `product_id` = 16 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001283s/0.375822s=0.34%]
- 61/123 . UPDATE `cart` SET `deletetime`=1766602201 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'qcicfft93kfe8qid5kp6dtl2qa' AND `createtime` > 1766343001 ) AND `cart`.`deletetime` IS NULL [0.001254s/0.375822s=0.33%]
- 62/123 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001240s/0.375822s=0.33%]
- 63/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001237s/0.375822s=0.33%]
- 64/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001233s/0.375822s=0.33%]
- 65/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001221s/0.375822s=0.32%]
- 66/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001220s/0.375822s=0.32%]
- 67/123 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001219s/0.375822s=0.32%]
- 68/123 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001215s/0.375822s=0.32%]
- 69/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `createtime` DESC LIMIT 5 [0.001210s/0.375822s=0.32%]
- 70/123 . SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001197s/0.375822s=0.32%]
- 71/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/527c679a0f26dacbe8611300ed7f7303.jpg' LIMIT 1 [0.001196s/0.375822s=0.32%]
- 72/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001190s/0.375822s=0.32%]
- 73/123 . SELECT * FROM `product_sku` WHERE `product_id` = 11 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001188s/0.375822s=0.32%]
- 74/123 . 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.001185s/0.375822s=0.32%]
- 75/123 . SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001185s/0.375822s=0.32%]
- 76/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001180s/0.375822s=0.31%]
- 77/123 . SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 61 ORDER BY `weigh` ASC,`id` ASC [0.001179s/0.375822s=0.31%]
- 78/123 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001178s/0.375822s=0.31%]
- 79/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [0.001167s/0.375822s=0.31%]
- 80/123 . SELECT * FROM `product_sku` WHERE `product_id` = 12 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001157s/0.375822s=0.31%]
- 81/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/743dce8e076f0baf7891c1d559b4e6e4.jpg' LIMIT 1 [0.001126s/0.375822s=0.30%]
- 82/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/bae4ebc7acc5c2ec5fdd4cef3eb9a422.jpg' LIMIT 1 [0.001124s/0.375822s=0.30%]
- 83/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5321d9ad7cfb398af8b46d275431d768.png' LIMIT 1 [0.001124s/0.375822s=0.30%]
- 84/123 . SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001120s/0.375822s=0.30%]
- 85/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.001114s/0.375822s=0.30%]
- 86/123 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001110s/0.375822s=0.30%]
- 87/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001110s/0.375822s=0.30%]
- 88/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001107s/0.375822s=0.29%]
- 89/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8980ee050908677f6983658df3bda80c.jpg' LIMIT 1 [0.001105s/0.375822s=0.29%]
- 90/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/7dc5528fb1cee42837048e82af3c3927.jpg' LIMIT 1 [0.001105s/0.375822s=0.29%]
- 91/123 . SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001097s/0.375822s=0.29%]
- 92/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8134df3f554667fbd9e2d1af49972198.png' LIMIT 1 [0.001096s/0.375822s=0.29%]
- 93/123 . SELECT @@session.sql_mode [0.001095s/0.375822s=0.29%]
- 94/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 38 ORDER BY `weigh` ASC,`id` ASC [0.001092s/0.375822s=0.29%]
- 95/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3caa66781858e8feeea4fe75504956b5.png' LIMIT 1 [0.001091s/0.375822s=0.29%]
- 96/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3b53c6b9351388b47fcb7a5ac01848fa.jpg' LIMIT 1 [0.001089s/0.375822s=0.29%]
- 97/123 . SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001086s/0.375822s=0.29%]
- 98/123 . SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001086s/0.375822s=0.29%]
- 99/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/e3f836563b8631ee38edc79836ef159e.png' LIMIT 1 [0.001076s/0.375822s=0.29%]
- 100/123 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001065s/0.375822s=0.28%]
- 101/123 . SELECT * FROM `product_sku` WHERE `product_id` = 8 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001061s/0.375822s=0.28%]
- 102/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/89e85f2f95db90a752ffc1e2a6c62de3.png' LIMIT 1 [0.001060s/0.375822s=0.28%]
- 103/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001048s/0.375822s=0.28%]
- 104/123 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (20,21,19,17,16) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001046s/0.375822s=0.28%]
- 105/123 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001023s/0.375822s=0.27%]
- 106/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 31 ORDER BY `weigh` ASC,`id` ASC [0.001018s/0.375822s=0.27%]
- 107/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 45 ORDER BY `weigh` ASC,`id` ASC [0.001010s/0.375822s=0.27%]
- 108/123 . SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 72 ORDER BY `weigh` ASC,`id` ASC [0.000986s/0.375822s=0.26%]
- 109/123 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.000984s/0.375822s=0.26%]
- 110/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000980s/0.375822s=0.26%]
- 111/123 . SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 28 ORDER BY `weigh` ASC,`id` ASC [0.000946s/0.375822s=0.25%]
- 112/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000936s/0.375822s=0.25%]
- 113/123 . set time_zone = '+08:00' [0.000919s/0.375822s=0.24%]
- 114/123 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000919s/0.375822s=0.24%]
- 115/123 . SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 55 ORDER BY `weigh` ASC,`id` ASC [0.000914s/0.375822s=0.24%]
- 116/123 . SELECT @@session.sql_mode [0.000898s/0.375822s=0.24%]
- 117/123 . SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 60 ORDER BY `weigh` ASC,`id` ASC [0.000896s/0.375822s=0.24%]
- 118/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.000892s/0.375822s=0.24%]
- 119/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000865s/0.375822s=0.23%]
- 120/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000865s/0.375822s=0.23%]
- 121/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [0.000815s/0.375822s=0.22%]
- 122/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000745s/0.375822s=0.20%]
- 123/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000741s/0.375822s=0.20%]
- 1/11. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004511s/0.375822s=1.20%]
- 2/11. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [4 times, 0.006232s/0.375822s=1.66%]
- 3/11. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [4 times, 0.012524s/0.375822s=3.33%]
- 4/11. 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.014184s/0.375822s=3.77%]
- 5/11. SELECT @@session.sql_mode [3 times, 0.003835s/0.375822s=1.02%]
- 6/11. SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [2 times, 0.004108s/0.375822s=1.09%]
- 7/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [2 times, 0.002438s/0.375822s=0.65%]
- 8/11. SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [2 times, 0.002518s/0.375822s=0.67%]
- 9/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [2 times, 0.006522s/0.375822s=1.74%]
- 10/11. SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [2 times, 0.027786s/0.375822s=7.39%]
- 11/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [2 times, 0.013431s/0.375822s=3.57%]