基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-27 01:18:56 HTTP/1.1 GET : zxcustom1.test3.shoppaas.co/category/all
- 运行时间 : 0.491904s [ 吞吐率:2.03req/s ] 内存消耗:26,491.16kb 文件加载:319
- 查询信息 : [耗时:0.084532s/0.491904 17.18% ] 62 queries ,7 writes
- 缓存信息 : 30 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=1dj0rq1arvkuj74l7ibhgvr0th
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000423s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000061s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxcustom1.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.152',
'referer' => 'http://zxcustom1.test3.shoppaas.co/category/all',
'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' => 'zxcustom1.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.004500s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000071s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1718160946437:',
'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.003274s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001780s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001703s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001672s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001582s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001747s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002089s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001216s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001046s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001710s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001078s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004500s ] [0.004500s/0.024264s=18.55%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003274s ] [0.003274s/0.024264s=13.49%]
- 3/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002089s ] [0.002089s/0.024264s=8.61%]
- 4/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001780s ] [0.001780s/0.024264s=7.34%]
- 5/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001747s ] [0.001747s/0.024264s=7.20%]
- 6/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001710s ] [0.001710s/0.024264s=7.05%]
- 7/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001703s ] [0.001703s/0.024264s=7.02%]
- 8/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001672s ] [0.001672s/0.024264s=6.89%]
- 9/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001582s ] [0.001582s/0.024264s=6.52%]
- 10/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001216s ] [0.001216s/0.024264s=5.01%]
- 11/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001078s ] [0.001078s/0.024264s=4.44%]
- 12/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001046s ] [0.001046s/0.024264s=4.31%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000423s ] [0.000423s/0.024264s=1.74%]
- 14/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ] [0.000090s/0.024264s=0.37%]
- 15/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ] [0.000076s/0.024264s=0.31%]
- 16/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000071s ] [0.000071s/0.024264s=0.29%]
- 17/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000061s ] [0.000061s/0.024264s=0.25%]
- 18/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ] [0.000054s/0.024264s=0.22%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ] [0.000038s/0.024264s=0.16%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ] [0.000038s/0.024264s=0.16%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ] [0.000016s/0.024264s=0.07%]
- [ DB ] CONNECT:[ UseTime:0.002104s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718160946437;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000941s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000953s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000781s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000727s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000649s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000736s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000723s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766769537 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '1dj0rq1arvkuj74l7ibhgvr0th' AND `createtime` > 1766510337 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000845s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000578s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000606s ]
- [ 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` = '1dj0rq1arvkuj74l7ibhgvr0th' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001342s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000614s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000714s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000873s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000849s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000664s ]
- [ 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 < 1766769537 and b.endtime > 1766769537 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(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( 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.001755s ]
- [ 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 (6,8,22,21,20,19,18,17,16,15,14,13,12,11,10,9,7,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.002453s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000754s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000956s ]
- [ 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 < 1766769537 and b.endtime > 1766769537 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(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( 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.001403s ]
- [ 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 < 1766769537 and b.endtime > 1766769537 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(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( 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 0,20 [ RunTime:0.001502s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,8,22,21,20,19,18,17,16,15,14,13,12,11,10,9,7,5,4,3) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000956s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,8,22,21,20,19,18,17,16,15,14,13,12,11,10,9,7,5,4,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.003999s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766769537 > starttime && 1766769537 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000928s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000805s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000899s ]
- [ 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.001120s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000900s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000928s ]
- [ 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.001931s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' 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.000918s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 6 LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 63 AND `status` = '1' LIMIT 1 [ RunTime:0.000866s ]
- [ 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.000879s ]
- [ 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.000935s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.007220s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001141s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001883s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001923s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001188s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001090s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.003695s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001277s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001140s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001048s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001116s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000985s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001023s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001032s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001281s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001059s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001055s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.000817s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 66 AND `status` = '1' LIMIT 1 [ RunTime:0.000838s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000950s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [ RunTime:0.000959s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 67 AND `status` = '1' LIMIT 1 [ RunTime:0.000859s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001348s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000964s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.000887s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.000854s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000862s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.000878s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.000830s ]
- [ 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000823s ]
- 1/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.007220s/0.084532s=8.54%]
- 2/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,8,22,21,20,19,18,17,16,15,14,13,12,11,10,9,7,5,4,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.003999s/0.084532s=4.73%]
- 3/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.003695s/0.084532s=4.37%]
- 4/70 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (6,8,22,21,20,19,18,17,16,15,14,13,12,11,10,9,7,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.002453s/0.084532s=2.90%]
- 5/70 . CONNECT:[ UseTime:0.002104s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718160946437;charset=utf8mb4 [0.002104s/0.084532s=2.49%]
- 6/70 . select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 1
and p.status = "up" and p.deletetime is null limit 40 [0.001931s/0.084532s=2.28%]
- 7/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001923s/0.084532s=2.27%]
- 8/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001883s/0.084532s=2.23%]
- 9/70 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1766769537 and b.endtime > 1766769537 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(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( 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.001755s/0.084532s=2.08%]
- 10/70 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1766769537 and b.endtime > 1766769537 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(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( 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 0,20 [0.001502s/0.084532s=1.78%]
- 11/70 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1766769537 and b.endtime > 1766769537 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(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( 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.001403s/0.084532s=1.66%]
- 12/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001348s/0.084532s=1.59%]
- 13/70 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = '1dj0rq1arvkuj74l7ibhgvr0th' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001342s/0.084532s=1.59%]
- 14/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001281s/0.084532s=1.52%]
- 15/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001277s/0.084532s=1.51%]
- 16/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001188s/0.084532s=1.41%]
- 17/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001141s/0.084532s=1.35%]
- 18/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001140s/0.084532s=1.35%]
- 19/70 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001120s/0.084532s=1.32%]
- 20/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001116s/0.084532s=1.32%]
- 21/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001090s/0.084532s=1.29%]
- 22/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001059s/0.084532s=1.25%]
- 23/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001055s/0.084532s=1.25%]
- 24/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001048s/0.084532s=1.24%]
- 25/70 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001036s/0.084532s=1.23%]
- 26/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001032s/0.084532s=1.22%]
- 27/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001023s/0.084532s=1.21%]
- 28/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000991s/0.084532s=1.17%]
- 29/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000985s/0.084532s=1.17%]
- 30/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.000964s/0.084532s=1.14%]
- 31/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000964s/0.084532s=1.14%]
- 32/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [0.000959s/0.084532s=1.13%]
- 33/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000956s/0.084532s=1.13%]
- 34/70 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,8,22,21,20,19,18,17,16,15,14,13,12,11,10,9,7,5,4,3) ) AND `discuss`.`deletetime` IS NULL [0.000956s/0.084532s=1.13%]
- 35/70 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000953s/0.084532s=1.13%]
- 36/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000950s/0.084532s=1.12%]
- 37/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000941s/0.084532s=1.11%]
- 38/70 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000935s/0.084532s=1.11%]
- 39/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 6 LIMIT 1 [0.000930s/0.084532s=1.10%]
- 40/70 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000928s/0.084532s=1.10%]
- 41/70 . SELECT * FROM `activity` WHERE ( ( 1766769537 > starttime && 1766769537 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000928s/0.084532s=1.10%]
- 42/70 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000918s/0.084532s=1.09%]
- 43/70 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.000900s/0.084532s=1.06%]
- 44/70 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000899s/0.084532s=1.06%]
- 45/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.000887s/0.084532s=1.05%]
- 46/70 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000879s/0.084532s=1.04%]
- 47/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.000878s/0.084532s=1.04%]
- 48/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000873s/0.084532s=1.03%]
- 49/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 63 AND `status` = '1' LIMIT 1 [0.000866s/0.084532s=1.02%]
- 50/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000862s/0.084532s=1.02%]
- 51/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 67 AND `status` = '1' LIMIT 1 [0.000859s/0.084532s=1.02%]
- 52/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.000854s/0.084532s=1.01%]
- 53/70 . SELECT @@session.sql_mode [0.000849s/0.084532s=1.00%]
- 54/70 . UPDATE `cart` SET `deletetime`=1766769537 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '1dj0rq1arvkuj74l7ibhgvr0th' AND `createtime` > 1766510337 ) AND `cart`.`deletetime` IS NULL [0.000845s/0.084532s=1.00%]
- 55/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 66 AND `status` = '1' LIMIT 1 [0.000838s/0.084532s=0.99%]
- 56/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.000830s/0.084532s=0.98%]
- 57/70 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000823s/0.084532s=0.97%]
- 58/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.000817s/0.084532s=0.97%]
- 59/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000805s/0.084532s=0.95%]
- 60/70 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000781s/0.084532s=0.92%]
- 61/70 . SELECT @@session.sql_mode [0.000754s/0.084532s=0.89%]
- 62/70 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000736s/0.084532s=0.87%]
- 63/70 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000727s/0.084532s=0.86%]
- 64/70 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000723s/0.084532s=0.86%]
- 65/70 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000714s/0.084532s=0.84%]
- 66/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000664s/0.084532s=0.79%]
- 67/70 . set time_zone = '+08:00' [0.000649s/0.084532s=0.77%]
- 68/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000614s/0.084532s=0.73%]
- 69/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000606s/0.084532s=0.72%]
- 70/70 . SELECT @@session.sql_mode [0.000578s/0.084532s=0.68%]
- 1/5. 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` <= 1766769537
AND pcm.`ends_at` >= 1766769537
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [20 times, 0.025385s/0.084532s=30.03%]
- 2/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [8 times, 0.014122s/0.084532s=16.71%]
- 3/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003645s/0.084532s=4.31%]
- 4/5. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [4 times, 0.003852s/0.084532s=4.56%]
- 5/5. SELECT @@session.sql_mode [3 times, 0.002181s/0.084532s=2.58%]