基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-19 00:06:15 HTTP/1.1 GET : lyengtest.test3.shoppaas.co/all
- 运行时间 : 0.831349s [ 吞吐率:1.20req/s ] 内存消耗:24,417.58kb 文件加载:328
- 查询信息 : [耗时:0.235909s/0.831349 28.38% ] 115 queries ,7 writes
- 缓存信息 : 11 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=85ku3rthve07t5be9s123499tj
- [ 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.000249s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ 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.144',
'cookie' => 'currency_code=USD; currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1736025666%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D; PHPSESSID=85ku3rthve07t5be9s123499tj',
'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.004171s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ]
- [ 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.007489s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001712s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001598s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002601s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001712s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001729s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001739s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001243s ]
- [ 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.056262s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000060s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001757s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001078s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.056262s ] [0.056262s/0.083673s=67.24%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.007489s ] [0.007489s/0.083673s=8.95%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004171s ] [0.004171s/0.083673s=4.98%]
- 4/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002601s ] [0.002601s/0.083673s=3.11%]
- 5/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001757s ] [0.001757s/0.083673s=2.10%]
- 6/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001739s ] [0.001739s/0.083673s=2.08%]
- 7/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001729s ] [0.001729s/0.083673s=2.07%]
- 8/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001712s ] [0.001712s/0.083673s=2.05%]
- 9/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001712s ] [0.001712s/0.083673s=2.05%]
- 10/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001598s ] [0.001598s/0.083673s=1.91%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001243s ] [0.001243s/0.083673s=1.49%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001078s ] [0.001078s/0.083673s=1.29%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000249s ] [0.000249s/0.083673s=0.30%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ] [0.000065s/0.083673s=0.08%]
- 15/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000060s ] [0.000060s/0.083673s=0.07%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.083673s=0.06%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ] [0.000047s/0.083673s=0.06%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ] [0.000037s/0.083673s=0.04%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ] [0.000032s/0.083673s=0.04%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.083673s=0.03%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.083673s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002224s ] 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.001022s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001208s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001118s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000960s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001057s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000963s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000941s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1771430775 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '85ku3rthve07t5be9s123499tj' AND `createtime` > 1771171575 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001177s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000842s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001082s ]
- [ 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` = '85ku3rthve07t5be9s123499tj' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001562s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000821s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001012s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001010s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000818s ]
- [ 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 < 1771430775 and b.endtime > 1771430775 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.009624s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.003244s ]
- [ 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.012998s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001017s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001103s ]
- [ 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 < 1771430775 and b.endtime > 1771430775 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.002255s ]
- [ 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 < 1771430775 and b.endtime > 1771430775 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.001792s ]
- [ 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.007069s ]
- [ 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.010365s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1771430775 > starttime && 1771430775 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001367s ]
- [ 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.001150s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.003769s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001023s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001036s ]
- [ 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.001015s ]
- [ SQL ] SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [ RunTime:0.003976s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.005558s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001310s ]
- [ 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.005805s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001103s ]
- [ 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.001234s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [ RunTime:0.005057s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.006353s ]
- [ 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.001376s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001144s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 66 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001230s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 76 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001018s ]
- [ 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.001064s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.006072s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001123s ]
- [ 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` <= 1771430775
AND pcm.`ends_at` >= 1771430775
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.006238s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [ RunTime:0.001126s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.002207s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001229s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 60 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001351s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 72 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001073s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001273s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001211s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001160s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001501s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 55 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001011s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 61 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000990s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267551310.webp' LIMIT 1 [ RunTime:0.003826s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 17 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001178s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/f23e381f903653871c6f0a066fd0688f.jpg' LIMIT 1 [ RunTime:0.004634s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 16 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001259s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/cb3ce91e6f7cc4db9ab54e2f4bf55892.webp' LIMIT 1 [ RunTime:0.002775s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001219s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 28 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001004s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5ea81d0871fd864b71cf5402be98a5c7.jpg' LIMIT 1 [ RunTime:0.001250s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001195s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 31 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001334s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 38 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001171s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 45 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001405s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3b53c6b9351388b47fcb7a5ac01848fa.jpg' LIMIT 1 [ RunTime:0.001322s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (14,13,9) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001663s ]
- [ 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` <= 1771430775 AND `a`.`ends_at` >= 1771430775 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.006138s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 13 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001285s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/bae4ebc7acc5c2ec5fdd4cef3eb9a422.jpg' LIMIT 1 [ RunTime:0.001168s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 12 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001172s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8980ee050908677f6983658df3bda80c.jpg' LIMIT 1 [ RunTime:0.001027s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 11 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001064s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/7dc5528fb1cee42837048e82af3c3927.jpg' LIMIT 1 [ RunTime:0.001448s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 10 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001395s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/743dce8e076f0baf7891c1d559b4e6e4.jpg' LIMIT 1 [ RunTime:0.001166s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 9 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001203s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/6feb4c3e2448aa5b3b87dc99b0e0bc2c.jpg' LIMIT 1 [ RunTime:0.003547s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [ RunTime:0.001183s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 8 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001130s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/e3f836563b8631ee38edc79836ef159e.png' LIMIT 1 [ RunTime:0.001252s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001313s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/89e85f2f95db90a752ffc1e2a6c62de3.png' LIMIT 1 [ RunTime:0.001175s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001335s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1644cc6acb0d6b882d757f4c4f153643.png' LIMIT 1 [ RunTime:0.002524s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001130s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5321d9ad7cfb398af8b46d275431d768.png' LIMIT 1 [ RunTime:0.001167s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001228s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8134df3f554667fbd9e2d1af49972198.png' LIMIT 1 [ RunTime:0.001180s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001173s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3caa66781858e8feeea4fe75504956b5.png' LIMIT 1 [ RunTime:0.001246s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [ RunTime:0.001309s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001020s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001156s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/ea4db44af42920900037f915694c5aa9.jpg' LIMIT 1 [ RunTime:0.002097s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001430s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001039s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001368s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/527c679a0f26dacbe8611300ed7f7303.jpg' LIMIT 1 [ RunTime:0.001553s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `createtime` DESC LIMIT 5 [ RunTime:0.001235s ]
- [ 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.001165s ]
- [ 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.001618s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (20,21,19,17,16) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001375s ]
- [ 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.001626s ]
- [ 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.001129s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [ RunTime:0.001200s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000940s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001062s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001020s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [ RunTime:0.001045s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.000926s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001061s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001039s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001014s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [ RunTime:0.001115s ]
- 1/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.012998s/0.235909s=5.51%]
- 2/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.010365s/0.235909s=4.39%]
- 3/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 < 1771430775 and b.endtime > 1771430775 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.009624s/0.235909s=4.08%]
- 4/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.007069s/0.235909s=3.00%]
- 5/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.006353s/0.235909s=2.69%]
- 6/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` <= 1771430775
AND pcm.`ends_at` >= 1771430775
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.006238s/0.235909s=2.64%]
- 7/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` <= 1771430775 AND `a`.`ends_at` >= 1771430775 AND `a`.`status` = 'enable' LIMIT 1 [0.006138s/0.235909s=2.60%]
- 8/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.006072s/0.235909s=2.57%]
- 9/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.005805s/0.235909s=2.46%]
- 10/123 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.005558s/0.235909s=2.36%]
- 11/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [0.005057s/0.235909s=2.14%]
- 12/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/f23e381f903653871c6f0a066fd0688f.jpg' LIMIT 1 [0.004634s/0.235909s=1.96%]
- 13/123 . SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [0.003976s/0.235909s=1.69%]
- 14/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267551310.webp' LIMIT 1 [0.003826s/0.235909s=1.62%]
- 15/123 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.003769s/0.235909s=1.60%]
- 16/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/6feb4c3e2448aa5b3b87dc99b0e0bc2c.jpg' LIMIT 1 [0.003547s/0.235909s=1.50%]
- 17/123 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.003244s/0.235909s=1.38%]
- 18/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/cb3ce91e6f7cc4db9ab54e2f4bf55892.webp' LIMIT 1 [0.002775s/0.235909s=1.18%]
- 19/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1644cc6acb0d6b882d757f4c4f153643.png' LIMIT 1 [0.002524s/0.235909s=1.07%]
- 20/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 < 1771430775 and b.endtime > 1771430775 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.002255s/0.235909s=0.96%]
- 21/123 . CONNECT:[ UseTime:0.002224s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702621091400;charset=utf8mb4 [0.002224s/0.235909s=0.94%]
- 22/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.002207s/0.235909s=0.94%]
- 23/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/ea4db44af42920900037f915694c5aa9.jpg' LIMIT 1 [0.002097s/0.235909s=0.89%]
- 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 < 1771430775 and b.endtime > 1771430775 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.001792s/0.235909s=0.76%]
- 25/123 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (14,13,9) ) AND `product_sku_price`.`deletetime` IS NULL [0.001663s/0.235909s=0.70%]
- 26/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.001626s/0.235909s=0.69%]
- 27/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.001618s/0.235909s=0.69%]
- 28/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` = '85ku3rthve07t5be9s123499tj' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001562s/0.235909s=0.66%]
- 29/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/527c679a0f26dacbe8611300ed7f7303.jpg' LIMIT 1 [0.001553s/0.235909s=0.66%]
- 30/123 . SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001501s/0.235909s=0.64%]
- 31/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/7dc5528fb1cee42837048e82af3c3927.jpg' LIMIT 1 [0.001448s/0.235909s=0.61%]
- 32/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001430s/0.235909s=0.61%]
- 33/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 45 ORDER BY `weigh` ASC,`id` ASC [0.001405s/0.235909s=0.60%]
- 34/123 . SELECT * FROM `product_sku` WHERE `product_id` = 10 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001395s/0.235909s=0.59%]
- 35/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.001376s/0.235909s=0.58%]
- 36/123 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (20,21,19,17,16) ) AND `discuss`.`deletetime` IS NULL [0.001375s/0.235909s=0.58%]
- 37/123 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001368s/0.235909s=0.58%]
- 38/123 . SELECT * FROM `activity` WHERE ( ( 1771430775 > starttime && 1771430775 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001367s/0.235909s=0.58%]
- 39/123 . SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 60 ORDER BY `weigh` ASC,`id` ASC [0.001351s/0.235909s=0.57%]
- 40/123 . SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001335s/0.235909s=0.57%]
- 41/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 31 ORDER BY `weigh` ASC,`id` ASC [0.001334s/0.235909s=0.57%]
- 42/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3b53c6b9351388b47fcb7a5ac01848fa.jpg' LIMIT 1 [0.001322s/0.235909s=0.56%]
- 43/123 . SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001313s/0.235909s=0.56%]
- 44/123 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001310s/0.235909s=0.56%]
- 45/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [0.001309s/0.235909s=0.55%]
- 46/123 . SELECT * FROM `product_sku` WHERE `product_id` = 13 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001285s/0.235909s=0.54%]
- 47/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001273s/0.235909s=0.54%]
- 48/123 . SELECT * FROM `product_sku` WHERE `product_id` = 16 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001259s/0.235909s=0.53%]
- 49/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/e3f836563b8631ee38edc79836ef159e.png' LIMIT 1 [0.001252s/0.235909s=0.53%]
- 50/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5ea81d0871fd864b71cf5402be98a5c7.jpg' LIMIT 1 [0.001250s/0.235909s=0.53%]
- 51/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/3caa66781858e8feeea4fe75504956b5.png' LIMIT 1 [0.001246s/0.235909s=0.53%]
- 52/123 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `createtime` DESC LIMIT 5 [0.001235s/0.235909s=0.52%]
- 53/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.001234s/0.235909s=0.52%]
- 54/123 . SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 66 ORDER BY `weigh` ASC,`id` ASC [0.001230s/0.235909s=0.52%]
- 55/123 . SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001229s/0.235909s=0.52%]
- 56/123 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001228s/0.235909s=0.52%]
- 57/123 . SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001219s/0.235909s=0.52%]
- 58/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001211s/0.235909s=0.51%]
- 59/123 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001208s/0.235909s=0.51%]
- 60/123 . SELECT * FROM `product_sku` WHERE `product_id` = 9 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001203s/0.235909s=0.51%]
- 61/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [0.001200s/0.235909s=0.51%]
- 62/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001195s/0.235909s=0.51%]
- 63/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [0.001183s/0.235909s=0.50%]
- 64/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8134df3f554667fbd9e2d1af49972198.png' LIMIT 1 [0.001180s/0.235909s=0.50%]
- 65/123 . SELECT * FROM `product_sku` WHERE `product_id` = 17 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001178s/0.235909s=0.50%]
- 66/123 . UPDATE `cart` SET `deletetime`=1771430775 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '85ku3rthve07t5be9s123499tj' AND `createtime` > 1771171575 ) AND `cart`.`deletetime` IS NULL [0.001177s/0.235909s=0.50%]
- 67/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/89e85f2f95db90a752ffc1e2a6c62de3.png' LIMIT 1 [0.001175s/0.235909s=0.50%]
- 68/123 . SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001173s/0.235909s=0.50%]
- 69/123 . SELECT * FROM `product_sku` WHERE `product_id` = 12 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001172s/0.235909s=0.50%]
- 70/123 . SELECT * FROM `product_sku` WHERE `product_id` = 14 AND `pid` = 38 ORDER BY `weigh` ASC,`id` ASC [0.001171s/0.235909s=0.50%]
- 71/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/bae4ebc7acc5c2ec5fdd4cef3eb9a422.jpg' LIMIT 1 [0.001168s/0.235909s=0.50%]
- 72/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/5321d9ad7cfb398af8b46d275431d768.png' LIMIT 1 [0.001167s/0.235909s=0.49%]
- 73/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/743dce8e076f0baf7891c1d559b4e6e4.jpg' LIMIT 1 [0.001166s/0.235909s=0.49%]
- 74/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.001165s/0.235909s=0.49%]
- 75/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001160s/0.235909s=0.49%]
- 76/123 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001156s/0.235909s=0.49%]
- 77/123 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001150s/0.235909s=0.49%]
- 78/123 . SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001144s/0.235909s=0.48%]
- 79/123 . SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001130s/0.235909s=0.48%]
- 80/123 . SELECT * FROM `product_sku` WHERE `product_id` = 8 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001130s/0.235909s=0.48%]
- 81/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.001129s/0.235909s=0.48%]
- 82/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [0.001126s/0.235909s=0.48%]
- 83/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001123s/0.235909s=0.48%]
- 84/123 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001118s/0.235909s=0.47%]
- 85/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [0.001115s/0.235909s=0.47%]
- 86/123 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001103s/0.235909s=0.47%]
- 87/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001103s/0.235909s=0.47%]
- 88/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001082s/0.235909s=0.46%]
- 89/123 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001074s/0.235909s=0.46%]
- 90/123 . SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 72 ORDER BY `weigh` ASC,`id` ASC [0.001073s/0.235909s=0.45%]
- 91/123 . SELECT * FROM `product_sku` WHERE `product_id` = 11 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001064s/0.235909s=0.45%]
- 92/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.001064s/0.235909s=0.45%]
- 93/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001062s/0.235909s=0.45%]
- 94/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001061s/0.235909s=0.45%]
- 95/123 . set time_zone = '+08:00' [0.001057s/0.235909s=0.45%]
- 96/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [0.001045s/0.235909s=0.44%]
- 97/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001039s/0.235909s=0.44%]
- 98/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001039s/0.235909s=0.44%]
- 99/123 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001036s/0.235909s=0.44%]
- 100/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/8980ee050908677f6983658df3bda80c.jpg' LIMIT 1 [0.001027s/0.235909s=0.44%]
- 101/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001023s/0.235909s=0.43%]
- 102/123 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001022s/0.235909s=0.43%]
- 103/123 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001020s/0.235909s=0.43%]
- 104/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001020s/0.235909s=0.43%]
- 105/123 . SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 76 ORDER BY `weigh` ASC,`id` ASC [0.001018s/0.235909s=0.43%]
- 106/123 . SELECT @@session.sql_mode [0.001017s/0.235909s=0.43%]
- 107/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [0.001017s/0.235909s=0.43%]
- 108/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.001015s/0.235909s=0.43%]
- 109/123 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001014s/0.235909s=0.43%]
- 110/123 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001012s/0.235909s=0.43%]
- 111/123 . SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 55 ORDER BY `weigh` ASC,`id` ASC [0.001011s/0.235909s=0.43%]
- 112/123 . SELECT @@session.sql_mode [0.001010s/0.235909s=0.43%]
- 113/123 . SELECT * FROM `product_sku` WHERE `product_id` = 15 AND `pid` = 28 ORDER BY `weigh` ASC,`id` ASC [0.001004s/0.235909s=0.43%]
- 114/123 . SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 61 ORDER BY `weigh` ASC,`id` ASC [0.000990s/0.235909s=0.42%]
- 115/123 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000963s/0.235909s=0.41%]
- 116/123 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000960s/0.235909s=0.41%]
- 117/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000955s/0.235909s=0.40%]
- 118/123 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000941s/0.235909s=0.40%]
- 119/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000940s/0.235909s=0.40%]
- 120/123 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.000926s/0.235909s=0.39%]
- 121/123 . SELECT @@session.sql_mode [0.000842s/0.235909s=0.36%]
- 122/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000821s/0.235909s=0.35%]
- 123/123 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000818s/0.235909s=0.35%]
- 1/11. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004847s/0.235909s=2.05%]
- 2/11. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [4 times, 0.004566s/0.235909s=1.94%]
- 3/11. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [4 times, 0.009295s/0.235909s=3.94%]
- 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.004689s/0.235909s=1.99%]
- 5/11. SELECT @@session.sql_mode [3 times, 0.002869s/0.235909s=1.22%]
- 6/11. SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [2 times, 0.002132s/0.235909s=0.90%]
- 7/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [2 times, 0.002174s/0.235909s=0.92%]
- 8/11. SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [2 times, 0.003147s/0.235909s=1.33%]
- 9/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [2 times, 0.002326s/0.235909s=0.99%]
- 10/11. SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [2 times, 0.007279s/0.235909s=3.09%]
- 11/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [2 times, 0.006102s/0.235909s=2.59%]