基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-06 02:02:56 HTTP/1.1 GET : cypod003.test3.shoppaas.co/category/default?page=1
- 运行时间 : 0.417976s [ 吞吐率:2.39req/s ] 内存消耗:3,000.36kb 文件加载:318
- 查询信息 : [耗时:0.069482s/0.417976 16.62% ] 48 queries ,4 writes
- 缓存信息 : 12 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=883fd1ovoa18gdrvhq81e9sfr2
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000385s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000059s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'cypod003.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.132',
'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' => 'cypod003.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '1',
'path' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005499s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000060s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000115s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1727401534717:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/template/product_lists.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 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'category',
39 => 'filters',
40 => 'price',
41 => 'oldprice',
42 => 'oldsku',
43 => 'oldsupplier',
44 => 'productList',
45 => 'appends',
46 => 'product_review',
47 => 'empty',
48 => 'view',
49 => 'order',
50 => 'limit',
51 => 'seotitle',
52 => 'seokeywords',
53 => 'seodescription',
54 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002808s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.188276s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002068s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003680s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002157s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001756s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001773s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001131s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001113s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001039s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001848s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001747s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001059s ]
- 1/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.188276s ] [0.188276s/0.216778s=86.85%]
- 2/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005499s ] [0.005499s/0.216778s=2.54%]
- 3/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003680s ] [0.003680s/0.216778s=1.70%]
- 4/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002808s ] [0.002808s/0.216778s=1.30%]
- 5/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002157s ] [0.002157s/0.216778s=1.00%]
- 6/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002068s ] [0.002068s/0.216778s=0.95%]
- 7/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001848s ] [0.001848s/0.216778s=0.85%]
- 8/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001773s ] [0.001773s/0.216778s=0.82%]
- 9/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001756s ] [0.001756s/0.216778s=0.81%]
- 10/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001747s ] [0.001747s/0.216778s=0.81%]
- 11/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001131s ] [0.001131s/0.216778s=0.52%]
- 12/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001113s ] [0.001113s/0.216778s=0.51%]
- 13/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001059s ] [0.001059s/0.216778s=0.49%]
- 14/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001039s ] [0.001039s/0.216778s=0.48%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000385s ] [0.000385s/0.216778s=0.18%]
- 16/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000115s ] [0.000115s/0.216778s=0.05%]
- 17/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000090s ] [0.000090s/0.216778s=0.04%]
- 18/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ] [0.000072s/0.216778s=0.03%]
- 19/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000060s ] [0.000060s/0.216778s=0.03%]
- 20/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000059s ] [0.000059s/0.216778s=0.03%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000028s ] [0.000028s/0.216778s=0.01%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.216778s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002179s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1727401534717;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002262s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001145s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003430s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001220s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001098s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000922s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001087s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001048s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000877s ]
- [ 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 < 1775412176 and b.endtime > 1775412176 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002444s ]
- [ SQL ] select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (100,99,98,97,86,85,83,82,81,79,78,77,72,64,63,62,58,57,55,51,50,48,47,46,45,44,43,42,41,40,39,38,37,35,32,30,29,27,26,23,22,21,17,15,9,7,6) group by binary(p.name), binary(p1.name); [ RunTime:0.003484s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000852s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000770s ]
- [ 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 < 1775412176 and b.endtime > 1775412176 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001794s ]
- [ 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 < 1775412176 and b.endtime > 1775412176 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.002220s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (100,99,98,97,86,85,83,82,81,79,78,77) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001322s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (100,99,98,97,86,85,83,82,81,79,78,77) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001557s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775412176 > starttime && 1775412176 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001873s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001459s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001191s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000946s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000934s ]
- [ SQL ] select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 2
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001344s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001003s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000960s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001016s ]
- [ 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.001129s ]
- [ 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.001285s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [ RunTime:0.001024s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/734ec355ddc374870fa9eec0b1d1e582.jpg' LIMIT 1 [ RunTime:0.001398s ]
- [ 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.001086s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [ RunTime:0.000931s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [ RunTime:0.000920s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [ RunTime:0.001252s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [ RunTime:0.001228s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [ RunTime:0.000975s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [ RunTime:0.001130s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [ RunTime:0.001161s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [ RunTime:0.001241s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/d9aa870090d45baac4e51ade3a1f4a5f.png' LIMIT 1 [ RunTime:0.001162s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [ RunTime:0.001105s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [ RunTime:0.001039s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390101456.jpg' LIMIT 1 [ RunTime:0.001158s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390100304.jpg' LIMIT 1 [ RunTime:0.001073s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390073101.jpg' LIMIT 1 [ RunTime:0.001009s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390071891.jpg' LIMIT 1 [ RunTime:0.001204s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390070677.jpg' LIMIT 1 [ RunTime:0.001085s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390043412.jpg' LIMIT 1 [ RunTime:0.001278s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390041455.jpg' LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390040720.jpg' LIMIT 1 [ RunTime:0.001085s ]
- 1/53 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (100,99,98,97,86,85,83,82,81,79,78,77,72,64,63,62,58,57,55,51,50,48,47,46,45,44,43,42,41,40,39,38,37,35,32,30,29,27,26,23,22,21,17,15,9,7,6) group by binary(p.name), binary(p1.name); [0.003484s/0.069482s=5.01%]
- 2/53 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.003430s/0.069482s=4.94%]
- 3/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 (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 < 1775412176 and b.endtime > 1775412176 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002444s/0.069482s=3.52%]
- 4/53 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.002262s/0.069482s=3.26%]
- 5/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 (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 < 1775412176 and b.endtime > 1775412176 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.002220s/0.069482s=3.20%]
- 6/53 . CONNECT:[ UseTime:0.002179s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1727401534717;charset=utf8mb4 [0.002179s/0.069482s=3.14%]
- 7/53 . SELECT * FROM `activity` WHERE ( ( 1775412176 > starttime && 1775412176 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001873s/0.069482s=2.70%]
- 8/53 . 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 < 1775412176 and b.endtime > 1775412176 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001794s/0.069482s=2.58%]
- 9/53 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (100,99,98,97,86,85,83,82,81,79,78,77) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001557s/0.069482s=2.24%]
- 10/53 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001459s/0.069482s=2.10%]
- 11/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/734ec355ddc374870fa9eec0b1d1e582.jpg' LIMIT 1 [0.001398s/0.069482s=2.01%]
- 12/53 . select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 2
and p.status = "up" and p.deletetime is null limit 40 [0.001344s/0.069482s=1.93%]
- 13/53 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (100,99,98,97,86,85,83,82,81,79,78,77) ) AND `discuss`.`deletetime` IS NULL [0.001322s/0.069482s=1.90%]
- 14/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.001285s/0.069482s=1.85%]
- 15/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390043412.jpg' LIMIT 1 [0.001278s/0.069482s=1.84%]
- 16/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [0.001252s/0.069482s=1.80%]
- 17/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [0.001241s/0.069482s=1.79%]
- 18/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [0.001228s/0.069482s=1.77%]
- 19/53 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001220s/0.069482s=1.76%]
- 20/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390071891.jpg' LIMIT 1 [0.001204s/0.069482s=1.73%]
- 21/53 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001191s/0.069482s=1.71%]
- 22/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/d9aa870090d45baac4e51ade3a1f4a5f.png' LIMIT 1 [0.001162s/0.069482s=1.67%]
- 23/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [0.001161s/0.069482s=1.67%]
- 24/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390101456.jpg' LIMIT 1 [0.001158s/0.069482s=1.67%]
- 25/53 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001145s/0.069482s=1.65%]
- 26/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [0.001130s/0.069482s=1.63%]
- 27/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.001129s/0.069482s=1.62%]
- 28/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [0.001105s/0.069482s=1.59%]
- 29/53 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001098s/0.069482s=1.58%]
- 30/53 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001087s/0.069482s=1.56%]
- 31/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.001086s/0.069482s=1.56%]
- 32/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390040720.jpg' LIMIT 1 [0.001085s/0.069482s=1.56%]
- 33/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390070677.jpg' LIMIT 1 [0.001085s/0.069482s=1.56%]
- 34/53 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001074s/0.069482s=1.55%]
- 35/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390100304.jpg' LIMIT 1 [0.001073s/0.069482s=1.54%]
- 36/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390041455.jpg' LIMIT 1 [0.001049s/0.069482s=1.51%]
- 37/53 . SELECT @@session.sql_mode [0.001048s/0.069482s=1.51%]
- 38/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [0.001039s/0.069482s=1.50%]
- 39/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [0.001024s/0.069482s=1.47%]
- 40/53 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001016s/0.069482s=1.46%]
- 41/53 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/42098e0b1299f3a8/1752390073101.jpg' LIMIT 1 [0.001009s/0.069482s=1.45%]
- 42/53 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001003s/0.069482s=1.44%]
- 43/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [0.000975s/0.069482s=1.40%]
- 44/53 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000964s/0.069482s=1.39%]
- 45/53 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000960s/0.069482s=1.38%]
- 46/53 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000946s/0.069482s=1.36%]
- 47/53 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000934s/0.069482s=1.34%]
- 48/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [0.000931s/0.069482s=1.34%]
- 49/53 . set time_zone = '+08:00' [0.000922s/0.069482s=1.33%]
- 50/53 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [0.000920s/0.069482s=1.32%]
- 51/53 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000877s/0.069482s=1.26%]
- 52/53 . SELECT @@session.sql_mode [0.000852s/0.069482s=1.23%]
- 53/53 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000770s/0.069482s=1.11%]
- 1/6. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [3 times, 0.003385s/0.069482s=4.87%]
- 2/6. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [3 times, 0.003357s/0.069482s=4.83%]
- 3/6. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [3 times, 0.002875s/0.069482s=4.14%]
- 4/6. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.0035s/0.069482s=5.04%]
- 5/6. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002838s/0.069482s=4.08%]
- 6/6. SELECT @@session.sql_mode [2 times, 0.0019s/0.069482s=2.73%]
- Facebook track: Use:18.005895614624ms