基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-08 05:06:27 HTTP/1.1 GET : zxnilbig.test3.shoppaas.co/search?keywords=sample
- 运行时间 : 0.245431s [ 吞吐率:4.07req/s ] 内存消耗:21,618.91kb 文件加载:306
- 查询信息 : [耗时:0.045139s/0.245431 18.39% ] 31 queries ,7 writes
- 缓存信息 : 17 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=1233319up8ma0l1m17e78oaj80
- [ 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.000277s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000052s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'search',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxnilbig.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.132',
'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' => 'zxnilbig.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'keywords' => 'sample',
'q' => NULL,
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005371s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000036s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1700288875339:',
'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.018924s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002124s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002095s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002118s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002223s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002021s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001948s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001727s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001217s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001290s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000069s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002054s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000073s ]
- 1/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.018924s ] [0.018924s/0.043822s=43.18%]
- 2/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005371s ] [0.005371s/0.043822s=12.26%]
- 3/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002223s ] [0.002223s/0.043822s=5.07%]
- 4/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002124s ] [0.002124s/0.043822s=4.85%]
- 5/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002118s ] [0.002118s/0.043822s=4.83%]
- 6/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002095s ] [0.002095s/0.043822s=4.78%]
- 7/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002054s ] [0.002054s/0.043822s=4.69%]
- 8/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002021s ] [0.002021s/0.043822s=4.61%]
- 9/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001948s ] [0.001948s/0.043822s=4.45%]
- 10/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001727s ] [0.001727s/0.043822s=3.94%]
- 11/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001290s ] [0.001290s/0.043822s=2.94%]
- 12/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001217s ] [0.001217s/0.043822s=2.78%]
- 13/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000277s ] [0.000277s/0.043822s=0.63%]
- 14/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000073s ] [0.000073s/0.043822s=0.17%]
- 15/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000069s ] [0.000069s/0.043822s=0.16%]
- 16/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ] [0.000067s/0.043822s=0.15%]
- 17/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ] [0.000054s/0.043822s=0.12%]
- 18/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000052s ] [0.000052s/0.043822s=0.12%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ] [0.000040s/0.043822s=0.09%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000036s ] [0.000036s/0.043822s=0.08%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.043822s=0.06%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.043822s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.002260s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1700288875339;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001018s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001282s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001021s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001063s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000871s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000854s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001058s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001014s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001203s ]
- [ SQL ] SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [ RunTime:0.000959s ]
- [ 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.000942s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001148s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000694s ]
- [ 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001860s ]
- [ 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc LIMIT 0,15 [ RunTime:0.001840s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (434,435,440) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001007s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (434,435,440) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000996s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775595987 > starttime && 1775595987 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000978s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000844s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000813s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000738s ]
- [ 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc [ RunTime:0.001873s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (434,435,440) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001078s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (434,435,440) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001065s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000794s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.000945s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.000994s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000879s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000806s ]
- [ 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001681s ]
- [ 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.002892s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (440,435,434) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001008s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (440,435,434) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001158s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000901s ]
- [ 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.001027s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001559s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001004s ]
- [ 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` <= 1775595987
AND pcm.`ends_at` >= 1775595987
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001012s ]
- 1/39 . 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.002892s/0.045139s=6.41%]
- 2/39 . CONNECT:[ UseTime:0.002260s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1700288875339;charset=utf8mb4 [0.002260s/0.045139s=5.01%]
- 3/39 . 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc [0.001873s/0.045139s=4.15%]
- 4/39 . 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001860s/0.045139s=4.12%]
- 5/39 . 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc LIMIT 0,15 [0.001840s/0.045139s=4.08%]
- 6/39 . 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001681s/0.045139s=3.72%]
- 7/39 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001559s/0.045139s=3.45%]
- 8/39 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001282s/0.045139s=2.84%]
- 9/39 . SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [0.001203s/0.045139s=2.67%]
- 10/39 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (440,435,434) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001158s/0.045139s=2.57%]
- 11/39 . SELECT @@session.sql_mode [0.001148s/0.045139s=2.54%]
- 12/39 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (434,435,440) ) AND `discuss`.`deletetime` IS NULL [0.001078s/0.045139s=2.39%]
- 13/39 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (434,435,440) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001065s/0.045139s=2.36%]
- 14/39 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001063s/0.045139s=2.35%]
- 15/39 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001058s/0.045139s=2.34%]
- 16/39 . 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.001027s/0.045139s=2.28%]
- 17/39 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001021s/0.045139s=2.26%]
- 18/39 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001018s/0.045139s=2.26%]
- 19/39 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001014s/0.045139s=2.25%]
- 20/39 . 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` <= 1775595987
AND pcm.`ends_at` >= 1775595987
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001012s/0.045139s=2.24%]
- 21/39 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (440,435,434) ) AND `discuss`.`deletetime` IS NULL [0.001008s/0.045139s=2.23%]
- 22/39 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (434,435,440) ) AND `discuss`.`deletetime` IS NULL [0.001007s/0.045139s=2.23%]
- 23/39 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001004s/0.045139s=2.22%]
- 24/39 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (434,435,440) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000996s/0.045139s=2.21%]
- 25/39 . SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [0.000994s/0.045139s=2.20%]
- 26/39 . SELECT * FROM `activity` WHERE ( ( 1775595987 > starttime && 1775595987 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000978s/0.045139s=2.17%]
- 27/39 . SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [0.000959s/0.045139s=2.12%]
- 28/39 . SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [0.000945s/0.045139s=2.09%]
- 29/39 . 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.000942s/0.045139s=2.09%]
- 30/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000901s/0.045139s=2.00%]
- 31/39 . SELECT @@session.sql_mode [0.000879s/0.045139s=1.95%]
- 32/39 . set time_zone = '+08:00' [0.000871s/0.045139s=1.93%]
- 33/39 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000854s/0.045139s=1.89%]
- 34/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000844s/0.045139s=1.87%]
- 35/39 . SELECT @@session.sql_mode [0.000813s/0.045139s=1.80%]
- 36/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000806s/0.045139s=1.79%]
- 37/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000794s/0.045139s=1.76%]
- 38/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000738s/0.045139s=1.63%]
- 39/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000694s/0.045139s=1.54%]
- 1/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [6 times, 0.004777s/0.045139s=10.58%]
- 2/5. SELECT @@session.sql_mode [3 times, 0.00284s/0.045139s=6.29%]
- 3/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (434,435,440) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002061s/0.045139s=4.57%]
- 4/5. SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (434,435,440) ) AND `discuss`.`deletetime` IS NULL [2 times, 0.002085s/0.045139s=4.62%]
- 5/5. 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 < 1775595987 and b.endtime > 1775595987 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 '%sample%' OR `subtitle` LIKE '%sample%' OR `product_tag_names` LIKE '%sample%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [2 times, 0.003541s/0.045139s=7.84%]