基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-10-09 04:16:03 HTTP/1.1 GET : ellademo.saascdn.co/category.html
- 运行时间 : 0.277831s [ 吞吐率:3.60req/s ] 内存消耗:22,151.41kb 文件加载:326
- 查询信息 : [耗时:0.129684s/0.277831 46.68% ] 48 queries ,1 writes
- 缓存信息 : 25 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=q7u8sdajqssle7l2795d4k25h1
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000268s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000048s ]
- [ 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.223',
'via' => '2.0 Caddy',
'cookie' => 'PHPSESSID=q7u8sdajqssle7l2795d4k25h1; 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; 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.002400s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ]
- [ 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.000084s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000914s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001047s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000837s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000783s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000747s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000773s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.007225s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000931s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.003625s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000558s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000838s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000041s ]
- 1/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.007225s ] [0.007225s/0.021392s=33.77%]
- 2/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.003625s ] [0.003625s/0.021392s=16.95%]
- 3/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002400s ] [0.002400s/0.021392s=11.22%]
- 4/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001047s ] [0.001047s/0.021392s=4.89%]
- 5/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000931s ] [0.000931s/0.021392s=4.35%]
- 6/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.000914s ] [0.000914s/0.021392s=4.27%]
- 7/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000838s ] [0.000838s/0.021392s=3.92%]
- 8/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000837s ] [0.000837s/0.021392s=3.91%]
- 9/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000783s ] [0.000783s/0.021392s=3.66%]
- 10/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000773s ] [0.000773s/0.021392s=3.61%]
- 11/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000747s ] [0.000747s/0.021392s=3.49%]
- 12/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000558s ] [0.000558s/0.021392s=2.61%]
- 13/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000268s ] [0.000268s/0.021392s=1.25%]
- 14/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.000084s ] [0.000084s/0.021392s=0.39%]
- 15/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ] [0.000065s/0.021392s=0.30%]
- 16/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ] [0.000052s/0.021392s=0.24%]
- 17/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000048s ] [0.000048s/0.021392s=0.22%]
- 18/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000048s ] [0.000048s/0.021392s=0.22%]
- 19/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000041s ] [0.000041s/0.021392s=0.19%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.021392s=0.18%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ] [0.000032s/0.021392s=0.15%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.021392s=0.13%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000010s ] [0.000010s/0.021392s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002085s ] 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.001016s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001321s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.002062s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.003151s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000892s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.003172s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.003124s ]
- [ SQL ] SELECT * FROM `category` [ RunTime:0.002917s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001610s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000948s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001035s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000888s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001053s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001612s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002675s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001523s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001657s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [ RunTime:0.012735s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.007117s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.003514s ]
- [ 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.001245s ]
- [ SQL ] SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.001506s ]
- [ 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 < 1791490563 and b.endtime > 1791490563 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.005061s ]
- [ 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.001671s ]
- [ SQL ] SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.001036s ]
- [ 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 < 1791490563 and b.endtime > 1791490563 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.005515s ]
- [ 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.001727s ]
- [ 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.002232s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1791490563 > starttime && 1791490563 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001983s ]
- [ 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.002062s ]
- [ 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.001514s ]
- [ 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.002097s ]
- [ 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` <= 1791490563
AND pcm.`ends_at` >= 1791490563
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002330s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,16) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.002846s ]
- [ 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` <= 1791490563 AND `a`.`ends_at` >= 1791490563 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.004431s ]
- [ 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.002501s ]
- [ 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.004090s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,2,3,4) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001710s ]
- [ 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.007910s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001698s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001563s ]
- [ 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.001399s ]
- [ 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.002630s ]
- [ 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.003590s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,18,17) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001526s ]
- [ 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.002662s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.002268s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001810s ]
- 1/50 . SELECT * FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 0,2000 [0.012735s/0.129684s=9.82%]
- 2/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.007910s/0.129684s=6.10%]
- 3/50 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.007117s/0.129684s=5.49%]
- 4/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 < 1791490563 and b.endtime > 1791490563 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.005515s/0.129684s=4.25%]
- 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 `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 < 1791490563 and b.endtime > 1791490563 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.005061s/0.129684s=3.90%]
- 6/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` <= 1791490563 AND `a`.`ends_at` >= 1791490563 AND `a`.`status` = 'enable' LIMIT 1 [0.004431s/0.129684s=3.42%]
- 7/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.004090s/0.129684s=3.15%]
- 8/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.003590s/0.129684s=2.77%]
- 9/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.003514s/0.129684s=2.71%]
- 10/50 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.003172s/0.129684s=2.45%]
- 11/50 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.003151s/0.129684s=2.43%]
- 12/50 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.003124s/0.129684s=2.41%]
- 13/50 . SELECT * FROM `category` [0.002917s/0.129684s=2.25%]
- 14/50 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (20,19,18,16) ) AND `product_sku_price`.`deletetime` IS NULL [0.002846s/0.129684s=2.19%]
- 15/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('7',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.002675s/0.129684s=2.06%]
- 16/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.002662s/0.129684s=2.05%]
- 17/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.002630s/0.129684s=2.03%]
- 18/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.002501s/0.129684s=1.93%]
- 19/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` <= 1791490563
AND pcm.`ends_at` >= 1791490563
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002330s/0.129684s=1.80%]
- 20/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.002268s/0.129684s=1.75%]
- 21/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.002232s/0.129684s=1.72%]
- 22/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.002097s/0.129684s=1.62%]
- 23/50 . CONNECT:[ UseTime:0.002085s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1716192756317;charset=utf8mb4 [0.002085s/0.129684s=1.61%]
- 24/50 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.002062s/0.129684s=1.59%]
- 25/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.002062s/0.129684s=1.59%]
- 26/50 . SELECT * FROM `activity` WHERE ( ( 1791490563 > starttime && 1791490563 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001983s/0.129684s=1.53%]
- 27/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001810s/0.129684s=1.40%]
- 28/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.001727s/0.129684s=1.33%]
- 29/50 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,2,3,4) ) AND `discuss`.`deletetime` IS NULL [0.001710s/0.129684s=1.32%]
- 30/50 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001698s/0.129684s=1.31%]
- 31/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.001671s/0.129684s=1.29%]
- 32/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001657s/0.129684s=1.28%]
- 33/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('6',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001612s/0.129684s=1.24%]
- 34/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('1',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001610s/0.129684s=1.24%]
- 35/50 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001563s/0.129684s=1.21%]
- 36/50 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1,18,17) ) AND `discuss`.`deletetime` IS NULL [0.001526s/0.129684s=1.18%]
- 37/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('8',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001523s/0.129684s=1.17%]
- 38/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.001514s/0.129684s=1.17%]
- 39/50 . SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [0.001506s/0.129684s=1.16%]
- 40/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.001399s/0.129684s=1.08%]
- 41/50 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001321s/0.129684s=1.02%]
- 42/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.001245s/0.129684s=0.96%]
- 43/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('5',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001053s/0.129684s=0.81%]
- 44/50 . SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [0.001036s/0.129684s=0.80%]
- 45/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('3',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001035s/0.129684s=0.80%]
- 46/50 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001016s/0.129684s=0.78%]
- 47/50 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000964s/0.129684s=0.74%]
- 48/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('2',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000948s/0.129684s=0.73%]
- 49/50 . set time_zone = '+08:00' [0.000892s/0.129684s=0.69%]
- 50/50 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( ( find_in_set('4',category_ids) ) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000888s/0.129684s=0.68%]
- 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.006918s/0.129684s=5.33%]
- 2/4. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [2 times, 0.003373s/0.129684s=2.60%]
- 3/4. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [2 times, 0.003966s/0.129684s=3.06%]
- 4/4. SELECT * FROM `category` WHERE `id` = 3 LIMIT 1 [2 times, 0.002542s/0.129684s=1.96%]