基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-22 07:10:38 HTTP/1.1 GET : cyf11.dev.shoppaas.co/category/%E5%98%BB%E5%98%BB
- 运行时间 : 0.673855s [ 吞吐率:1.48req/s ] 内存消耗:2,964.33kb 文件加载:274
- 查询信息 : [耗时:0.092332s/0.673855 13.70% ] 50 queries ,8 writes
- 缓存信息 : 16 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=jl4s5p0avrbl90fbauhkkveuq2
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001367s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000963s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000598s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'http',
'x-forwarded-host' => 'cyf11.dev.shoppaas.co',
'x-forwarded-for' => '216.73.216.152',
'via' => '1.1 squid-proxy-5b5d847c96-lpx6s (squid/6.13)',
'cache-control' => 'max-age=259200',
'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' => 'cyf11.dev.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => '嘻嘻',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.018382s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000072s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1723864021953:',
'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.010818s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.003122s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002421s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002348s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002423s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002397s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002490s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001198s ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/../brooklyn-playful/template/goods_recommendation.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.073768s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.005386s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.003488s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.005928s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.073768s ] [0.073768s/0.13734s=53.71%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.018382s ] [0.018382s/0.13734s=13.38%]
- 3/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.010818s ] [0.010818s/0.13734s=7.88%]
- 4/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.005928s ] [0.005928s/0.13734s=4.32%]
- 5/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.005386s ] [0.005386s/0.13734s=3.92%]
- 6/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.003488s ] [0.003488s/0.13734s=2.54%]
- 7/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.003122s ] [0.003122s/0.13734s=2.27%]
- 8/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002490s ] [0.002490s/0.13734s=1.81%]
- 9/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002423s ] [0.002423s/0.13734s=1.76%]
- 10/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002421s ] [0.002421s/0.13734s=1.76%]
- 11/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002397s ] [0.002397s/0.13734s=1.75%]
- 12/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002348s ] [0.002348s/0.13734s=1.71%]
- 13/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001367s ] [0.001367s/0.13734s=1.00%]
- 14/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001198s ] [0.001198s/0.13734s=0.87%]
- 15/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000963s ] [0.000963s/0.13734s=0.70%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000598s ] [0.000598s/0.13734s=0.44%]
- 17/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000072s ] [0.000072s/0.13734s=0.05%]
- 18/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000058s ] [0.000058s/0.13734s=0.04%]
- 19/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000048s ] [0.000048s/0.13734s=0.03%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ] [0.000033s/0.13734s=0.02%]
- 21/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000032s ] [0.000032s/0.13734s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002552s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1723864021953;charset=utf8mb4
- [ SQL ] UPDATE `config` SET `value`='https://cdn.devshoppaas.com/ver/sms' WHERE `name` = 'cdnurl' [ RunTime:0.004880s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002207s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.001086s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001066s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001032s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001099s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001065s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000794s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000838s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1766358638 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'jl4s5p0avrbl90fbauhkkveuq2' AND `createtime` > 1766099438 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001175s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000753s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000597s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'jl4s5p0avrbl90fbauhkkveuq2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001482s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000656s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001058s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000821s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000688s ]
- [ 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 < 1766358638 and b.endtime > 1766358638 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.005172s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.003058s ]
- [ 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 (5) group by binary(p.name), binary(p1.name); [ RunTime:0.005794s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001662s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000862s ]
- [ 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 < 1766358638 and b.endtime > 1766358638 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001353s ]
- [ 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 < 1766358638 and b.endtime > 1766358638 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001340s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (5) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.002826s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (5) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002131s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1766358638 > starttime && 1766358638 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001000s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.001847s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000777s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000818s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [ RunTime:0.001320s ]
- [ 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 = 4
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.002249s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001041s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001180s ]
- [ 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.001109s ]
- [ 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.001196s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [ RunTime:0.002614s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.002404s ]
- [ 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.001006s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [ RunTime:0.001020s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [ RunTime:0.000732s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000994s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (4,3,2,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,4,3,2,1) LIMIT 5 [ RunTime:0.001205s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (4,3,2,1) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001026s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (4,3,2,1) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,4,3,2,1) LIMIT 0,15 [ RunTime:0.001330s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001266s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001203s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002077s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001181s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001301s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/195b3b6fcdabbd736b60acb2653c5d70.jpg' LIMIT 1 [ RunTime:0.003537s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [ RunTime:0.001283s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001228s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f5dc4fa3dc857b6c/d9aa870090d45baac4e51ade3a1f4a5f.png' LIMIT 1 [ RunTime:0.001592s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f5dc4fa3dc857b6c/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [ RunTime:0.001141s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f5dc4fa3dc857b6c/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [ RunTime:0.001731s ]
- 1/59 . 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 (5) group by binary(p.name), binary(p1.name); [0.005794s/0.092332s=6.28%]
- 2/59 . 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 < 1766358638 and b.endtime > 1766358638 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.005172s/0.092332s=5.60%]
- 3/59 . UPDATE `config` SET `value`='https://cdn.devshoppaas.com/ver/sms' WHERE `name` = 'cdnurl' [0.004880s/0.092332s=5.29%]
- 4/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/195b3b6fcdabbd736b60acb2653c5d70.jpg' LIMIT 1 [0.003537s/0.092332s=3.83%]
- 5/59 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.003058s/0.092332s=3.31%]
- 6/59 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (5) ) AND `discuss`.`deletetime` IS NULL [0.002826s/0.092332s=3.06%]
- 7/59 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [0.002614s/0.092332s=2.83%]
- 8/59 . CONNECT:[ UseTime:0.002552s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1723864021953;charset=utf8mb4 [0.002552s/0.092332s=2.76%]
- 9/59 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.002404s/0.092332s=2.60%]
- 10/59 . 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 = 4
and p.status = "up" and p.deletetime is null limit 40 [0.002249s/0.092332s=2.44%]
- 11/59 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.002207s/0.092332s=2.39%]
- 12/59 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (5) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002131s/0.092332s=2.31%]
- 13/59 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.002077s/0.092332s=2.25%]
- 14/59 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.001847s/0.092332s=2.00%]
- 15/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f5dc4fa3dc857b6c/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [0.001731s/0.092332s=1.87%]
- 16/59 . SELECT @@session.sql_mode [0.001662s/0.092332s=1.80%]
- 17/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f5dc4fa3dc857b6c/d9aa870090d45baac4e51ade3a1f4a5f.png' LIMIT 1 [0.001592s/0.092332s=1.72%]
- 18/59 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'jl4s5p0avrbl90fbauhkkveuq2' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001482s/0.092332s=1.61%]
- 19/59 . 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 < 1766358638 and b.endtime > 1766358638 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001353s/0.092332s=1.47%]
- 20/59 . 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 < 1766358638 and b.endtime > 1766358638 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001340s/0.092332s=1.45%]
- 21/59 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (4,3,2,1) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,4,3,2,1) LIMIT 0,15 [0.001330s/0.092332s=1.44%]
- 22/59 . SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [0.001320s/0.092332s=1.43%]
- 23/59 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001301s/0.092332s=1.41%]
- 24/59 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001283s/0.092332s=1.39%]
- 25/59 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.001266s/0.092332s=1.37%]
- 26/59 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001228s/0.092332s=1.33%]
- 27/59 . SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (4,3,2,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,4,3,2,1) LIMIT 5 [0.001205s/0.092332s=1.31%]
- 28/59 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001203s/0.092332s=1.30%]
- 29/59 . 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.001196s/0.092332s=1.30%]
- 30/59 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [0.001181s/0.092332s=1.28%]
- 31/59 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001180s/0.092332s=1.28%]
- 32/59 . UPDATE `cart` SET `deletetime`=1766358638 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'jl4s5p0avrbl90fbauhkkveuq2' AND `createtime` > 1766099438 ) AND `cart`.`deletetime` IS NULL [0.001175s/0.092332s=1.27%]
- 33/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/f5dc4fa3dc857b6c/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [0.001141s/0.092332s=1.24%]
- 34/59 . 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.001109s/0.092332s=1.20%]
- 35/59 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001099s/0.092332s=1.19%]
- 36/59 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001086s/0.092332s=1.18%]
- 37/59 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001066s/0.092332s=1.15%]
- 38/59 . set time_zone = '+08:00' [0.001065s/0.092332s=1.15%]
- 39/59 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001058s/0.092332s=1.15%]
- 40/59 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001041s/0.092332s=1.13%]
- 41/59 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001032s/0.092332s=1.12%]
- 42/59 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (4,3,2,1) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001026s/0.092332s=1.11%]
- 43/59 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [0.001020s/0.092332s=1.10%]
- 44/59 . 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.001006s/0.092332s=1.09%]
- 45/59 . SELECT * FROM `activity` WHERE ( ( 1766358638 > starttime && 1766358638 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001000s/0.092332s=1.08%]
- 46/59 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000994s/0.092332s=1.08%]
- 47/59 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000955s/0.092332s=1.03%]
- 48/59 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000922s/0.092332s=1.00%]
- 49/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000862s/0.092332s=0.93%]
- 50/59 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000838s/0.092332s=0.91%]
- 51/59 . SELECT @@session.sql_mode [0.000821s/0.092332s=0.89%]
- 52/59 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000818s/0.092332s=0.89%]
- 53/59 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000794s/0.092332s=0.86%]
- 54/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000777s/0.092332s=0.84%]
- 55/59 . SELECT @@session.sql_mode [0.000753s/0.092332s=0.82%]
- 56/59 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [0.000732s/0.092332s=0.79%]
- 57/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000688s/0.092332s=0.75%]
- 58/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000656s/0.092332s=0.71%]
- 59/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000597s/0.092332s=0.65%]
- 1/7. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.00358s/0.092332s=3.88%]
- 2/7. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [3 times, 0.004353s/0.092332s=4.71%]
- 3/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [3 times, 0.004366s/0.092332s=4.73%]
- 4/7. 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.003311s/0.092332s=3.59%]
- 5/7. SELECT @@session.sql_mode [3 times, 0.003236s/0.092332s=3.50%]
- 6/7. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [2 times, 0.002529s/0.092332s=2.74%]
- 7/7. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 4 LIMIT 1 [2 times, 0.002464s/0.092332s=2.67%]