基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-11-10 04:47:17 HTTP/1.1 GET : zxzyshanchu.test3.shoppaas.co/all?ajax=page&page=6&view=1
- 运行时间 : 0.586050s [ 吞吐率:1.71req/s ] 内存消耗:22,753.76kb 文件加载:319
- 查询信息 : [耗时:0.184676s/0.586050 31.51% ] 120 queries ,7 writes
- 缓存信息 : 35 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=la3rc8dhochqpbsc5hd2flphar
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000282s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000056s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000073s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxzyshanchu.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.115',
'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' => 'zxzyshanchu.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'ajax' => 'page',
'page' => '6',
'view' => '1',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004307s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000030s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000070s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1704423486470:',
'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.002963s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001727s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001661s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001739s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001754s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001412s ]
- [ 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.099913s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000092s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.007274s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001122s ]
- 1/19 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.099913s ] [0.099913s/0.124568s=80.21%]
- 2/19 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.007274s ] [0.007274s/0.124568s=5.84%]
- 3/19 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004307s ] [0.004307s/0.124568s=3.46%]
- 4/19 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002963s ] [0.002963s/0.124568s=2.38%]
- 5/19 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001754s ] [0.001754s/0.124568s=1.41%]
- 6/19 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001739s ] [0.001739s/0.124568s=1.40%]
- 7/19 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001727s ] [0.001727s/0.124568s=1.39%]
- 8/19 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001661s ] [0.001661s/0.124568s=1.33%]
- 9/19 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001412s ] [0.001412s/0.124568s=1.13%]
- 10/19 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001122s ] [0.001122s/0.124568s=0.90%]
- 11/19 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000282s ] [0.000282s/0.124568s=0.23%]
- 12/19 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000092s ] [0.000092s/0.124568s=0.07%]
- 13/19 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000073s ] [0.000073s/0.124568s=0.06%]
- 14/19 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000070s ] [0.000070s/0.124568s=0.06%]
- 15/19 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000056s ] [0.000056s/0.124568s=0.04%]
- 16/19 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000046s ] [0.000046s/0.124568s=0.04%]
- 17/19 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ] [0.000037s/0.124568s=0.03%]
- 18/19 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000030s ] [0.000030s/0.124568s=0.02%]
- 19/19 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ] [0.000010s/0.124568s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.001908s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704423486470;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001134s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001255s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001125s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001071s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000943s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001412s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001224s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1762721237 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'la3rc8dhochqpbsc5hd2flphar' AND `createtime` > 1762462037 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001468s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001124s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000766s ]
- [ 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` = 'la3rc8dhochqpbsc5hd2flphar' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001861s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000718s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001090s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001670s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000883s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000784s ]
- [ 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.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 < 1762721237 and b.endtime > 1762721237 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.004043s ]
- [ 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 (260,259,258,257,256,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240,239,238,237,236,235,234,233,232,231,230,229,228,227,226,225,224,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,106,105,104,103,102,101,100,99,98,97,96,95,94,93,92,91,90,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.011329s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000832s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000857s ]
- [ 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 < 1762721237 and b.endtime > 1762721237 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001619s ]
- [ 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.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 < 1762721237 and b.endtime > 1762721237 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 100,20 [ RunTime:0.002531s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (106,105,104,103,102,101,100,99,98,97,96,95,94,93,92,91,90,21,20,19) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001301s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (106,105,104,103,102,101,100,99,98,97,96,95,94,93,92,91,90,21,20,19) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004681s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1762721237 > starttime && 1762721237 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001283s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001333s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001076s ]
- [ 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.001531s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001050s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001202s ]
- [ 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.001372s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001249s ]
- [ 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.001491s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 106 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001613s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001043s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.002961s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001048s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 105 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001232s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001743s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000953s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000983s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 104 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001132s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000953s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000968s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 103 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001228s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001069s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001198s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000916s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 102 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001205s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001096s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001399s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001116s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 101 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001284s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001130s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000964s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001056s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 100 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001099s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001179s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000979s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000912s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 99 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002083s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001231s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001294s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001241s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 98 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001297s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001114s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001811s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001294s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 97 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001057s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001267s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000945s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000867s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 96 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000997s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001008s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001038s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 95 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001098s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001470s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001073s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001615s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 94 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000995s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001114s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000986s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001100s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 93 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001203s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001100s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000910s ]
- [ 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000983s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 92 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000974s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001513s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001156s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001154s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 91 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001443s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001260s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.000989s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001370s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 90 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001088s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001404s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [ RunTime:0.001637s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001008s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001089s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430663785.jpg' LIMIT 1 [ RunTime:0.004885s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001298s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001191s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001433s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002183s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002875s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (259,190,2,260,1,4) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,259,190,2,260,1,4) LIMIT 5 [ RunTime:0.001894s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (259,190,2,260,1) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001257s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (259,190,2,260,1) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,259,190,2,260,1) LIMIT 0,15 [ RunTime:0.001432s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (259,190,2,260,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001482s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (259,190,2,260,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001711s ]
- [ 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.001767s ]
- [ 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.001973s ]
- [ 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.001157s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431641923.jpg' LIMIT 1 [ RunTime:0.002267s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431641923.jpg' LIMIT 1 [ RunTime:0.001125s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001958s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431556858.jpg' LIMIT 1 [ RunTime:0.001115s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431556858.jpg' LIMIT 1 [ RunTime:0.001107s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001670s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001296s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001112s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001206s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.000991s ]
- [ 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002134s ]
- 1/128 . 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 (260,259,258,257,256,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240,239,238,237,236,235,234,233,232,231,230,229,228,227,226,225,224,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,106,105,104,103,102,101,100,99,98,97,96,95,94,93,92,91,90,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,2,1) group by binary(p.name), binary(p1.name); [0.011329s/0.184676s=6.13%]
- 2/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430663785.jpg' LIMIT 1 [0.004885s/0.184676s=2.65%]
- 3/128 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (106,105,104,103,102,101,100,99,98,97,96,95,94,93,92,91,90,21,20,19) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004681s/0.184676s=2.53%]
- 4/128 . 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.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 < 1762721237 and b.endtime > 1762721237 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.004043s/0.184676s=2.19%]
- 5/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.002961s/0.184676s=1.60%]
- 6/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002875s/0.184676s=1.56%]
- 7/128 . 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.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 < 1762721237 and b.endtime > 1762721237 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 100,20 [0.002531s/0.184676s=1.37%]
- 8/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431641923.jpg' LIMIT 1 [0.002267s/0.184676s=1.23%]
- 9/128 . SELECT * FROM `product_sku` WHERE `product_id` = 19 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002183s/0.184676s=1.18%]
- 10/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002134s/0.184676s=1.16%]
- 11/128 . SELECT * FROM `product_sku` WHERE `product_id` = 99 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002083s/0.184676s=1.13%]
- 12/128 . 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.001973s/0.184676s=1.07%]
- 13/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001958s/0.184676s=1.06%]
- 14/128 . CONNECT:[ UseTime:0.001908s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704423486470;charset=utf8mb4 [0.001908s/0.184676s=1.03%]
- 15/128 . SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (259,190,2,260,1,4) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,259,190,2,260,1,4) LIMIT 5 [0.001894s/0.184676s=1.03%]
- 16/128 . 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` = 'la3rc8dhochqpbsc5hd2flphar' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001861s/0.184676s=1.01%]
- 17/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001811s/0.184676s=0.98%]
- 18/128 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001767s/0.184676s=0.96%]
- 19/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001743s/0.184676s=0.94%]
- 20/128 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (259,190,2,260,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001711s/0.184676s=0.93%]
- 21/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001670s/0.184676s=0.90%]
- 22/128 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001670s/0.184676s=0.90%]
- 23/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001637s/0.184676s=0.89%]
- 24/128 . 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 < 1762721237 and b.endtime > 1762721237 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001619s/0.184676s=0.88%]
- 25/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001615s/0.184676s=0.87%]
- 26/128 . SELECT * FROM `product_sku` WHERE `product_id` = 106 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001613s/0.184676s=0.87%]
- 27/128 . 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.001531s/0.184676s=0.83%]
- 28/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001513s/0.184676s=0.82%]
- 29/128 . 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.001491s/0.184676s=0.81%]
- 30/128 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (259,190,2,260,1) ) AND `discuss`.`deletetime` IS NULL [0.001482s/0.184676s=0.80%]
- 31/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001470s/0.184676s=0.80%]
- 32/128 . UPDATE `cart` SET `deletetime`=1762721237 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'la3rc8dhochqpbsc5hd2flphar' AND `createtime` > 1762462037 ) AND `cart`.`deletetime` IS NULL [0.001468s/0.184676s=0.79%]
- 33/128 . SELECT * FROM `product_sku` WHERE `product_id` = 91 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001443s/0.184676s=0.78%]
- 34/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001433s/0.184676s=0.78%]
- 35/128 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (259,190,2,260,1) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,259,190,2,260,1) LIMIT 0,15 [0.001432s/0.184676s=0.78%]
- 36/128 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001412s/0.184676s=0.76%]
- 37/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001404s/0.184676s=0.76%]
- 38/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001399s/0.184676s=0.76%]
- 39/128 . 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.001372s/0.184676s=0.74%]
- 40/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001370s/0.184676s=0.74%]
- 41/128 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001333s/0.184676s=0.72%]
- 42/128 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (106,105,104,103,102,101,100,99,98,97,96,95,94,93,92,91,90,21,20,19) ) AND `discuss`.`deletetime` IS NULL [0.001301s/0.184676s=0.70%]
- 43/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001298s/0.184676s=0.70%]
- 44/128 . SELECT * FROM `product_sku` WHERE `product_id` = 98 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001297s/0.184676s=0.70%]
- 45/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001296s/0.184676s=0.70%]
- 46/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001294s/0.184676s=0.70%]
- 47/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001294s/0.184676s=0.70%]
- 48/128 . SELECT * FROM `product_sku` WHERE `product_id` = 101 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001284s/0.184676s=0.70%]
- 49/128 . SELECT * FROM `activity` WHERE ( ( 1762721237 > starttime && 1762721237 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001283s/0.184676s=0.69%]
- 50/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001267s/0.184676s=0.69%]
- 51/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001260s/0.184676s=0.68%]
- 52/128 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (259,190,2,260,1) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001257s/0.184676s=0.68%]
- 53/128 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001255s/0.184676s=0.68%]
- 54/128 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001249s/0.184676s=0.68%]
- 55/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001241s/0.184676s=0.67%]
- 56/128 . SELECT * FROM `product_sku` WHERE `product_id` = 105 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001232s/0.184676s=0.67%]
- 57/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001231s/0.184676s=0.67%]
- 58/128 . SELECT * FROM `product_sku` WHERE `product_id` = 103 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001228s/0.184676s=0.66%]
- 59/128 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001224s/0.184676s=0.66%]
- 60/128 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001206s/0.184676s=0.65%]
- 61/128 . SELECT * FROM `product_sku` WHERE `product_id` = 102 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001205s/0.184676s=0.65%]
- 62/128 . SELECT * FROM `product_sku` WHERE `product_id` = 93 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001203s/0.184676s=0.65%]
- 63/128 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001202s/0.184676s=0.65%]
- 64/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001198s/0.184676s=0.65%]
- 65/128 . SELECT * FROM `product_sku` WHERE `product_id` = 20 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001191s/0.184676s=0.64%]
- 66/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001179s/0.184676s=0.64%]
- 67/128 . 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.001157s/0.184676s=0.63%]
- 68/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001156s/0.184676s=0.63%]
- 69/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001154s/0.184676s=0.62%]
- 70/128 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001134s/0.184676s=0.61%]
- 71/128 . SELECT * FROM `product_sku` WHERE `product_id` = 104 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001132s/0.184676s=0.61%]
- 72/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001130s/0.184676s=0.61%]
- 73/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431641923.jpg' LIMIT 1 [0.001125s/0.184676s=0.61%]
- 74/128 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001125s/0.184676s=0.61%]
- 75/128 . SELECT @@session.sql_mode [0.001124s/0.184676s=0.61%]
- 76/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001116s/0.184676s=0.60%]
- 77/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431556858.jpg' LIMIT 1 [0.001115s/0.184676s=0.60%]
- 78/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001114s/0.184676s=0.60%]
- 79/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001114s/0.184676s=0.60%]
- 80/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001112s/0.184676s=0.60%]
- 81/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431556858.jpg' LIMIT 1 [0.001107s/0.184676s=0.60%]
- 82/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001103s/0.184676s=0.60%]
- 83/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001103s/0.184676s=0.60%]
- 84/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001100s/0.184676s=0.60%]
- 85/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001100s/0.184676s=0.60%]
- 86/128 . SELECT * FROM `product_sku` WHERE `product_id` = 100 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001099s/0.184676s=0.60%]
- 87/128 . SELECT * FROM `product_sku` WHERE `product_id` = 95 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001098s/0.184676s=0.59%]
- 88/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001096s/0.184676s=0.59%]
- 89/128 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001090s/0.184676s=0.59%]
- 90/128 . SELECT * FROM `product_sku` WHERE `product_id` = 21 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001089s/0.184676s=0.59%]
- 91/128 . SELECT * FROM `product_sku` WHERE `product_id` = 90 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001088s/0.184676s=0.59%]
- 92/128 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001076s/0.184676s=0.58%]
- 93/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001073s/0.184676s=0.58%]
- 94/128 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001071s/0.184676s=0.58%]
- 95/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001069s/0.184676s=0.58%]
- 96/128 . SELECT * FROM `product_sku` WHERE `product_id` = 97 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001057s/0.184676s=0.57%]
- 97/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001056s/0.184676s=0.57%]
- 98/128 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.001050s/0.184676s=0.57%]
- 99/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001048s/0.184676s=0.57%]
- 100/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001043s/0.184676s=0.56%]
- 101/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001038s/0.184676s=0.56%]
- 102/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.001008s/0.184676s=0.55%]
- 103/128 . 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001008s/0.184676s=0.55%]
- 104/128 . SELECT * FROM `product_sku` WHERE `product_id` = 96 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.000997s/0.184676s=0.54%]
- 105/128 . SELECT * FROM `product_sku` WHERE `product_id` = 94 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.000995s/0.184676s=0.54%]
- 106/128 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.000991s/0.184676s=0.54%]
- 107/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000989s/0.184676s=0.54%]
- 108/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000986s/0.184676s=0.53%]
- 109/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000983s/0.184676s=0.53%]
- 110/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000983s/0.184676s=0.53%]
- 111/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000979s/0.184676s=0.53%]
- 112/128 . SELECT * FROM `product_sku` WHERE `product_id` = 92 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.000974s/0.184676s=0.53%]
- 113/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000968s/0.184676s=0.52%]
- 114/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000964s/0.184676s=0.52%]
- 115/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000953s/0.184676s=0.52%]
- 116/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000953s/0.184676s=0.52%]
- 117/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000945s/0.184676s=0.51%]
- 118/128 . set time_zone = '+08:00' [0.000943s/0.184676s=0.51%]
- 119/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000916s/0.184676s=0.50%]
- 120/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000912s/0.184676s=0.49%]
- 121/128 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [0.000910s/0.184676s=0.49%]
- 122/128 . SELECT @@session.sql_mode [0.000883s/0.184676s=0.48%]
- 123/128 . 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000867s/0.184676s=0.47%]
- 124/128 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000857s/0.184676s=0.46%]
- 125/128 . SELECT @@session.sql_mode [0.000832s/0.184676s=0.45%]
- 126/128 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000784s/0.184676s=0.42%]
- 127/128 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000766s/0.184676s=0.41%]
- 128/128 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000718s/0.184676s=0.39%]
- 1/8. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736430799840.jpg' LIMIT 1 [34 times, 0.042155s/0.184676s=22.83%]
- 2/8. 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` <= 1762721237
AND pcm.`ends_at` >= 1762721237
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [14 times, 0.015137s/0.184676s=8.20%]
- 3/8. 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` <= 1762721238
AND pcm.`ends_at` >= 1762721238
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [11 times, 0.017308s/0.184676s=9.37%]
- 4/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004458s/0.184676s=2.41%]
- 5/8. 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.006152s/0.184676s=3.33%]
- 6/8. SELECT @@session.sql_mode [3 times, 0.002839s/0.184676s=1.54%]
- 7/8. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431556858.jpg' LIMIT 1 [2 times, 0.002222s/0.184676s=1.20%]
- 8/8. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f3e52c51bd5efc20/1736431641923.jpg' LIMIT 1 [2 times, 0.003392s/0.184676s=1.84%]