基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-05 17:10:51 HTTP/1.1 GET : zxzxzx001.test3.shoppaas.co/search?keywords=sample
- 运行时间 : 0.283614s [ 吞吐率:3.53req/s ] 内存消耗:21,809.05kb 文件加载:318
- 查询信息 : [耗时:0.078778s/0.283614 27.78% ] 39 queries ,10 writes
- 缓存信息 : 10 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=fd7p3io9pk4r4fi2gfcp4q9dgn
- [ 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.000253s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000079s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'search',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxzxzx001.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.144',
'cookie' => 'currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1736025664%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D; PHPSESSID=fd7p3io9pk4r4fi2gfcp4q9dgn; currency_code=USD',
'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' => 'zxzxzx001.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.004645s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.003414s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ]
- [ 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\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.011971s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001944s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001910s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001695s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001864s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001803s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001802s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.002494s ]
- [ 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.054624s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000076s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001897s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000094s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.054624s ] [0.054624s/0.090797s=60.16%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.011971s ] [0.011971s/0.090797s=13.18%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004645s ] [0.004645s/0.090797s=5.12%]
- 4/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.003414s ] [0.003414s/0.090797s=3.76%]
- 5/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.002494s ] [0.002494s/0.090797s=2.75%]
- 6/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001944s ] [0.001944s/0.090797s=2.14%]
- 7/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001910s ] [0.001910s/0.090797s=2.10%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001897s ] [0.001897s/0.090797s=2.09%]
- 9/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001864s ] [0.001864s/0.090797s=2.05%]
- 10/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001803s ] [0.001803s/0.090797s=1.99%]
- 11/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001802s ] [0.001802s/0.090797s=1.98%]
- 12/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001695s ] [0.001695s/0.090797s=1.87%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000253s ] [0.000253s/0.090797s=0.28%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000094s ] [0.000094s/0.090797s=0.10%]
- 15/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000094s ] [0.000094s/0.090797s=0.10%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000079s ] [0.000079s/0.090797s=0.09%]
- 17/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000076s ] [0.000076s/0.090797s=0.08%]
- 18/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ] [0.000047s/0.090797s=0.05%]
- 19/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ] [0.000038s/0.090797s=0.04%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ] [0.000038s/0.090797s=0.04%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.090797s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002465s ] 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` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001286s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001284s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.002067s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001342s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001191s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001984s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001133s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1770282651 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'fd7p3io9pk4r4fi2gfcp4q9dgn' AND `createtime` > 1770023451 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.002237s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001407s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000985s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'fd7p3io9pk4r4fi2gfcp4q9dgn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002468s ]
- [ 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` = 'customer_login_config' LIMIT 1 [ RunTime:0.001402s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001363s ]
- [ SQL ] SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [ RunTime:0.001229s ]
- [ SQL ] SELECT * FROM `admin` WHERE `id` IN (1) [ RunTime:0.001125s ]
- [ 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.001558s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000976s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000916s ]
- [ 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 < 1770282651 and b.endtime > 1770282651 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.001668s ]
- [ 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 < 1770282651 and b.endtime > 1770282651 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.002521s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000893s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001111s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000905s ]
- [ 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 < 1770282651 and b.endtime > 1770282651 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.003392s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000950s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.001064s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.002744s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001501s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001064s ]
- [ 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 < 1770282652 and b.endtime > 1770282652 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.002756s ]
- [ 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 < 1770282652 and b.endtime > 1770282652 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.001563s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000961s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.002315s ]
- [ 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.002248s ]
- [ 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.003525s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,7) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001340s ]
- [ 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.001370s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1770282652 > starttime && 1770282652 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001422s ]
- [ 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.002414s ]
- [ 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.001457s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.001107s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [ RunTime:0.001352s ]
- [ 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.001176s ]
- [ 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.001413s ]
- [ 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` <= 1770282652
AND pcm.`ends_at` >= 1770282652
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001211s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.001065s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [ RunTime:0.001039s ]
- [ 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` <= 1770282652
AND pcm.`ends_at` >= 1770282652
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001865s ]
- 1/50 . 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.003525s/0.078778s=4.47%]
- 2/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 < 1770282651 and b.endtime > 1770282651 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.003392s/0.078778s=4.31%]
- 3/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 < 1770282652 and b.endtime > 1770282652 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.002756s/0.078778s=3.50%]
- 4/50 . SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [0.002744s/0.078778s=3.48%]
- 5/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 < 1770282651 and b.endtime > 1770282651 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.002521s/0.078778s=3.20%]
- 6/50 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'fd7p3io9pk4r4fi2gfcp4q9dgn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002468s/0.078778s=3.13%]
- 7/50 . CONNECT:[ UseTime:0.002465s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702025487596;charset=utf8mb4 [0.002465s/0.078778s=3.13%]
- 8/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.002414s/0.078778s=3.06%]
- 9/50 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.002315s/0.078778s=2.94%]
- 10/50 . 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.002248s/0.078778s=2.85%]
- 11/50 . UPDATE `cart` SET `deletetime`=1770282651 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'fd7p3io9pk4r4fi2gfcp4q9dgn' AND `createtime` > 1770023451 ) AND `cart`.`deletetime` IS NULL [0.002237s/0.078778s=2.84%]
- 12/50 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.002067s/0.078778s=2.62%]
- 13/50 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001984s/0.078778s=2.52%]
- 14/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` <= 1770282652
AND pcm.`ends_at` >= 1770282652
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001865s/0.078778s=2.37%]
- 15/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 < 1770282651 and b.endtime > 1770282651 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.001668s/0.078778s=2.12%]
- 16/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 < 1770282652 and b.endtime > 1770282652 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.001563s/0.078778s=1.98%]
- 17/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.001558s/0.078778s=1.98%]
- 18/50 . SELECT @@session.sql_mode [0.001501s/0.078778s=1.91%]
- 19/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.001457s/0.078778s=1.85%]
- 20/50 . SELECT * FROM `activity` WHERE ( ( 1770282652 > starttime && 1770282652 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001422s/0.078778s=1.81%]
- 21/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.001413s/0.078778s=1.79%]
- 22/50 . SELECT @@session.sql_mode [0.001407s/0.078778s=1.79%]
- 23/50 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001402s/0.078778s=1.78%]
- 24/50 . 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.001370s/0.078778s=1.74%]
- 25/50 . SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [0.001363s/0.078778s=1.73%]
- 26/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 43 AND `status` = '1' LIMIT 1 [0.001352s/0.078778s=1.72%]
- 27/50 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001342s/0.078778s=1.70%]
- 28/50 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (9,7) ) AND `discuss`.`deletetime` IS NULL [0.001340s/0.078778s=1.70%]
- 29/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001286s/0.078778s=1.63%]
- 30/50 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001284s/0.078778s=1.63%]
- 31/50 . SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [0.001229s/0.078778s=1.56%]
- 32/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` <= 1770282652
AND pcm.`ends_at` >= 1770282652
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001211s/0.078778s=1.54%]
- 33/50 . set time_zone = '+08:00' [0.001191s/0.078778s=1.51%]
- 34/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.001176s/0.078778s=1.49%]
- 35/50 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001133s/0.078778s=1.44%]
- 36/50 . SELECT * FROM `admin` WHERE `id` IN (1) [0.001125s/0.078778s=1.43%]
- 37/50 . SELECT @@session.sql_mode [0.001111s/0.078778s=1.41%]
- 38/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.001107s/0.078778s=1.41%]
- 39/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.001065s/0.078778s=1.35%]
- 40/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001064s/0.078778s=1.35%]
- 41/50 . SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [0.001064s/0.078778s=1.35%]
- 42/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 44 AND `status` = '1' LIMIT 1 [0.001039s/0.078778s=1.32%]
- 43/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000985s/0.078778s=1.25%]
- 44/50 . SELECT @@session.sql_mode [0.000976s/0.078778s=1.24%]
- 45/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000961s/0.078778s=1.22%]
- 46/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000950s/0.078778s=1.21%]
- 47/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000948s/0.078778s=1.20%]
- 48/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000916s/0.078778s=1.16%]
- 49/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000905s/0.078778s=1.15%]
- 50/50 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000893s/0.078778s=1.13%]
- 1/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [8 times, 0.007622s/0.078778s=9.68%]
- 2/4. SELECT @@session.sql_mode [4 times, 0.004995s/0.078778s=6.34%]
- 3/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.004046s/0.078778s=5.14%]
- 4/4. 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` <= 1770282652
AND pcm.`ends_at` >= 1770282652
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [2 times, 0.003076s/0.078778s=3.90%]