基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-03-07 17:36:44 HTTP/1.1 GET : zxspdz2.saascdn.co/category/all
- 运行时间 : 0.494511s [ 吞吐率:2.02req/s ] 内存消耗:23,095.34kb 文件加载:323
- 查询信息 : [耗时:0.154713s/0.494511 31.29% ] 81 queries ,7 writes
- 缓存信息 : 25 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=f1cfkulf1ocd8lrfkk1krar334
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000421s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000070s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000085s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000103s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxspdz2.saascdn.co',
'x-forwarded-for' => '216.73.216.106',
'referer' => 'http://zxspdz2.saascdn.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' => 'zxspdz2.saascdn.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.004957s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000110s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1702025487596:',
'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.009799s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001858s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001954s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001845s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001802s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001763s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001776s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001413s ]
- [ 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.034715s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000095s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002062s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001203s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.034715s ] [0.034715s/0.066142s=52.49%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.009799s ] [0.009799s/0.066142s=14.82%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004957s ] [0.004957s/0.066142s=7.49%]
- 4/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002062s ] [0.002062s/0.066142s=3.12%]
- 5/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001954s ] [0.001954s/0.066142s=2.95%]
- 6/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001858s ] [0.001858s/0.066142s=2.81%]
- 7/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001845s ] [0.001845s/0.066142s=2.79%]
- 8/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001802s ] [0.001802s/0.066142s=2.72%]
- 9/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001776s ] [0.001776s/0.066142s=2.69%]
- 10/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001763s ] [0.001763s/0.066142s=2.67%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001413s ] [0.001413s/0.066142s=2.14%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001203s ] [0.001203s/0.066142s=1.82%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000421s ] [0.000421s/0.066142s=0.64%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000110s ] [0.000110s/0.066142s=0.17%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000103s ] [0.000103s/0.066142s=0.16%]
- 16/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000095s ] [0.000095s/0.066142s=0.14%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000085s ] [0.000085s/0.066142s=0.13%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000070s ] [0.000070s/0.066142s=0.11%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000048s ] [0.000048s/0.066142s=0.07%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000044s ] [0.000044s/0.066142s=0.07%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000019s ] [0.000019s/0.066142s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.002533s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702025487596;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001025s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001357s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.001265s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001150s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001167s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000970s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001536s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000963s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001312s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1772876204 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'f1cfkulf1ocd8lrfkk1krar334' AND `createtime` > 1772617004 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.002684s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000947s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.002454s ]
- [ 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` = 'f1cfkulf1ocd8lrfkk1krar334' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001714s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000928s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.002643s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002849s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000827s ]
- [ 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 < 1772876204 and b.endtime > 1772876204 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(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, 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.010482s ]
- [ 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 (127,81,79,78,77,71,70,69,57,9,7,4,3) group by binary(p.name), binary(p1.name); [ RunTime:0.004523s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000923s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001197s ]
- [ 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 < 1772876204 and b.endtime > 1772876204 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(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, 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.004254s ]
- [ 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 < 1772876204 and b.endtime > 1772876204 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(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, 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.002463s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (127,81,79,78,77,71,70,69,57,9,7,4,3) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.002460s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (127,81,79,78,77,71,70,69,57,9,7,4,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004819s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1772876204 > starttime && 1772876204 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.004480s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001122s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001119s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001034s ]
- [ 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.001013s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.005531s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.003034s ]
- [ 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.006214s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001184s ]
- [ 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.001326s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 127 LIMIT 1 [ RunTime:0.001892s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 48 AND `status` = '1' LIMIT 1 [ RunTime:0.001106s ]
- [ 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.001106s ]
- [ 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.001377s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001389s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.005746s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 50 AND `status` = '1' LIMIT 1 [ RunTime:0.001172s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001317s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 79 LIMIT 1 [ RunTime:0.003140s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 49 AND `status` = '1' LIMIT 1 [ RunTime:0.000994s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001230s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 78 LIMIT 1 [ RunTime:0.001148s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 40 AND `status` = '1' LIMIT 1 [ RunTime:0.002707s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001376s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [ RunTime:0.001171s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 47 AND `status` = '1' LIMIT 1 [ RunTime:0.001088s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001275s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 71 LIMIT 1 [ RunTime:0.001136s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 54 AND `status` = '1' LIMIT 1 [ RunTime:0.000942s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001343s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 70 LIMIT 1 [ RunTime:0.001029s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 19 AND `status` = '1' LIMIT 1 [ RunTime:0.001057s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001124s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [ RunTime:0.001772s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 18 AND `status` = '1' LIMIT 1 [ RunTime:0.000974s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001288s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 57 LIMIT 1 [ RunTime:0.001020s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [ RunTime:0.000955s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001164s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.001052s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [ RunTime:0.000960s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001175s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.001160s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [ RunTime:0.000995s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001160s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001087s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 12 AND `status` = '1' LIMIT 1 [ RunTime:0.000997s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001065s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [ RunTime:0.000949s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 11 AND `status` = '1' LIMIT 1 [ RunTime:0.000929s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001042s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (59,55,54,9,8,7) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,59,55,54,9,8,7) LIMIT 6 [ RunTime:0.001160s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (9,7) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001088s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (9,7) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,9,7) LIMIT 0,15 [ RunTime:0.001187s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,7) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001056s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (9,7) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001288s ]
- [ 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.001027s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.000965s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [ RunTime:0.000876s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001174s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.000999s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [ RunTime:0.000935s ]
- [ 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001847s ]
- 1/89 . 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 < 1772876204 and b.endtime > 1772876204 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(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, 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.010482s/0.154713s=6.78%]
- 2/89 . 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.006214s/0.154713s=4.02%]
- 3/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.005746s/0.154713s=3.71%]
- 4/89 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.005531s/0.154713s=3.58%]
- 5/89 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (127,81,79,78,77,71,70,69,57,9,7,4,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004819s/0.154713s=3.11%]
- 6/89 . 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 (127,81,79,78,77,71,70,69,57,9,7,4,3) group by binary(p.name), binary(p1.name); [0.004523s/0.154713s=2.92%]
- 7/89 . SELECT * FROM `activity` WHERE ( ( 1772876204 > starttime && 1772876204 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.004480s/0.154713s=2.90%]
- 8/89 . 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 < 1772876204 and b.endtime > 1772876204 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(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, 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.004254s/0.154713s=2.75%]
- 9/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 79 LIMIT 1 [0.003140s/0.154713s=2.03%]
- 10/89 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.003034s/0.154713s=1.96%]
- 11/89 . SELECT @@session.sql_mode [0.002849s/0.154713s=1.84%]
- 12/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 40 AND `status` = '1' LIMIT 1 [0.002707s/0.154713s=1.75%]
- 13/89 . UPDATE `cart` SET `deletetime`=1772876204 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'f1cfkulf1ocd8lrfkk1krar334' AND `createtime` > 1772617004 ) AND `cart`.`deletetime` IS NULL [0.002684s/0.154713s=1.73%]
- 14/89 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.002643s/0.154713s=1.71%]
- 15/89 . CONNECT:[ UseTime:0.002533s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702025487596;charset=utf8mb4 [0.002533s/0.154713s=1.64%]
- 16/89 . 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 < 1772876204 and b.endtime > 1772876204 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(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, 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.002463s/0.154713s=1.59%]
- 17/89 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (127,81,79,78,77,71,70,69,57,9,7,4,3) ) AND `discuss`.`deletetime` IS NULL [0.002460s/0.154713s=1.59%]
- 18/89 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.002454s/0.154713s=1.59%]
- 19/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 127 LIMIT 1 [0.001892s/0.154713s=1.22%]
- 20/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001847s/0.154713s=1.19%]
- 21/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [0.001772s/0.154713s=1.15%]
- 22/89 . 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` = 'f1cfkulf1ocd8lrfkk1krar334' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001714s/0.154713s=1.11%]
- 23/89 . set time_zone = '+08:00' [0.001536s/0.154713s=0.99%]
- 24/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001389s/0.154713s=0.90%]
- 25/89 . 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.001377s/0.154713s=0.89%]
- 26/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001376s/0.154713s=0.89%]
- 27/89 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001357s/0.154713s=0.88%]
- 28/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001343s/0.154713s=0.87%]
- 29/89 . 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.001326s/0.154713s=0.86%]
- 30/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001317s/0.154713s=0.85%]
- 31/89 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001312s/0.154713s=0.85%]
- 32/89 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (9,7) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001288s/0.154713s=0.83%]
- 33/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001288s/0.154713s=0.83%]
- 34/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001275s/0.154713s=0.82%]
- 35/89 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001265s/0.154713s=0.82%]
- 36/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001230s/0.154713s=0.80%]
- 37/89 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001197s/0.154713s=0.77%]
- 38/89 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (9,7) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,9,7) LIMIT 0,15 [0.001187s/0.154713s=0.77%]
- 39/89 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001184s/0.154713s=0.77%]
- 40/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001175s/0.154713s=0.76%]
- 41/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001174s/0.154713s=0.76%]
- 42/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 50 AND `status` = '1' LIMIT 1 [0.001172s/0.154713s=0.76%]
- 43/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 77 LIMIT 1 [0.001171s/0.154713s=0.76%]
- 44/89 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001167s/0.154713s=0.75%]
- 45/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001164s/0.154713s=0.75%]
- 46/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001160s/0.154713s=0.75%]
- 47/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.001160s/0.154713s=0.75%]
- 48/89 . SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (59,55,54,9,8,7) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,59,55,54,9,8,7) LIMIT 6 [0.001160s/0.154713s=0.75%]
- 49/89 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001150s/0.154713s=0.74%]
- 50/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 78 LIMIT 1 [0.001148s/0.154713s=0.74%]
- 51/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 71 LIMIT 1 [0.001136s/0.154713s=0.73%]
- 52/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001124s/0.154713s=0.73%]
- 53/89 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001122s/0.154713s=0.73%]
- 54/89 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001119s/0.154713s=0.72%]
- 55/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 48 AND `status` = '1' LIMIT 1 [0.001106s/0.154713s=0.71%]
- 56/89 . 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.001106s/0.154713s=0.71%]
- 57/89 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (9,7) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001088s/0.154713s=0.70%]
- 58/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 47 AND `status` = '1' LIMIT 1 [0.001088s/0.154713s=0.70%]
- 59/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001087s/0.154713s=0.70%]
- 60/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001065s/0.154713s=0.69%]
- 61/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 19 AND `status` = '1' LIMIT 1 [0.001057s/0.154713s=0.68%]
- 62/89 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,7) ) AND `discuss`.`deletetime` IS NULL [0.001056s/0.154713s=0.68%]
- 63/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.001052s/0.154713s=0.68%]
- 64/89 . 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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001042s/0.154713s=0.67%]
- 65/89 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001034s/0.154713s=0.67%]
- 66/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 70 LIMIT 1 [0.001029s/0.154713s=0.67%]
- 67/89 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001027s/0.154713s=0.66%]
- 68/89 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001025s/0.154713s=0.66%]
- 69/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 57 LIMIT 1 [0.001020s/0.154713s=0.66%]
- 70/89 . 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.001013s/0.154713s=0.65%]
- 71/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.000999s/0.154713s=0.65%]
- 72/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 12 AND `status` = '1' LIMIT 1 [0.000997s/0.154713s=0.64%]
- 73/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [0.000995s/0.154713s=0.64%]
- 74/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 49 AND `status` = '1' LIMIT 1 [0.000994s/0.154713s=0.64%]
- 75/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 18 AND `status` = '1' LIMIT 1 [0.000974s/0.154713s=0.63%]
- 76/89 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000970s/0.154713s=0.63%]
- 77/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.000965s/0.154713s=0.62%]
- 78/89 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000963s/0.154713s=0.62%]
- 79/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [0.000960s/0.154713s=0.62%]
- 80/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [0.000955s/0.154713s=0.62%]
- 81/89 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [0.000949s/0.154713s=0.61%]
- 82/89 . SELECT @@session.sql_mode [0.000947s/0.154713s=0.61%]
- 83/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 54 AND `status` = '1' LIMIT 1 [0.000942s/0.154713s=0.61%]
- 84/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [0.000935s/0.154713s=0.60%]
- 85/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 11 AND `status` = '1' LIMIT 1 [0.000929s/0.154713s=0.60%]
- 86/89 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000928s/0.154713s=0.60%]
- 87/89 . SELECT @@session.sql_mode [0.000923s/0.154713s=0.60%]
- 88/89 . SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [0.000876s/0.154713s=0.57%]
- 89/89 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000827s/0.154713s=0.53%]
- 1/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` <= 1772876204
AND pcm.`ends_at` >= 1772876204
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [15 times, 0.018969s/0.154713s=12.26%]
- 2/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.006525s/0.154713s=4.22%]
- 3/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.004822s/0.154713s=3.12%]
- 4/8. SELECT @@session.sql_mode [3 times, 0.004719s/0.154713s=3.05%]
- 5/8. SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [2 times, 0.00193s/0.154713s=1.25%]
- 6/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [2 times, 0.002159s/0.154713s=1.40%]
- 7/8. SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [2 times, 0.001836s/0.154713s=1.19%]
- 8/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [2 times, 0.002017s/0.154713s=1.30%]