基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-05 02:06:57 HTTP/1.1 GET : zhouxinspdz001.saascdn.co/search?keywords=naminos
- 运行时间 : 0.230581s [ 吞吐率:4.34req/s ] 内存消耗:21,876.16kb 文件加载:315
- 查询信息 : [耗时:0.053965s/0.230581 23.40% ] 42 queries ,7 writes
- 缓存信息 : 9 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=cpj0vpardnbhl50lgvchq4g9q1
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000424s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000092s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'search',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zhouxinspdz001.saascdn.co',
'x-forwarded-for' => '216.73.216.84',
'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' => 'zhouxinspdz001.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'keywords' => 'naminos',
'q' => NULL,
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005265s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000053s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1696643044252:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Search->index[ /wwwroot/application/index/controller/Search.php ]
- [ VIEW ] /wwwroot/template/ella/template/search_index.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 => 'pageList2',
40 => 'keywords',
41 => 'productList',
42 => 'limit',
43 => 'page_type',
44 => 'blog_list',
45 => 'seotitle',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.010474s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002111s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002107s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002154s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002141s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002120s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002137s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001074s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001015s ]
- [ 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.048827s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000059s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002084s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000054s ]
- 1/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.048827s ] [0.048827s/0.082447s=59.22%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.010474s ] [0.010474s/0.082447s=12.70%]
- 3/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005265s ] [0.005265s/0.082447s=6.39%]
- 4/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002154s ] [0.002154s/0.082447s=2.61%]
- 5/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002141s ] [0.002141s/0.082447s=2.60%]
- 6/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002137s ] [0.002137s/0.082447s=2.59%]
- 7/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002120s ] [0.002120s/0.082447s=2.57%]
- 8/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002111s ] [0.002111s/0.082447s=2.56%]
- 9/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002107s ] [0.002107s/0.082447s=2.56%]
- 10/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002084s ] [0.002084s/0.082447s=2.53%]
- 11/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001074s ] [0.001074s/0.082447s=1.30%]
- 12/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001015s ] [0.001015s/0.082447s=1.23%]
- 13/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000424s ] [0.000424s/0.082447s=0.51%]
- 14/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000092s ] [0.000092s/0.082447s=0.11%]
- 15/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000076s ] [0.000076s/0.082447s=0.09%]
- 16/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ] [0.000067s/0.082447s=0.08%]
- 17/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ] [0.000063s/0.082447s=0.08%]
- 18/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000059s ] [0.000059s/0.082447s=0.07%]
- 19/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000054s ] [0.000054s/0.082447s=0.07%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000053s ] [0.000053s/0.082447s=0.06%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ] [0.000035s/0.082447s=0.04%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.082447s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002387s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1696643044252;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001024s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001202s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001084s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001022s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000864s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000953s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000880s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001141s ]
- [ SQL ] SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [ RunTime:0.001375s ]
- [ SQL ] SELECT * FROM `admin` WHERE `id` IN (1) [ RunTime:0.000956s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( is_enable=1 AND transl_way=2 AND lang_name='en' AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000916s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000799s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000904s ]
- [ 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001474s ]
- [ 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc LIMIT 0,15 [ RunTime:0.001516s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000756s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000821s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000783s ]
- [ 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc [ RunTime:0.001698s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000789s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%naminos%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.000935s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%naminos%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.000930s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000820s ]
- [ 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002795s ]
- [ 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001654s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000741s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000912s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000884s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001168s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,7,8,6,9) LIMIT 0,15 [ RunTime:0.001578s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001005s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,7,8,6,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001162s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775326018 > starttime && 1775326018 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000977s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.000980s ]
- [ 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.001066s ]
- [ 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.000852s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [ RunTime:0.000893s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [ RunTime:0.000959s ]
- [ 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.000948s ]
- [ 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.001047s ]
- [ 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` <= 1775326018
AND pcm.`ends_at` >= 1775326018
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000969s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.000989s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.000899s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [ RunTime:0.000963s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.000857s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.001030s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [ RunTime:0.000886s ]
- 1/50 . 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002795s/0.053965s=5.18%]
- 2/50 . CONNECT:[ UseTime:0.002387s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1696643044252;charset=utf8mb4 [0.002387s/0.053965s=4.42%]
- 3/50 . 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc [0.001698s/0.053965s=3.15%]
- 4/50 . 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001654s/0.053965s=3.06%]
- 5/50 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,7,8,6,9) LIMIT 0,15 [0.001578s/0.053965s=2.92%]
- 6/50 . 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc LIMIT 0,15 [0.001516s/0.053965s=2.81%]
- 7/50 . 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001474s/0.053965s=2.73%]
- 8/50 . SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [0.001375s/0.053965s=2.55%]
- 9/50 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001202s/0.053965s=2.23%]
- 10/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001168s/0.053965s=2.16%]
- 11/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,7,8,6,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001162s/0.053965s=2.15%]
- 12/50 . SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [0.001141s/0.053965s=2.11%]
- 13/50 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001084s/0.053965s=2.01%]
- 14/50 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001066s/0.053965s=1.98%]
- 15/50 . 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.001047s/0.053965s=1.94%]
- 16/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.001030s/0.053965s=1.91%]
- 17/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001024s/0.053965s=1.90%]
- 18/50 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001022s/0.053965s=1.89%]
- 19/50 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [0.001005s/0.053965s=1.86%]
- 20/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.000989s/0.053965s=1.83%]
- 21/50 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000980s/0.053965s=1.82%]
- 22/50 . SELECT * FROM `activity` WHERE ( ( 1775326018 > starttime && 1775326018 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000977s/0.053965s=1.81%]
- 23/50 . 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` <= 1775326018
AND pcm.`ends_at` >= 1775326018
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000969s/0.053965s=1.80%]
- 24/50 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000964s/0.053965s=1.79%]
- 25/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [0.000963s/0.053965s=1.78%]
- 26/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [0.000959s/0.053965s=1.78%]
- 27/50 . SELECT * FROM `admin` WHERE `id` IN (1) [0.000956s/0.053965s=1.77%]
- 28/50 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000953s/0.053965s=1.77%]
- 29/50 . 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.000948s/0.053965s=1.76%]
- 30/50 . SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%naminos%' AND `status` = 'normal' LIMIT 50 [0.000935s/0.053965s=1.73%]
- 31/50 . SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%naminos%' AND `status` = 'normal' LIMIT 50 [0.000930s/0.053965s=1.72%]
- 32/50 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( is_enable=1 AND transl_way=2 AND lang_name='en' AND deletetime IS NULL ) LIMIT 1 [0.000916s/0.053965s=1.70%]
- 33/50 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000912s/0.053965s=1.69%]
- 34/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000904s/0.053965s=1.68%]
- 35/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.000899s/0.053965s=1.67%]
- 36/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [0.000893s/0.053965s=1.65%]
- 37/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [0.000886s/0.053965s=1.64%]
- 38/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000884s/0.053965s=1.64%]
- 39/50 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000880s/0.053965s=1.63%]
- 40/50 . set time_zone = '+08:00' [0.000864s/0.053965s=1.60%]
- 41/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.000857s/0.053965s=1.59%]
- 42/50 . 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.000852s/0.053965s=1.58%]
- 43/50 . SELECT @@session.sql_mode [0.000821s/0.053965s=1.52%]
- 44/50 . SELECT @@session.sql_mode [0.000820s/0.053965s=1.52%]
- 45/50 . SELECT @@session.sql_mode [0.000799s/0.053965s=1.48%]
- 46/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000789s/0.053965s=1.46%]
- 47/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000783s/0.053965s=1.45%]
- 48/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000758s/0.053965s=1.40%]
- 49/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000756s/0.053965s=1.40%]
- 50/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000741s/0.053965s=1.37%]
- 1/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [6 times, 0.004731s/0.053965s=8.77%]
- 2/4. 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 [3 times, 0.002847s/0.053965s=5.28%]
- 3/4. SELECT @@session.sql_mode [3 times, 0.00244s/0.053965s=4.52%]
- 4/4. 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 < 1775326018 and b.endtime > 1775326018 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( `title` LIKE '%naminos%' OR `subtitle` LIKE '%naminos%' OR `product_tag_names` LIKE '%naminos%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [2 times, 0.004269s/0.053965s=7.91%]