基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-05-02 01:10:48 HTTP/1.1 GET : zxspdz2.saascdn.co/category/default
- 运行时间 : 0.557236s [ 吞吐率:1.79req/s ] 内存消耗:22,678.27kb 文件加载:321
- 查询信息 : [耗时:0.07573s/0.557236 13.59% ] 64 queries ,4 writes
- 缓存信息 : 20 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=qdd7uj6bjkmq30n5i3c1fqkvdr
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000304s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000088s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000118s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000114s ]
- [ 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.49',
'referer' => 'http://zxspdz2.saascdn.co/category/default',
'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' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005171s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ]
- [ 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.002291s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002060s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002039s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002064s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002077s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002106s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001991s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001247s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001063s ]
- [ 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.032717s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000091s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002128s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001095s ]
- 1/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.032717s ] [0.032717s/0.05891s=55.54%]
- 2/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005171s ] [0.005171s/0.05891s=8.78%]
- 3/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002291s ] [0.002291s/0.05891s=3.89%]
- 4/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002128s ] [0.002128s/0.05891s=3.61%]
- 5/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002106s ] [0.002106s/0.05891s=3.57%]
- 6/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002077s ] [0.002077s/0.05891s=3.53%]
- 7/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002064s ] [0.002064s/0.05891s=3.50%]
- 8/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002060s ] [0.002060s/0.05891s=3.50%]
- 9/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002039s ] [0.002039s/0.05891s=3.46%]
- 10/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001991s ] [0.001991s/0.05891s=3.38%]
- 11/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001247s ] [0.001247s/0.05891s=2.12%]
- 12/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001095s ] [0.001095s/0.05891s=1.86%]
- 13/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001063s ] [0.001063s/0.05891s=1.80%]
- 14/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000304s ] [0.000304s/0.05891s=0.52%]
- 15/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000118s ] [0.000118s/0.05891s=0.20%]
- 16/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000114s ] [0.000114s/0.05891s=0.19%]
- 17/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000091s ] [0.000091s/0.05891s=0.15%]
- 18/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000088s ] [0.000088s/0.05891s=0.15%]
- 19/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.05891s=0.11%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ] [0.000035s/0.05891s=0.06%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ] [0.000031s/0.05891s=0.05%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.05891s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.003358s ] 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.000861s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001036s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001192s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000952s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001141s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000800s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000869s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000879s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001015s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000818s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000627s ]
- [ 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 < 1777655448 and b.endtime > 1777655448 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002324s ]
- [ 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,70,69,57,9,7,4,3) group by binary(p.name), binary(p1.name); [ RunTime:0.002060s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000675s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000758s ]
- [ 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 < 1777655448 and b.endtime > 1777655448 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001808s ]
- [ 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 < 1777655448 and b.endtime > 1777655448 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,20 [ RunTime:0.002043s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (127,70,69,57,9,7,4,3) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000943s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (127,70,69,57,9,7,4,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001478s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1777655448 > starttime && 1777655448 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000822s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000948s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000855s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 2 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000941s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000890s ]
- [ 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001038s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000944s ]
- [ 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.001128s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6e93aeaae1e2ffdd/d3cf0c499332b746372dd8ee8f7a9dbe.webp' LIMIT 1 [ RunTime:0.001035s ]
- [ 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.001109s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 127 LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 48 AND `status` = '1' LIMIT 1 [ RunTime:0.000900s ]
- [ 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.000810s ]
- [ 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.001135s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000930s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 70 LIMIT 1 [ RunTime:0.001021s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 19 AND `status` = '1' LIMIT 1 [ RunTime:0.001018s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000923s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [ RunTime:0.000830s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 18 AND `status` = '1' LIMIT 1 [ RunTime:0.000820s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000857s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 57 LIMIT 1 [ RunTime:0.000779s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [ RunTime:0.000792s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001105s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.001019s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [ RunTime:0.000848s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000921s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.000807s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [ RunTime:0.001063s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001176s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001022s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 12 AND `status` = '1' LIMIT 1 [ RunTime:0.000774s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000956s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [ RunTime:0.000943s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 11 AND `status` = '1' LIMIT 1 [ RunTime:0.000833s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001103s ]
- [ 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.001403s ]
- [ 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.001123s ]
- [ 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.001361s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,7) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001181s ]
- [ 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.001293s ]
- [ 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.001624s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.001152s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [ RunTime:0.001255s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001296s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.000950s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [ RunTime:0.001066s ]
- [ 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001129s ]
- 1/69 . CONNECT:[ UseTime:0.003358s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702025487596;charset=utf8mb4 [0.003358s/0.07573s=4.43%]
- 2/69 . 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 < 1777655448 and b.endtime > 1777655448 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002324s/0.07573s=3.07%]
- 3/69 . 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,70,69,57,9,7,4,3) group by binary(p.name), binary(p1.name); [0.002060s/0.07573s=2.72%]
- 4/69 . 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 < 1777655448 and b.endtime > 1777655448 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,20 [0.002043s/0.07573s=2.70%]
- 5/69 . 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 < 1777655448 and b.endtime > 1777655448 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001808s/0.07573s=2.39%]
- 6/69 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001624s/0.07573s=2.14%]
- 7/69 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (127,70,69,57,9,7,4,3) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001478s/0.07573s=1.95%]
- 8/69 . 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.001403s/0.07573s=1.85%]
- 9/69 . 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.001361s/0.07573s=1.80%]
- 10/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001296s/0.07573s=1.71%]
- 11/69 . 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.001293s/0.07573s=1.71%]
- 12/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [0.001255s/0.07573s=1.66%]
- 13/69 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001192s/0.07573s=1.57%]
- 14/69 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,7) ) AND `discuss`.`deletetime` IS NULL [0.001181s/0.07573s=1.56%]
- 15/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001176s/0.07573s=1.55%]
- 16/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.001152s/0.07573s=1.52%]
- 17/69 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001141s/0.07573s=1.51%]
- 18/69 . 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.001135s/0.07573s=1.50%]
- 19/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001129s/0.07573s=1.49%]
- 20/69 . 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.001128s/0.07573s=1.49%]
- 21/69 . 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.001123s/0.07573s=1.48%]
- 22/69 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001116s/0.07573s=1.47%]
- 23/69 . 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.001109s/0.07573s=1.46%]
- 24/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001105s/0.07573s=1.46%]
- 25/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001103s/0.07573s=1.46%]
- 26/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [0.001066s/0.07573s=1.41%]
- 27/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [0.001063s/0.07573s=1.40%]
- 28/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 127 LIMIT 1 [0.001049s/0.07573s=1.39%]
- 29/69 . 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [0.001038s/0.07573s=1.37%]
- 30/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001036s/0.07573s=1.37%]
- 31/69 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6e93aeaae1e2ffdd/d3cf0c499332b746372dd8ee8f7a9dbe.webp' LIMIT 1 [0.001035s/0.07573s=1.37%]
- 32/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001022s/0.07573s=1.35%]
- 33/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 70 LIMIT 1 [0.001021s/0.07573s=1.35%]
- 34/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.001019s/0.07573s=1.35%]
- 35/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 19 AND `status` = '1' LIMIT 1 [0.001018s/0.07573s=1.34%]
- 36/69 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001015s/0.07573s=1.34%]
- 37/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000956s/0.07573s=1.26%]
- 38/69 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000952s/0.07573s=1.26%]
- 39/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.000950s/0.07573s=1.25%]
- 40/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000948s/0.07573s=1.25%]
- 41/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000944s/0.07573s=1.25%]
- 42/69 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (127,70,69,57,9,7,4,3) ) AND `discuss`.`deletetime` IS NULL [0.000943s/0.07573s=1.25%]
- 43/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 3 LIMIT 1 [0.000943s/0.07573s=1.25%]
- 44/69 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 2 AND `themes_id` = 15 LIMIT 1 [0.000941s/0.07573s=1.24%]
- 45/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000930s/0.07573s=1.23%]
- 46/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000923s/0.07573s=1.22%]
- 47/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000921s/0.07573s=1.22%]
- 48/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 48 AND `status` = '1' LIMIT 1 [0.000900s/0.07573s=1.19%]
- 49/69 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000890s/0.07573s=1.18%]
- 50/69 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000879s/0.07573s=1.16%]
- 51/69 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000869s/0.07573s=1.15%]
- 52/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000861s/0.07573s=1.14%]
- 53/69 . 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000857s/0.07573s=1.13%]
- 54/69 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000855s/0.07573s=1.13%]
- 55/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [0.000848s/0.07573s=1.12%]
- 56/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 11 AND `status` = '1' LIMIT 1 [0.000833s/0.07573s=1.10%]
- 57/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [0.000830s/0.07573s=1.10%]
- 58/69 . SELECT * FROM `activity` WHERE ( ( 1777655448 > starttime && 1777655448 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000822s/0.07573s=1.09%]
- 59/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 18 AND `status` = '1' LIMIT 1 [0.000820s/0.07573s=1.08%]
- 60/69 . SELECT @@session.sql_mode [0.000818s/0.07573s=1.08%]
- 61/69 . 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.000810s/0.07573s=1.07%]
- 62/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.000807s/0.07573s=1.07%]
- 63/69 . set time_zone = '+08:00' [0.000800s/0.07573s=1.06%]
- 64/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [0.000792s/0.07573s=1.05%]
- 65/69 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 57 LIMIT 1 [0.000779s/0.07573s=1.03%]
- 66/69 . SELECT `id` FROM `custom_activity` WHERE `id` = 12 AND `status` = '1' LIMIT 1 [0.000774s/0.07573s=1.02%]
- 67/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000758s/0.07573s=1.00%]
- 68/69 . SELECT @@session.sql_mode [0.000675s/0.07573s=0.89%]
- 69/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000627s/0.07573s=0.83%]
- 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` <= 1777655448
AND pcm.`ends_at` >= 1777655448
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [10 times, 0.010396s/0.07573s=13.73%]
- 2/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.004182s/0.07573s=5.52%]
- 3/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002333s/0.07573s=3.08%]
- 4/8. SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [2 times, 0.002129s/0.07573s=2.81%]
- 5/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [2 times, 0.001757s/0.07573s=2.32%]
- 6/8. SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [2 times, 0.002103s/0.07573s=2.78%]
- 7/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [2 times, 0.002171s/0.07573s=2.87%]
- 8/8. SELECT @@session.sql_mode [2 times, 0.001493s/0.07573s=1.97%]