基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-07-01 12:49:35 HTTP/1.1 GET : ellademo.saascdn.co/category.html
- 运行时间 : 0.225937s [ 吞吐率:4.43req/s ] 内存消耗:22,156.55kb 文件加载:329
- 查询信息 : [耗时:0.078818s/0.225937 34.88% ] 51 queries ,1 writes
- 缓存信息 : 25 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=bda479ukjjlndd8vv2uh4jnkob
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000242s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000067s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'category',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'ellademo.saascdn.co',
'x-forwarded-for' => '216.73.216.233',
'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' => 'ellademo.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002814s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000053s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000064s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1716192756317:',
'type' => 'redis',
'host' => 'test-redis-7.rj9kwp.ng.0001.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Category->index[ /wwwroot/application/index/controller/Category.php ]
- [ VIEW ] /wwwroot/template/ella/template/category_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 => 'categoryList',
40 => 'categorySelected',
41 => 'seotitle',
42 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000098s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000853s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000930s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000725s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000694s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000650s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000908s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001099s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000736s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001058s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000553s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000087s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000752s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000042s ]
- 1/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002814s ] [0.002814s/0.01258s=22.37%]
- 2/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001099s ] [0.001099s/0.01258s=8.74%]
- 3/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001058s ] [0.001058s/0.01258s=8.41%]
- 4/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000930s ] [0.000930s/0.01258s=7.39%]
- 5/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000908s ] [0.000908s/0.01258s=7.22%]
- 6/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000853s ] [0.000853s/0.01258s=6.78%]
- 7/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000752s ] [0.000752s/0.01258s=5.98%]
- 8/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000736s ] [0.000736s/0.01258s=5.85%]
- 9/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000725s ] [0.000725s/0.01258s=5.76%]
- 10/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000694s ] [0.000694s/0.01258s=5.52%]
- 11/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000650s ] [0.000650s/0.01258s=5.17%]
- 12/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000553s ] [0.000553s/0.01258s=4.40%]
- 13/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000242s ] [0.000242s/0.01258s=1.92%]
- 14/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000098s ] [0.000098s/0.01258s=0.78%]
- 15/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000087s ] [0.000087s/0.01258s=0.69%]
- 16/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000067s ] [0.000067s/0.01258s=0.53%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000064s ] [0.000064s/0.01258s=0.51%]
- 18/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000058s ] [0.000058s/0.01258s=0.46%]
- 19/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.01258s=0.42%]
- 20/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000053s ] [0.000053s/0.01258s=0.42%]
- 21/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000042s ] [0.000042s/0.01258s=0.33%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ] [0.000032s/0.01258s=0.25%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.01258s=0.10%]
- [ DB ] CONNECT:[ UseTime:0.003788s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1716192756317;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001838s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.002369s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.002209s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001959s ]
- [ SQL ] SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001944s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000877s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000916s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000807s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000806s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000923s ]
- [ SQL ] SELECT * FROM `category` [ RunTime:0.002141s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.003084s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000905s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000875s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000878s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000866s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000849s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000891s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000807s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000933s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [ RunTime:0.003230s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000981s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000944s ]
- [ 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.001090s ]
- [ SQL ] SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.001083s ]
- [ 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1782881376 and b.endtime > 1782881376 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `status` = 'up' AND ( find_in_set(3, category_ids) OR find_in_set(3, category_ids) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc [ RunTime:0.005230s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE `id` IN (19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) AND `status` = 'up' AND ( deletetime is null ) LIMIT 1 [ RunTime:0.002248s ]
- [ SQL ] SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.000908s ]
- [ SQL ] SELECT p.*,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1782881376 and b.endtime > 1782881376 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` = 'up' AND `p`.`deletetime` IS NULL AND `p`.`id` IN ('19','18','17','16','15','14','13','12') ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc [ RunTime:0.002150s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,17,16,15,14,13,12) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001911s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,17,16,15,14,13,12) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002294s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1782881376 > starttime && 1782881376 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000961s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.002015s ]
- [ 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.000980s ]
- [ 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.000980s ]
- [ 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.000848s ]
- [ 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` <= 1782881376
AND pcm.`ends_at` >= 1782881376
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002189s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,16) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001052s ]
- [ SQL ] SELECT `a`.`id`,`a`.`json` FROM `marketing_product_combination` `a` INNER JOIN `marketing_activity_product_combination` `b` ON `a`.`id`=b.product_combination_id and b.product_id = 19 WHERE `a`.`starts_at` <= 1782881376 AND `a`.`ends_at` >= 1782881376 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.002651s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,2,3,4) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001088s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,2,3,4) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,1,2,3,4) LIMIT 0,24 [ RunTime:0.001254s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,2,3,4) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000938s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (1,2,3,4) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001041s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001899s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001825s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `status` = 'up' AND ( find_in_set(3, category_ids) OR find_in_set(3, category_ids) ) ) AND `product`.`deletetime` IS NULL ORDER BY `weigh` DESC [ RunTime:0.001037s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,18,17) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000858s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,18,17) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,1,18,17) LIMIT 0,24 [ RunTime:0.001087s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,18,17) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000901s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (1,18,17) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000942s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000816s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000722s ]
- 1/53 . 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1782881376 and b.endtime > 1782881376 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `status` = 'up' AND ( find_in_set(3, category_ids) OR find_in_set(3, category_ids) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc [0.005230s/0.078818s=6.64%]
- 2/53 . CONNECT:[ UseTime:0.003788s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1716192756317;charset=utf8mb4 [0.003788s/0.078818s=4.81%]
- 3/53 . SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [0.003230s/0.078818s=4.10%]
- 4/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.003084s/0.078818s=3.91%]
- 5/53 . SELECT `a`.`id`,`a`.`json` FROM `marketing_product_combination` `a` INNER JOIN `marketing_activity_product_combination` `b` ON `a`.`id`=b.product_combination_id and b.product_id = 19 WHERE `a`.`starts_at` <= 1782881376 AND `a`.`ends_at` >= 1782881376 AND `a`.`status` = 'enable' LIMIT 1 [0.002651s/0.078818s=3.36%]
- 6/53 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.002369s/0.078818s=3.01%]
- 7/53 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,17,16,15,14,13,12) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002294s/0.078818s=2.91%]
- 8/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE `id` IN (19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) AND `status` = 'up' AND ( deletetime is null ) LIMIT 1 [0.002248s/0.078818s=2.85%]
- 9/53 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.002209s/0.078818s=2.80%]
- 10/53 . 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` <= 1782881376
AND pcm.`ends_at` >= 1782881376
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002189s/0.078818s=2.78%]
- 11/53 . SELECT p.*,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 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 < 1782881376 and b.endtime > 1782881376 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` = 'up' AND `p`.`deletetime` IS NULL AND `p`.`id` IN ('19','18','17','16','15','14','13','12') ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc [0.002150s/0.078818s=2.73%]
- 12/53 . SELECT * FROM `category` [0.002141s/0.078818s=2.72%]
- 13/53 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.002015s/0.078818s=2.56%]
- 14/53 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001959s/0.078818s=2.49%]
- 15/53 . SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001944s/0.078818s=2.47%]
- 16/53 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,17,16,15,14,13,12) ) AND `discuss`.`deletetime` IS NULL [0.001911s/0.078818s=2.42%]
- 17/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001899s/0.078818s=2.41%]
- 18/53 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001838s/0.078818s=2.33%]
- 19/53 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001825s/0.078818s=2.32%]
- 20/53 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,2,3,4) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,1,2,3,4) LIMIT 0,24 [0.001254s/0.078818s=1.59%]
- 21/53 . 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.001090s/0.078818s=1.38%]
- 22/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,2,3,4) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001088s/0.078818s=1.38%]
- 23/53 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,18,17) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,1,18,17) LIMIT 0,24 [0.001087s/0.078818s=1.38%]
- 24/53 . SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [0.001083s/0.078818s=1.37%]
- 25/53 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,16) ) AND `product_sku_price`.`deletetime` IS NULL [0.001052s/0.078818s=1.33%]
- 26/53 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (1,2,3,4) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001041s/0.078818s=1.32%]
- 27/53 . SELECT `id` FROM `product` WHERE ( `status` = 'up' AND ( find_in_set(3, category_ids) OR find_in_set(3, category_ids) ) ) AND `product`.`deletetime` IS NULL ORDER BY `weigh` DESC [0.001037s/0.078818s=1.32%]
- 28/53 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000981s/0.078818s=1.24%]
- 29/53 . 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.000980s/0.078818s=1.24%]
- 30/53 . 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.000980s/0.078818s=1.24%]
- 31/53 . SELECT * FROM `activity` WHERE ( ( 1782881376 > starttime && 1782881376 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000961s/0.078818s=1.22%]
- 32/53 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000944s/0.078818s=1.20%]
- 33/53 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (1,18,17) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000942s/0.078818s=1.20%]
- 34/53 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,2,3,4) ) AND `discuss`.`deletetime` IS NULL [0.000938s/0.078818s=1.19%]
- 35/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000933s/0.078818s=1.18%]
- 36/53 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000923s/0.078818s=1.17%]
- 37/53 . set time_zone = '+08:00' [0.000916s/0.078818s=1.16%]
- 38/53 . SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [0.000908s/0.078818s=1.15%]
- 39/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000905s/0.078818s=1.15%]
- 40/53 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,18,17) ) AND `discuss`.`deletetime` IS NULL [0.000901s/0.078818s=1.14%]
- 41/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000891s/0.078818s=1.13%]
- 42/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000878s/0.078818s=1.11%]
- 43/53 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000877s/0.078818s=1.11%]
- 44/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000875s/0.078818s=1.11%]
- 45/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000866s/0.078818s=1.10%]
- 46/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (1,18,17) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000858s/0.078818s=1.09%]
- 47/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000849s/0.078818s=1.08%]
- 48/53 . 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.000848s/0.078818s=1.08%]
- 49/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000816s/0.078818s=1.04%]
- 50/53 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000807s/0.078818s=1.02%]
- 51/53 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000807s/0.078818s=1.02%]
- 52/53 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000806s/0.078818s=1.02%]
- 53/53 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000722s/0.078818s=0.92%]
- 1/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 [4 times, 0.003898s/0.078818s=4.95%]
- 2/4. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [2 times, 0.002547s/0.078818s=3.23%]
- 3/4. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [2 times, 0.002715s/0.078818s=3.44%]
- 4/4. SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [2 times, 0.001991s/0.078818s=2.53%]