基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-07-01 12:49:36 HTTP/1.1 GET : ellademo.saascdn.co/category
- 运行时间 : 0.183010s [ 吞吐率:5.46req/s ] 内存消耗:22,151.30kb 文件加载:326
- 查询信息 : [耗时:0.058447s/0.183010 31.94% ] 48 queries ,1 writes
- 缓存信息 : 25 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=bda479ukjjlndd8vv2uh4jnkob
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ 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.000040s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ]
- [ 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',
'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%3A1702968337%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D; PHPSESSID=bda479ukjjlndd8vv2uh4jnkob; 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' => '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.002676s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ]
- [ 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.000101s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000805s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000912s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000795s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000704s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000635s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000647s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001261s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000706s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001171s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000529s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000706s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000040s ]
- 1/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002676s ] [0.002676s/0.012265s=21.82%]
- 2/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001261s ] [0.001261s/0.012265s=10.28%]
- 3/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001171s ] [0.001171s/0.012265s=9.55%]
- 4/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000912s ] [0.000912s/0.012265s=7.44%]
- 5/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000805s ] [0.000805s/0.012265s=6.56%]
- 6/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000795s ] [0.000795s/0.012265s=6.48%]
- 7/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000706s ] [0.000706s/0.012265s=5.76%]
- 8/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000706s ] [0.000706s/0.012265s=5.76%]
- 9/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000704s ] [0.000704s/0.012265s=5.74%]
- 10/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000647s ] [0.000647s/0.012265s=5.28%]
- 11/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000635s ] [0.000635s/0.012265s=5.18%]
- 12/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000529s ] [0.000529s/0.012265s=4.31%]
- 13/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000253s ] [0.000253s/0.012265s=2.06%]
- 14/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000101s ] [0.000101s/0.012265s=0.82%]
- 15/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000064s ] [0.000064s/0.012265s=0.52%]
- 16/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ] [0.000052s/0.012265s=0.42%]
- 17/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.012265s=0.40%]
- 18/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000047s ] [0.000047s/0.012265s=0.38%]
- 19/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ] [0.000040s/0.012265s=0.33%]
- 20/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000040s ] [0.000040s/0.012265s=0.33%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ] [0.000033s/0.012265s=0.27%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.012265s=0.23%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.012265s=0.09%]
- [ DB ] CONNECT:[ UseTime:0.002112s ] 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.000954s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001119s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000913s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000843s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000836s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000785s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000974s ]
- [ SQL ] SELECT * FROM `category` [ RunTime:0.000993s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001004s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000904s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000867s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000942s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000883s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000850s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000924s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000873s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [ RunTime:0.003112s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001155s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001061s ]
- [ 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.001050s ]
- [ SQL ] SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.001329s ]
- [ 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.002491s ]
- [ 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.001055s ]
- [ SQL ] SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.001039s ]
- [ 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.002501s ]
- [ 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.001046s ]
- [ 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.001264s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1782881376 > starttime && 1782881376 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000918s ]
- [ 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.001039s ]
- [ 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.000985s ]
- [ 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.001095s ]
- [ 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.001087s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,16) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001275s ]
- [ 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.001030s ]
- [ 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.001339s ]
- [ 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.001304s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,2,3,4) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001110s ]
- [ 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.001446s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000881s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001043s ]
- [ 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.001009s ]
- [ 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.001095s ]
- [ 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.001225s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,18,17) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001244s ]
- [ 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.001401s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001247s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000877s ]
- 1/50 . SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [0.003112s/0.058447s=5.32%]
- 2/50 . 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.002501s/0.058447s=4.28%]
- 3/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 `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.002491s/0.058447s=4.26%]
- 4/50 . CONNECT:[ UseTime:0.002112s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1716192756317;charset=utf8mb4 [0.002112s/0.058447s=3.61%]
- 5/50 . 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.001446s/0.058447s=2.47%]
- 6/50 . 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.001401s/0.058447s=2.40%]
- 7/50 . 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.001339s/0.058447s=2.29%]
- 8/50 . SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [0.001329s/0.058447s=2.27%]
- 9/50 . 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.001304s/0.058447s=2.23%]
- 10/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,16) ) AND `product_sku_price`.`deletetime` IS NULL [0.001275s/0.058447s=2.18%]
- 11/50 . 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.001264s/0.058447s=2.16%]
- 12/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001247s/0.058447s=2.13%]
- 13/50 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,18,17) ) AND `discuss`.`deletetime` IS NULL [0.001244s/0.058447s=2.13%]
- 14/50 . 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.001225s/0.058447s=2.10%]
- 15/50 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001155s/0.058447s=1.98%]
- 16/50 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001119s/0.058447s=1.91%]
- 17/50 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,2,3,4) ) AND `discuss`.`deletetime` IS NULL [0.001110s/0.058447s=1.90%]
- 18/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.001095s/0.058447s=1.87%]
- 19/50 . 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.001095s/0.058447s=1.87%]
- 20/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` <= 1782881376
AND pcm.`ends_at` >= 1782881376
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001087s/0.058447s=1.86%]
- 21/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001061s/0.058447s=1.82%]
- 22/50 . 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.001055s/0.058447s=1.81%]
- 23/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.001050s/0.058447s=1.80%]
- 24/50 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,17,16,15,14,13,12) ) AND `discuss`.`deletetime` IS NULL [0.001046s/0.058447s=1.79%]
- 25/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001043s/0.058447s=1.78%]
- 26/50 . SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [0.001039s/0.058447s=1.78%]
- 27/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.001039s/0.058447s=1.78%]
- 28/50 . 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.001030s/0.058447s=1.76%]
- 29/50 . 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.001009s/0.058447s=1.73%]
- 30/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001004s/0.058447s=1.72%]
- 31/50 . SELECT * FROM `category` [0.000993s/0.058447s=1.70%]
- 32/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.000985s/0.058447s=1.69%]
- 33/50 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000974s/0.058447s=1.67%]
- 34/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000964s/0.058447s=1.65%]
- 35/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000954s/0.058447s=1.63%]
- 36/50 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000954s/0.058447s=1.63%]
- 37/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000942s/0.058447s=1.61%]
- 38/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000924s/0.058447s=1.58%]
- 39/50 . SELECT * FROM `activity` WHERE ( ( 1782881376 > starttime && 1782881376 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000918s/0.058447s=1.57%]
- 40/50 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000913s/0.058447s=1.56%]
- 41/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000904s/0.058447s=1.55%]
- 42/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000883s/0.058447s=1.51%]
- 43/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000881s/0.058447s=1.51%]
- 44/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000877s/0.058447s=1.50%]
- 45/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000873s/0.058447s=1.49%]
- 46/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000867s/0.058447s=1.48%]
- 47/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000850s/0.058447s=1.45%]
- 48/50 . set time_zone = '+08:00' [0.000843s/0.058447s=1.44%]
- 49/50 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000836s/0.058447s=1.43%]
- 50/50 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000785s/0.058447s=1.34%]
- 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.004169s/0.058447s=7.13%]
- 2/4. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [2 times, 0.00192s/0.058447s=3.29%]
- 3/4. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [2 times, 0.002128s/0.058447s=3.64%]
- 4/4. SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [2 times, 0.002368s/0.058447s=4.05%]