基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-12 02:10:46 HTTP/1.1 GET : zxzxspdz.test3.shoppaas.co/all
- 运行时间 : 0.513750s [ 吞吐率:1.95req/s ] 内存消耗:4,332.91kb 文件加载:327
- 查询信息 : [耗时:0.191056s/0.513750 37.19% ] 59 queries ,7 writes
- 缓存信息 : 12 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=nsd06d17kef4ptqccje5j0qeql
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000402s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000074s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000092s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxzxspdz.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.119',
'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' => 'zxzxspdz.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.010759s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000042s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000103s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698665850655:',
'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.012299s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
3 => 'pay_step',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.059655s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001780s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001768s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001998s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001764s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001769s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001006s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001062s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004044s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001803s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001021s ]
- 1/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.059655s ] [0.059655s/0.101546s=58.75%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.012299s ] [0.012299s/0.101546s=12.11%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.010759s ] [0.010759s/0.101546s=10.60%]
- 4/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.004044s ] [0.004044s/0.101546s=3.98%]
- 5/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001998s ] [0.001998s/0.101546s=1.97%]
- 6/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001803s ] [0.001803s/0.101546s=1.78%]
- 7/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001780s ] [0.001780s/0.101546s=1.75%]
- 8/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001769s ] [0.001769s/0.101546s=1.74%]
- 9/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001768s ] [0.001768s/0.101546s=1.74%]
- 10/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001764s ] [0.001764s/0.101546s=1.74%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001062s ] [0.001062s/0.101546s=1.05%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001021s ] [0.001021s/0.101546s=1.01%]
- 13/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001006s ] [0.001006s/0.101546s=0.99%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000402s ] [0.000402s/0.101546s=0.40%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000103s ] [0.000103s/0.101546s=0.10%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000092s ] [0.000092s/0.101546s=0.09%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000074s ] [0.000074s/0.101546s=0.07%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ] [0.000060s/0.101546s=0.06%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000042s ] [0.000042s/0.101546s=0.04%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ] [0.000031s/0.101546s=0.03%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.101546s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002986s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698665850655;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001107s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000829s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000854s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001057s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000802s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000887s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765476646 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'nsd06d17kef4ptqccje5j0qeql' AND `createtime` > 1765217446 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.002287s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000979s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000613s ]
- [ 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` = 'nsd06d17kef4ptqccje5j0qeql' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001527s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000681s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000876s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001012s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000763s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000741s ]
- [ 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 < 1765476646 and b.endtime > 1765476646 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(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.009472s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.006033s ]
- [ 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 (469,468,467,466,465,464,463,462,461,23,18,17,15,14,12,9,8,7,6,5,4,1) group by binary(p.name), binary(p1.name); [ RunTime:0.025451s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000775s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000667s ]
- [ 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 < 1765476646 and b.endtime > 1765476646 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(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001624s ]
- [ 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 < 1765476646 and b.endtime > 1765476646 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(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001992s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (469,468,467,466,465,464,463,462,461,23,18,17) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.010594s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (469,468,467,466,465,464,463,462,461,23,18,17) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.021547s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765476646 > starttime && 1765476646 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001085s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.003561s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000745s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000834s ]
- [ 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.000826s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001020s ]
- [ 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.010856s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000846s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000735s ]
- [ 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.000769s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/da3298cef0fab9d69f78812fe0f1bb9b.png' LIMIT 1 [ RunTime:0.006873s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001050s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 468 LIMIT 1 [ RunTime:0.007151s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 148 AND `status` = '1' LIMIT 1 [ RunTime:0.008051s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/1716977841752.webp' LIMIT 1 [ RunTime:0.004624s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 468 LIMIT 1 [ RunTime:0.001372s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 148 AND `status` = '1' LIMIT 1 [ RunTime:0.000756s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 468 LIMIT 1 [ RunTime:0.000862s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 148 AND `status` = '1' LIMIT 1 [ RunTime:0.000809s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/7875828ef95c5ef629a943ce96684e39.png' LIMIT 1 [ RunTime:0.002244s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 466 LIMIT 1 [ RunTime:0.001920s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 106 AND `status` = '1' LIMIT 1 [ RunTime:0.001602s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/9457e86b715b03429a70030d1b1446f6.jpg' LIMIT 1 [ RunTime:0.003562s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 466 LIMIT 1 [ RunTime:0.001080s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 106 AND `status` = '1' LIMIT 1 [ RunTime:0.001380s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 466 LIMIT 1 [ RunTime:0.000801s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 106 AND `status` = '1' LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 465 LIMIT 1 [ RunTime:0.000815s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 103 AND `status` = '1' LIMIT 1 [ RunTime:0.000756s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/5cb8ead62c05cabfe190301201ff091d.png' LIMIT 1 [ RunTime:0.002594s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 465 LIMIT 1 [ RunTime:0.000965s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 103 AND `status` = '1' LIMIT 1 [ RunTime:0.001022s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 465 LIMIT 1 [ RunTime:0.000926s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 103 AND `status` = '1' LIMIT 1 [ RunTime:0.000820s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/70f7d19724e2866314a59465d5b7fbf4.jpg' LIMIT 1 [ RunTime:0.002507s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/c61d64489cff012410fbc8ae19dcb016.jpg' LIMIT 1 [ RunTime:0.004174s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/d0450f09c67d43bf9249dd7483e54f3e.jpg' LIMIT 1 [ RunTime:0.001880s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/51b2de6c7b45416d86ae742b062d4420.jpg' LIMIT 1 [ RunTime:0.001920s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/85e0ba7d2bbe71d5ba86865960148109.png' LIMIT 1 [ RunTime:0.007107s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/4f0f13bc1833e61faa0471df998116d5.png' LIMIT 1 [ RunTime:0.001111s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/c8dee18f196b05b863107fa06ac1edad.png' LIMIT 1 [ RunTime:0.001037s ]
- 1/67 . 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 (469,468,467,466,465,464,463,462,461,23,18,17,15,14,12,9,8,7,6,5,4,1) group by binary(p.name), binary(p1.name); [0.025451s/0.191056s=13.32%]
- 2/67 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (469,468,467,466,465,464,463,462,461,23,18,17) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.021547s/0.191056s=11.28%]
- 3/67 . 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [0.010856s/0.191056s=5.68%]
- 4/67 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (469,468,467,466,465,464,463,462,461,23,18,17) ) AND `discuss`.`deletetime` IS NULL [0.010594s/0.191056s=5.54%]
- 5/67 . 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 < 1765476646 and b.endtime > 1765476646 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(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.009472s/0.191056s=4.96%]
- 6/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 148 AND `status` = '1' LIMIT 1 [0.008051s/0.191056s=4.21%]
- 7/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 468 LIMIT 1 [0.007151s/0.191056s=3.74%]
- 8/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/85e0ba7d2bbe71d5ba86865960148109.png' LIMIT 1 [0.007107s/0.191056s=3.72%]
- 9/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/da3298cef0fab9d69f78812fe0f1bb9b.png' LIMIT 1 [0.006873s/0.191056s=3.60%]
- 10/67 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.006033s/0.191056s=3.16%]
- 11/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/1716977841752.webp' LIMIT 1 [0.004624s/0.191056s=2.42%]
- 12/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/c61d64489cff012410fbc8ae19dcb016.jpg' LIMIT 1 [0.004174s/0.191056s=2.18%]
- 13/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/9457e86b715b03429a70030d1b1446f6.jpg' LIMIT 1 [0.003562s/0.191056s=1.86%]
- 14/67 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.003561s/0.191056s=1.86%]
- 15/67 . CONNECT:[ UseTime:0.002986s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698665850655;charset=utf8mb4 [0.002986s/0.191056s=1.56%]
- 16/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/5cb8ead62c05cabfe190301201ff091d.png' LIMIT 1 [0.002594s/0.191056s=1.36%]
- 17/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/70f7d19724e2866314a59465d5b7fbf4.jpg' LIMIT 1 [0.002507s/0.191056s=1.31%]
- 18/67 . UPDATE `cart` SET `deletetime`=1765476646 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'nsd06d17kef4ptqccje5j0qeql' AND `createtime` > 1765217446 ) AND `cart`.`deletetime` IS NULL [0.002287s/0.191056s=1.20%]
- 19/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/7875828ef95c5ef629a943ce96684e39.png' LIMIT 1 [0.002244s/0.191056s=1.17%]
- 20/67 . 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 < 1765476646 and b.endtime > 1765476646 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(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001992s/0.191056s=1.04%]
- 21/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/51b2de6c7b45416d86ae742b062d4420.jpg' LIMIT 1 [0.001920s/0.191056s=1.00%]
- 22/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 466 LIMIT 1 [0.001920s/0.191056s=1.00%]
- 23/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/d0450f09c67d43bf9249dd7483e54f3e.jpg' LIMIT 1 [0.001880s/0.191056s=0.98%]
- 24/67 . 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 < 1765476646 and b.endtime > 1765476646 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(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001624s/0.191056s=0.85%]
- 25/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 106 AND `status` = '1' LIMIT 1 [0.001602s/0.191056s=0.84%]
- 26/67 . 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` = 'nsd06d17kef4ptqccje5j0qeql' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001527s/0.191056s=0.80%]
- 27/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 106 AND `status` = '1' LIMIT 1 [0.001380s/0.191056s=0.72%]
- 28/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 468 LIMIT 1 [0.001372s/0.191056s=0.72%]
- 29/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/4f0f13bc1833e61faa0471df998116d5.png' LIMIT 1 [0.001111s/0.191056s=0.58%]
- 30/67 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001107s/0.191056s=0.58%]
- 31/67 . SELECT * FROM `activity` WHERE ( ( 1765476646 > starttime && 1765476646 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001085s/0.191056s=0.57%]
- 32/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 466 LIMIT 1 [0.001080s/0.191056s=0.57%]
- 33/67 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001074s/0.191056s=0.56%]
- 34/67 . set time_zone = '+08:00' [0.001057s/0.191056s=0.55%]
- 35/67 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001050s/0.191056s=0.55%]
- 36/67 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/6133f418c26f6f74/c8dee18f196b05b863107fa06ac1edad.png' LIMIT 1 [0.001037s/0.191056s=0.54%]
- 37/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 103 AND `status` = '1' LIMIT 1 [0.001022s/0.191056s=0.53%]
- 38/67 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001020s/0.191056s=0.53%]
- 39/67 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001012s/0.191056s=0.53%]
- 40/67 . SELECT @@session.sql_mode [0.000979s/0.191056s=0.51%]
- 41/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 465 LIMIT 1 [0.000965s/0.191056s=0.51%]
- 42/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 465 LIMIT 1 [0.000926s/0.191056s=0.48%]
- 43/67 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000887s/0.191056s=0.46%]
- 44/67 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000876s/0.191056s=0.46%]
- 45/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 468 LIMIT 1 [0.000862s/0.191056s=0.45%]
- 46/67 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000854s/0.191056s=0.45%]
- 47/67 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000846s/0.191056s=0.44%]
- 48/67 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000834s/0.191056s=0.44%]
- 49/67 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000829s/0.191056s=0.43%]
- 50/67 . 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.000826s/0.191056s=0.43%]
- 51/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 103 AND `status` = '1' LIMIT 1 [0.000820s/0.191056s=0.43%]
- 52/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 465 LIMIT 1 [0.000815s/0.191056s=0.43%]
- 53/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 148 AND `status` = '1' LIMIT 1 [0.000809s/0.191056s=0.42%]
- 54/67 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000802s/0.191056s=0.42%]
- 55/67 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 466 LIMIT 1 [0.000801s/0.191056s=0.42%]
- 56/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 106 AND `status` = '1' LIMIT 1 [0.000778s/0.191056s=0.41%]
- 57/67 . SELECT @@session.sql_mode [0.000775s/0.191056s=0.41%]
- 58/67 . 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.000769s/0.191056s=0.40%]
- 59/67 . SELECT @@session.sql_mode [0.000763s/0.191056s=0.40%]
- 60/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 148 AND `status` = '1' LIMIT 1 [0.000756s/0.191056s=0.40%]
- 61/67 . SELECT `id` FROM `custom_activity` WHERE `id` = 103 AND `status` = '1' LIMIT 1 [0.000756s/0.191056s=0.40%]
- 62/67 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000745s/0.191056s=0.39%]
- 63/67 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000741s/0.191056s=0.39%]
- 64/67 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000735s/0.191056s=0.38%]
- 65/67 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000681s/0.191056s=0.36%]
- 66/67 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000667s/0.191056s=0.35%]
- 67/67 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000613s/0.191056s=0.32%]
- 1/9. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003447s/0.191056s=1.80%]
- 2/9. SELECT `id` FROM `custom_activity` WHERE `id` = 103 AND `status` = '1' LIMIT 1 [3 times, 0.002598s/0.191056s=1.36%]
- 3/9. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 465 LIMIT 1 [3 times, 0.002706s/0.191056s=1.42%]
- 4/9. SELECT `id` FROM `custom_activity` WHERE `id` = 106 AND `status` = '1' LIMIT 1 [3 times, 0.00376s/0.191056s=1.97%]
- 5/9. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 466 LIMIT 1 [3 times, 0.003801s/0.191056s=1.99%]
- 6/9. SELECT `id` FROM `custom_activity` WHERE `id` = 148 AND `status` = '1' LIMIT 1 [3 times, 0.009616s/0.191056s=5.03%]
- 7/9. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 468 LIMIT 1 [3 times, 0.009385s/0.191056s=4.91%]
- 8/9. 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.002645s/0.191056s=1.38%]
- 9/9. SELECT @@session.sql_mode [3 times, 0.002517s/0.191056s=1.32%]
- Facebook track: Use:5.0779104232788ms