基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-01 06:58:16 HTTP/1.1 GET : pdtest2225.test3.shoppaas.co/search?keywords=magnis
- 运行时间 : 0.475342s [ 吞吐率:2.10req/s ] 内存消耗:21,779.32kb 文件加载:343
- 查询信息 : [耗时:0.051765s/0.475342 10.89% ] 22 queries ,7 writes
- 缓存信息 : 6 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=clgo8qh8oiemsbsfoukvhbgn3p
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000422s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000106s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000122s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'search',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'pdtest2225.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.31',
'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' => 'pdtest2225.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'keywords' => 'magnis',
'q' => NULL,
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.022142s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000056s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000390s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1718172267077:',
'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.012141s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.073435s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002048s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003646s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001981s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001712s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001649s ]
- [ VIEW ] /wwwroot/addons/klaviyopixel/view/klaviyo_pixel.html [ array (
0 => 'klaviyopixel_id',
) ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001794s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001330s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001271s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001685s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000048s ]
- 1/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.073435s ] [0.073435s/0.126192s=58.19%]
- 2/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.022142s ] [0.022142s/0.126192s=17.55%]
- 3/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.012141s ] [0.012141s/0.126192s=9.62%]
- 4/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003646s ] [0.003646s/0.126192s=2.89%]
- 5/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002048s ] [0.002048s/0.126192s=1.62%]
- 6/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001981s ] [0.001981s/0.126192s=1.57%]
- 7/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001794s ] [0.001794s/0.126192s=1.42%]
- 8/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001712s ] [0.001712s/0.126192s=1.36%]
- 9/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001685s ] [0.001685s/0.126192s=1.34%]
- 10/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001649s ] [0.001649s/0.126192s=1.31%]
- 11/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001330s ] [0.001330s/0.126192s=1.05%]
- 12/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001271s ] [0.001271s/0.126192s=1.01%]
- 13/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000422s ] [0.000422s/0.126192s=0.33%]
- 14/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000390s ] [0.000390s/0.126192s=0.31%]
- 15/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000122s ] [0.000122s/0.126192s=0.10%]
- 16/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000106s ] [0.000106s/0.126192s=0.08%]
- 17/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ] [0.000096s/0.126192s=0.08%]
- 18/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000056s ] [0.000056s/0.126192s=0.04%]
- 19/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ] [0.000054s/0.126192s=0.04%]
- 20/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000048s ] [0.000048s/0.126192s=0.04%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000046s ] [0.000046s/0.126192s=0.04%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000018s ] [0.000018s/0.126192s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.009023s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718172267077;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001309s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.003438s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001109s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001239s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001267s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001137s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001206s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001321s ]
- [ SQL ] SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [ RunTime:0.001202s ]
- [ 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.001261s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002025s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000754s ]
- [ 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.003251s ]
- [ 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc LIMIT 0,15 [ RunTime:0.002138s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001470s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000860s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000910s ]
- [ 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc [ RunTime:0.001849s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001009s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%magnis%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.001227s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%magnis%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.001033s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002702s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001032s ]
- [ 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001643s ]
- [ 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001806s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000919s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001376s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001200s ]
- 1/30 . CONNECT:[ UseTime:0.009023s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718172267077;charset=utf8mb4 [0.009023s/0.051765s=17.43%]
- 2/30 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.003438s/0.051765s=6.64%]
- 3/30 . 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.003251s/0.051765s=6.28%]
- 4/30 . SELECT @@session.sql_mode [0.002702s/0.051765s=5.22%]
- 5/30 . 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc LIMIT 0,15 [0.002138s/0.051765s=4.13%]
- 6/30 . SELECT @@session.sql_mode [0.002025s/0.051765s=3.91%]
- 7/30 . 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL ORDER BY title asc,id desc [0.001849s/0.051765s=3.57%]
- 8/30 . 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001806s/0.051765s=3.49%]
- 9/30 . 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001643s/0.051765s=3.17%]
- 10/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001470s/0.051765s=2.84%]
- 11/30 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001376s/0.051765s=2.66%]
- 12/30 . SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [0.001321s/0.051765s=2.55%]
- 13/30 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001309s/0.051765s=2.53%]
- 14/30 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001267s/0.051765s=2.45%]
- 15/30 . 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.001261s/0.051765s=2.44%]
- 16/30 . set time_zone = '+08:00' [0.001239s/0.051765s=2.39%]
- 17/30 . SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%magnis%' AND `status` = 'normal' LIMIT 50 [0.001227s/0.051765s=2.37%]
- 18/30 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001206s/0.051765s=2.33%]
- 19/30 . SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [0.001202s/0.051765s=2.32%]
- 20/30 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001200s/0.051765s=2.32%]
- 21/30 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001137s/0.051765s=2.20%]
- 22/30 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001109s/0.051765s=2.14%]
- 23/30 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001049s/0.051765s=2.03%]
- 24/30 . SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%magnis%' AND `status` = 'normal' LIMIT 50 [0.001033s/0.051765s=2.00%]
- 25/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001032s/0.051765s=1.99%]
- 26/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001009s/0.051765s=1.95%]
- 27/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000919s/0.051765s=1.78%]
- 28/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000910s/0.051765s=1.76%]
- 29/30 . SELECT @@session.sql_mode [0.000860s/0.051765s=1.66%]
- 30/30 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000754s/0.051765s=1.46%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [6 times, 0.006094s/0.051765s=11.77%]
- 2/3. SELECT @@session.sql_mode [3 times, 0.005587s/0.051765s=10.79%]
- 3/3. 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 < 1774997896 and b.endtime > 1774997896 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 '%magnis%' OR `subtitle` LIKE '%magnis%' OR `product_tag_names` LIKE '%magnis%' ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [2 times, 0.004894s/0.051765s=9.45%]
- Facebook track: Use:6.3638925552368ms