基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-05 22:34:01 HTTP/1.1 GET : cypod003.test3.shoppaas.co/category/diy-33
- 运行时间 : 0.944059s [ 吞吐率:1.06req/s ] 内存消耗:2,806.05kb 文件加载:319
- 查询信息 : [耗时:0.23042s/0.944059 24.41% ] 41 queries ,4 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=jfebc2kgog7t28k1jda5m6j53e
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000454s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ]
- [ 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',
'referer' => 'http://cypod003.test3.shoppaas.co/category/diy-33',
'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 (
'path' => 'diy-33',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006377s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ]
- [ 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.012294s ]
- [ 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.092349s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002534s ]
- [ 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.004309s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002268s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001852s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001887s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001582s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.002962s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001645s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001843s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001776s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001221s ]
- 1/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.092349s ] [0.092349s/0.135741s=68.03%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.012294s ] [0.012294s/0.135741s=9.06%]
- 3/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006377s ] [0.006377s/0.135741s=4.70%]
- 4/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.004309s ] [0.004309s/0.135741s=3.17%]
- 5/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.002962s ] [0.002962s/0.135741s=2.18%]
- 6/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002534s ] [0.002534s/0.135741s=1.87%]
- 7/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002268s ] [0.002268s/0.135741s=1.67%]
- 8/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001887s ] [0.001887s/0.135741s=1.39%]
- 9/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001852s ] [0.001852s/0.135741s=1.36%]
- 10/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001843s ] [0.001843s/0.135741s=1.36%]
- 11/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001776s ] [0.001776s/0.135741s=1.31%]
- 12/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001645s ] [0.001645s/0.135741s=1.21%]
- 13/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001582s ] [0.001582s/0.135741s=1.17%]
- 14/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001221s ] [0.001221s/0.135741s=0.90%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000454s ] [0.000454s/0.135741s=0.33%]
- 16/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000091s ] [0.000091s/0.135741s=0.07%]
- 17/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ] [0.000079s/0.135741s=0.06%]
- 18/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ] [0.000065s/0.135741s=0.05%]
- 19/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ] [0.000065s/0.135741s=0.05%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ] [0.000036s/0.135741s=0.03%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000035s ] [0.000035s/0.135741s=0.03%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000017s ] [0.000017s/0.135741s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002631s ] 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.001410s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.003324s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.030014s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.010698s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.003505s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001089s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001124s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001004s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001319s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000958s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000674s ]
- [ 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 < 1775399641 and b.endtime > 1775399641 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(9, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.004454s ]
- [ 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) group by binary(p.name), binary(p1.name); [ RunTime:0.010272s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000743s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000678s ]
- [ 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 < 1775399641 and b.endtime > 1775399641 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(9, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002590s ]
- [ 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 < 1775399641 and b.endtime > 1775399641 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(9, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001539s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (100,99,98,97) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001179s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (100,99,98,97) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001223s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775399641 > starttime && 1775399641 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001823s ]
- [ 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.001004s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [ RunTime:0.002502s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001206s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001387s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'diy-33' LIMIT 1 [ RunTime:0.003628s ]
- [ 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 = 9
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.008202s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001351s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002663s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.002053s ]
- [ 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.001150s ]
- [ 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.002237s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [ RunTime:0.007623s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/734ec355ddc374870fa9eec0b1d1e582.jpg' LIMIT 1 [ RunTime:0.003677s ]
- [ 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.002279s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [ RunTime:0.012949s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [ RunTime:0.050562s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [ RunTime:0.008168s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [ RunTime:0.008058s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [ RunTime:0.001654s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [ RunTime:0.004840s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [ RunTime:0.005241s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [ RunTime:0.001236s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/d9aa870090d45baac4e51ade3a1f4a5f.png' LIMIT 1 [ RunTime:0.002208s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [ RunTime:0.002353s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [ RunTime:0.009938s ]
- 1/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [0.050562s/0.23042s=21.94%]
- 2/46 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.030014s/0.23042s=13.03%]
- 3/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [0.012949s/0.23042s=5.62%]
- 4/46 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.010698s/0.23042s=4.64%]
- 5/46 . 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) group by binary(p.name), binary(p1.name); [0.010272s/0.23042s=4.46%]
- 6/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [0.009938s/0.23042s=4.31%]
- 7/46 . 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 = 9
and p.status = "up" and p.deletetime is null limit 40 [0.008202s/0.23042s=3.56%]
- 8/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [0.008168s/0.23042s=3.54%]
- 9/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [0.008058s/0.23042s=3.50%]
- 10/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [0.007623s/0.23042s=3.31%]
- 11/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [0.005241s/0.23042s=2.27%]
- 12/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [0.004840s/0.23042s=2.10%]
- 13/46 . 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 < 1775399641 and b.endtime > 1775399641 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(9, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.004454s/0.23042s=1.93%]
- 14/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/734ec355ddc374870fa9eec0b1d1e582.jpg' LIMIT 1 [0.003677s/0.23042s=1.60%]
- 15/46 . SELECT `id` FROM `category` WHERE `path` = 'diy-33' LIMIT 1 [0.003628s/0.23042s=1.57%]
- 16/46 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.003505s/0.23042s=1.52%]
- 17/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.003324s/0.23042s=1.44%]
- 18/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.002663s/0.23042s=1.16%]
- 19/46 . CONNECT:[ UseTime:0.002631s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1727401534717;charset=utf8mb4 [0.002631s/0.23042s=1.14%]
- 20/46 . 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 < 1775399641 and b.endtime > 1775399641 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(9, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002590s/0.23042s=1.12%]
- 21/46 . SELECT `name` FROM `product_supplier` WHERE `id` = 5 LIMIT 1 [0.002502s/0.23042s=1.09%]
- 22/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [0.002353s/0.23042s=1.02%]
- 23/46 . 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.002279s/0.23042s=0.99%]
- 24/46 . 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.002237s/0.23042s=0.97%]
- 25/46 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/19521692b4f28428/d9aa870090d45baac4e51ade3a1f4a5f.png' LIMIT 1 [0.002208s/0.23042s=0.96%]
- 26/46 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.002053s/0.23042s=0.89%]
- 27/46 . SELECT * FROM `activity` WHERE ( ( 1775399641 > starttime && 1775399641 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001823s/0.23042s=0.79%]
- 28/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [0.001654s/0.23042s=0.72%]
- 29/46 . 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 < 1775399641 and b.endtime > 1775399641 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(9, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001539s/0.23042s=0.67%]
- 30/46 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001410s/0.23042s=0.61%]
- 31/46 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001387s/0.23042s=0.60%]
- 32/46 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001351s/0.23042s=0.59%]
- 33/46 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001319s/0.23042s=0.57%]
- 34/46 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [0.001236s/0.23042s=0.54%]
- 35/46 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (100,99,98,97) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001223s/0.23042s=0.53%]
- 36/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001206s/0.23042s=0.52%]
- 37/46 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (100,99,98,97) ) AND `discuss`.`deletetime` IS NULL [0.001179s/0.23042s=0.51%]
- 38/46 . 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.001150s/0.23042s=0.50%]
- 39/46 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001124s/0.23042s=0.49%]
- 40/46 . set time_zone = '+08:00' [0.001089s/0.23042s=0.47%]
- 41/46 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001004s/0.23042s=0.44%]
- 42/46 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001004s/0.23042s=0.44%]
- 43/46 . SELECT @@session.sql_mode [0.000958s/0.23042s=0.42%]
- 44/46 . SELECT @@session.sql_mode [0.000743s/0.23042s=0.32%]
- 45/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000678s/0.23042s=0.29%]
- 46/46 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000674s/0.23042s=0.29%]
- 1/6. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 97 LIMIT 1 [3 times, 0.013527s/0.23042s=5.87%]
- 2/6. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 99 LIMIT 1 [3 times, 0.014662s/0.23042s=6.36%]
- 3/6. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 100 LIMIT 1 [3 times, 0.071134s/0.23042s=30.87%]
- 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.005666s/0.23042s=2.46%]
- 5/6. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002558s/0.23042s=1.11%]
- 6/6. SELECT @@session.sql_mode [2 times, 0.001701s/0.23042s=0.74%]
- Facebook track: Use:8.2680940628052ms