基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-13 04:33:20 HTTP/1.1 GET : templates.test3.shoppaas.co/search?keywords=sample
- 运行时间 : 0.251644s [ 吞吐率:3.97req/s ] 内存消耗:7,905.84kb 文件加载:317
- 查询信息 : [耗时:0.062795s/0.251644 24.95% ] 39 queries ,7 writes
- 缓存信息 : 16 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=lrgs8q3dd6muoit5chvd4s07du
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000267s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'search',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'templates.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.209',
'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' => 'templates.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.005664s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000034s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000070s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1687225273024:',
'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.016642s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002316s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002275s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002302s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002380s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002255s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002271s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001143s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001032s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001048s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002262s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000042s ]
- 1/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.016642s ] [0.016642s/0.042249s=39.39%]
- 2/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005664s ] [0.005664s/0.042249s=13.41%]
- 3/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002380s ] [0.002380s/0.042249s=5.63%]
- 4/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002316s ] [0.002316s/0.042249s=5.48%]
- 5/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002302s ] [0.002302s/0.042249s=5.45%]
- 6/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002275s ] [0.002275s/0.042249s=5.38%]
- 7/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002271s ] [0.002271s/0.042249s=5.38%]
- 8/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002262s ] [0.002262s/0.042249s=5.35%]
- 9/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002255s ] [0.002255s/0.042249s=5.34%]
- 10/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001143s ] [0.001143s/0.042249s=2.71%]
- 11/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001048s ] [0.001048s/0.042249s=2.48%]
- 12/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001032s ] [0.001032s/0.042249s=2.44%]
- 13/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000267s ] [0.000267s/0.042249s=0.63%]
- 14/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000070s ] [0.000070s/0.042249s=0.17%]
- 15/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000058s ] [0.000058s/0.042249s=0.14%]
- 16/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.042249s=0.13%]
- 17/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.042249s=0.12%]
- 18/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000042s ] [0.000042s/0.042249s=0.10%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.042249s=0.09%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000034s ] [0.000034s/0.042249s=0.08%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ] [0.000034s/0.042249s=0.08%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.042249s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.002204s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1687225273024;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001201s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001248s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001057s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001141s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001240s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001138s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001054s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001148s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001100s ]
- [ SQL ] SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [ RunTime:0.000963s ]
- [ 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.001027s ]
- [ 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.000738s ]
- [ 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 < 1776026000 and b.endtime > 1776026000 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.001523s ]
- [ 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 < 1776026000 and b.endtime > 1776026000 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.001466s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (52,51,50) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001016s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (52,51,50) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001081s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1776026000 > starttime && 1776026000 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000964s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000943s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000846s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000802s ]
- [ 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 < 1776026000 and b.endtime > 1776026000 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.001610s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (52,51,50) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000999s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (52,51,50) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001050s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000820s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.000960s ]
- [ SQL ] SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [ RunTime:0.002934s ]
- [ 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.000747s ]
- [ 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 < 1776026000 and b.endtime > 1776026000 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.001332s ]
- [ 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 < 1776026000 and b.endtime > 1776026000 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.001637s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (52,51,50) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000966s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (52,51,50) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ 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.000833s ]
- [ 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.001118s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000886s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/7f62d9b3ee1c57b2235c70b009875e15.png' LIMIT 1 [ RunTime:0.010397s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/d8fa9854bca089ea0cc63eab88c02c6c.jpg' LIMIT 1 [ RunTime:0.001140s ]
- [ 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` <= 1776026000
AND pcm.`ends_at` >= 1776026000
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001330s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/89e85f2f95db90a752ffc1e2a6c62de3.png' LIMIT 1 [ RunTime:0.001146s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/a46331e0241640b4e0058465534baa36.jpg' LIMIT 1 [ RunTime:0.001072s ]
- [ 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` <= 1776026000
AND pcm.`ends_at` >= 1776026000
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001101s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/1644cc6acb0d6b882d757f4c4f153643.png' LIMIT 1 [ RunTime:0.001048s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/47ca761f59e0d578e133d0387cbbb0cb.jpg' LIMIT 1 [ RunTime:0.001089s ]
- [ 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` <= 1776026000
AND pcm.`ends_at` >= 1776026000
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001072s ]
- 1/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/7f62d9b3ee1c57b2235c70b009875e15.png' LIMIT 1 [0.010397s/0.062795s=16.56%]
- 2/47 . SELECT `id`,`title`,`content`,`createtime`,`path`,2 as type FROM `blog_pages` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [0.002934s/0.062795s=4.67%]
- 3/47 . CONNECT:[ UseTime:0.002204s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1687225273024;charset=utf8mb4 [0.002204s/0.062795s=3.51%]
- 4/47 . 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 < 1776026000 and b.endtime > 1776026000 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.001637s/0.062795s=2.61%]
- 5/47 . 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 < 1776026000 and b.endtime > 1776026000 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.001610s/0.062795s=2.56%]
- 6/47 . 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 < 1776026000 and b.endtime > 1776026000 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.001523s/0.062795s=2.43%]
- 7/47 . 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 < 1776026000 and b.endtime > 1776026000 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.001466s/0.062795s=2.33%]
- 8/47 . 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 < 1776026000 and b.endtime > 1776026000 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.001332s/0.062795s=2.12%]
- 9/47 . 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` <= 1776026000
AND pcm.`ends_at` >= 1776026000
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001330s/0.062795s=2.12%]
- 10/47 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001248s/0.062795s=1.99%]
- 11/47 . set time_zone = '+08:00' [0.001240s/0.062795s=1.97%]
- 12/47 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001201s/0.062795s=1.91%]
- 13/47 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001148s/0.062795s=1.83%]
- 14/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/89e85f2f95db90a752ffc1e2a6c62de3.png' LIMIT 1 [0.001146s/0.062795s=1.82%]
- 15/47 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001141s/0.062795s=1.82%]
- 16/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/d8fa9854bca089ea0cc63eab88c02c6c.jpg' LIMIT 1 [0.001140s/0.062795s=1.82%]
- 17/47 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001138s/0.062795s=1.81%]
- 18/47 . 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.001118s/0.062795s=1.78%]
- 19/47 . 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` <= 1776026000
AND pcm.`ends_at` >= 1776026000
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001101s/0.062795s=1.75%]
- 20/47 . SELECT COUNT(*) AS tp_count FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 1 [0.001100s/0.062795s=1.75%]
- 21/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/47ca761f59e0d578e133d0387cbbb0cb.jpg' LIMIT 1 [0.001089s/0.062795s=1.73%]
- 22/47 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (52,51,50) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001081s/0.062795s=1.72%]
- 23/47 . 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` <= 1776026000
AND pcm.`ends_at` >= 1776026000
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001072s/0.062795s=1.71%]
- 24/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/a46331e0241640b4e0058465534baa36.jpg' LIMIT 1 [0.001072s/0.062795s=1.71%]
- 25/47 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001057s/0.062795s=1.68%]
- 26/47 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001054s/0.062795s=1.68%]
- 27/47 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (52,51,50) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001050s/0.062795s=1.67%]
- 28/47 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/1394d7837ba8a7b1/1644cc6acb0d6b882d757f4c4f153643.png' LIMIT 1 [0.001048s/0.062795s=1.67%]
- 29/47 . 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.001027s/0.062795s=1.64%]
- 30/47 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (52,51,50) ) AND `discuss`.`deletetime` IS NULL [0.001016s/0.062795s=1.62%]
- 31/47 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (52,51,50) ) AND `discuss`.`deletetime` IS NULL [0.000999s/0.062795s=1.59%]
- 32/47 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000998s/0.062795s=1.59%]
- 33/47 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (52,51,50) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000976s/0.062795s=1.55%]
- 34/47 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (52,51,50) ) AND `discuss`.`deletetime` IS NULL [0.000966s/0.062795s=1.54%]
- 35/47 . SELECT * FROM `activity` WHERE ( ( 1776026000 > starttime && 1776026000 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000964s/0.062795s=1.54%]
- 36/47 . SELECT * FROM `blog_archives` WHERE ( `status` = 'normal' ) AND `blog_archives`.`deletetime` IS NULL LIMIT 0,10 [0.000963s/0.062795s=1.53%]
- 37/47 . SELECT `id`,`title`,`content`,`createtime`,`path`,1 as type FROM `blog_archives` WHERE `title` LIKE '%sample%' AND `status` = 'normal' LIMIT 50 [0.000960s/0.062795s=1.53%]
- 38/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000943s/0.062795s=1.50%]
- 39/47 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000886s/0.062795s=1.41%]
- 40/47 . SELECT @@session.sql_mode [0.000846s/0.062795s=1.35%]
- 41/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000833s/0.062795s=1.33%]
- 42/47 . SELECT @@session.sql_mode [0.000821s/0.062795s=1.31%]
- 43/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000820s/0.062795s=1.31%]
- 44/47 . SELECT @@session.sql_mode [0.000813s/0.062795s=1.29%]
- 45/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000802s/0.062795s=1.28%]
- 46/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000747s/0.062795s=1.19%]
- 47/47 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000738s/0.062795s=1.18%]
- 1/6. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [6 times, 0.004883s/0.062795s=7.78%]
- 2/6. 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` <= 1776026000
AND pcm.`ends_at` >= 1776026000
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [3 times, 0.003503s/0.062795s=5.58%]
- 3/6. SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (52,51,50) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [3 times, 0.003107s/0.062795s=4.95%]
- 4/6. SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (52,51,50) ) AND `discuss`.`deletetime` IS NULL [3 times, 0.002981s/0.062795s=4.75%]
- 5/6. SELECT @@session.sql_mode [3 times, 0.00248s/0.062795s=3.95%]
- 6/6. 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 < 1776026000 and b.endtime > 1776026000 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.002855s/0.062795s=4.55%]