基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-10-08 14:55:45 HTTP/1.1 GET : pdtest22.saascdn.co/category/Fun
- 运行时间 : 0.302941s [ 吞吐率:3.30req/s ] 内存消耗:4,949.70kb 文件加载:318
- 查询信息 : [耗时:0.104302s/0.302941 34.43% ] 59 queries ,4 writes
- 缓存信息 : 14 reads,5 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=6m76haio6mjvghm37ki4f4h1ip
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000260s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000041s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'pdtest22.saascdn.co',
'x-forwarded-for' => '216.73.216.223',
'via' => '2.0 Caddy',
'referer' => 'http://pdtest22.saascdn.co/category/Fun',
'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' => 'pdtest22.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'Fun',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002378s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000060s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698131405234:',
'type' => 'redis',
'host' => 'test-redis-7.rj9kwp.ng.0001.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/testtheme/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.002373s ]
- [ 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.031085s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001092s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000780s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001041s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000837s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000838s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001184s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000775s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001073s ]
- [ VIEW ] /wwwroot/template/testtheme/../testtheme/template/product_featured.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.040180s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000821s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000701s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000564s ]
- 1/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.040180s ] [0.040180s/0.086252s=46.58%]
- 2/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.031085s ] [0.031085s/0.086252s=36.04%]
- 3/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002378s ] [0.002378s/0.086252s=2.76%]
- 4/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002373s ] [0.002373s/0.086252s=2.75%]
- 5/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001184s ] [0.001184s/0.086252s=1.37%]
- 6/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001092s ] [0.001092s/0.086252s=1.27%]
- 7/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001073s ] [0.001073s/0.086252s=1.24%]
- 8/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001041s ] [0.001041s/0.086252s=1.21%]
- 9/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000838s ] [0.000838s/0.086252s=0.97%]
- 10/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000837s ] [0.000837s/0.086252s=0.97%]
- 11/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000821s ] [0.000821s/0.086252s=0.95%]
- 12/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000780s ] [0.000780s/0.086252s=0.90%]
- 13/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000775s ] [0.000775s/0.086252s=0.90%]
- 14/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000701s ] [0.000701s/0.086252s=0.81%]
- 15/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000564s ] [0.000564s/0.086252s=0.65%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000260s ] [0.000260s/0.086252s=0.30%]
- 17/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000060s ] [0.000060s/0.086252s=0.07%]
- 18/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ] [0.000052s/0.086252s=0.06%]
- 19/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000050s ] [0.000050s/0.086252s=0.06%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000041s ] [0.000041s/0.086252s=0.05%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.086252s=0.03%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000027s ] [0.000027s/0.086252s=0.03%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.086252s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.001952s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698131405234;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001006s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001283s ]
- [ 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.001052s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001004s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000912s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001144s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000800s ]
- [ 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.000902s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000875s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000661s ]
- [ 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 < 1791442545 and b.endtime > 1791442545 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.005372s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.001826s ]
- [ 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 (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4) group by binary(p.name), binary(p1.name); [ RunTime:0.005078s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001122s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000949s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1791442545 and b.endtime > 1791442545 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.006456s ]
- [ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1791442545 and b.endtime > 1791442545 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,20 [ RunTime:0.002616s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.003224s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.009033s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1791442545 > starttime && 1791442545 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001209s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.002001s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000833s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000943s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'Fun' LIMIT 1 [ RunTime:0.001052s ]
- [ 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.000968s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001055s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000954s ]
- [ 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.000916s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.002176s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685720243.jpg' LIMIT 1 [ RunTime:0.003766s ]
- [ 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.000983s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685719786.jpg' LIMIT 1 [ RunTime:0.001009s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685718453.jpg' LIMIT 1 [ RunTime:0.000959s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716770.jpg' LIMIT 1 [ RunTime:0.001055s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716387.jpg' LIMIT 1 [ RunTime:0.001025s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685715405.jpg' LIMIT 1 [ RunTime:0.000946s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685714925.jpg' LIMIT 1 [ RunTime:0.000967s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685712676.jpg' LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710907.jpg' LIMIT 1 [ RunTime:0.001082s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710544.jpg' LIMIT 1 [ RunTime:0.000910s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685708207.jpg' LIMIT 1 [ RunTime:0.001000s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685704654.jpg' LIMIT 1 [ RunTime:0.001015s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685700163.jpg' LIMIT 1 [ RunTime:0.001735s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685699572.jpg' LIMIT 1 [ RunTime:0.000994s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685691144.jpg' LIMIT 1 [ RunTime:0.000976s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685685817.jpg' LIMIT 1 [ RunTime:0.001149s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685679378.jpg' LIMIT 1 [ RunTime:0.000962s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685676636.jpg' LIMIT 1 [ RunTime:0.001637s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685674968.jpg' LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685672759.jpg' LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001244s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001153s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,6,5,3,2) LIMIT 0,15 [ RunTime:0.003993s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,6,5,3,2) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001178s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,6,5,3,2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002647s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001133s ]
- [ 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.002240s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685661974.jpg' LIMIT 1 [ RunTime:0.000931s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685657900.png' LIMIT 1 [ RunTime:0.001119s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/479984d176a824d6b2af23cabcc4889b.jpg' LIMIT 1 [ RunTime:0.001159s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/6ba28915f46c646780e3abecb80a78f2.png' LIMIT 1 [ RunTime:0.001117s ]
- 1/64 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.009033s/0.104302s=8.66%]
- 2/64 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1791442545 and b.endtime > 1791442545 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.006456s/0.104302s=6.19%]
- 3/64 . 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 < 1791442545 and b.endtime > 1791442545 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.005372s/0.104302s=5.15%]
- 4/64 . 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 (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4) group by binary(p.name), binary(p1.name); [0.005078s/0.104302s=4.87%]
- 5/64 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,6,5,3,2) LIMIT 0,15 [0.003993s/0.104302s=3.83%]
- 6/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685720243.jpg' LIMIT 1 [0.003766s/0.104302s=3.61%]
- 7/64 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9) ) AND `discuss`.`deletetime` IS NULL [0.003224s/0.104302s=3.09%]
- 8/64 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,6,5,3,2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002647s/0.104302s=2.54%]
- 9/64 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=3 LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1791442545 and b.endtime > 1791442545 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(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,20 [0.002616s/0.104302s=2.51%]
- 10/64 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.002240s/0.104302s=2.15%]
- 11/64 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.002176s/0.104302s=2.09%]
- 12/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.002001s/0.104302s=1.92%]
- 13/64 . CONNECT:[ UseTime:0.001952s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698131405234;charset=utf8mb4 [0.001952s/0.104302s=1.87%]
- 14/64 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.001826s/0.104302s=1.75%]
- 15/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685700163.jpg' LIMIT 1 [0.001735s/0.104302s=1.66%]
- 16/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685676636.jpg' LIMIT 1 [0.001637s/0.104302s=1.57%]
- 17/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001283s/0.104302s=1.23%]
- 18/64 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001244s/0.104302s=1.19%]
- 19/64 . SELECT * FROM `activity` WHERE ( ( 1791442545 > starttime && 1791442545 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001209s/0.104302s=1.16%]
- 20/64 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,6,5,3,2) ) AND `discuss`.`deletetime` IS NULL [0.001178s/0.104302s=1.13%]
- 21/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/479984d176a824d6b2af23cabcc4889b.jpg' LIMIT 1 [0.001159s/0.104302s=1.11%]
- 22/64 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001153s/0.104302s=1.11%]
- 23/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685685817.jpg' LIMIT 1 [0.001149s/0.104302s=1.10%]
- 24/64 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001144s/0.104302s=1.10%]
- 25/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001133s/0.104302s=1.09%]
- 26/64 . SELECT @@session.sql_mode [0.001122s/0.104302s=1.08%]
- 27/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685657900.png' LIMIT 1 [0.001119s/0.104302s=1.07%]
- 28/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/6ba28915f46c646780e3abecb80a78f2.png' LIMIT 1 [0.001117s/0.104302s=1.07%]
- 29/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685672759.jpg' LIMIT 1 [0.001116s/0.104302s=1.07%]
- 30/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710907.jpg' LIMIT 1 [0.001082s/0.104302s=1.04%]
- 31/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716770.jpg' LIMIT 1 [0.001055s/0.104302s=1.01%]
- 32/64 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001055s/0.104302s=1.01%]
- 33/64 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001052s/0.104302s=1.01%]
- 34/64 . SELECT `id` FROM `category` WHERE `path` = 'Fun' LIMIT 1 [0.001052s/0.104302s=1.01%]
- 35/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685712676.jpg' LIMIT 1 [0.001040s/0.104302s=1.00%]
- 36/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685716387.jpg' LIMIT 1 [0.001025s/0.104302s=0.98%]
- 37/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685704654.jpg' LIMIT 1 [0.001015s/0.104302s=0.97%]
- 38/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685719786.jpg' LIMIT 1 [0.001009s/0.104302s=0.97%]
- 39/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001006s/0.104302s=0.96%]
- 40/64 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001004s/0.104302s=0.96%]
- 41/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685708207.jpg' LIMIT 1 [0.001000s/0.104302s=0.96%]
- 42/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685699572.jpg' LIMIT 1 [0.000994s/0.104302s=0.95%]
- 43/64 . 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.000983s/0.104302s=0.94%]
- 44/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685691144.jpg' LIMIT 1 [0.000976s/0.104302s=0.94%]
- 45/64 . 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [0.000968s/0.104302s=0.93%]
- 46/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685714925.jpg' LIMIT 1 [0.000967s/0.104302s=0.93%]
- 47/64 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000964s/0.104302s=0.92%]
- 48/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685679378.jpg' LIMIT 1 [0.000962s/0.104302s=0.92%]
- 49/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685718453.jpg' LIMIT 1 [0.000959s/0.104302s=0.92%]
- 50/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000954s/0.104302s=0.91%]
- 51/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000949s/0.104302s=0.91%]
- 52/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685715405.jpg' LIMIT 1 [0.000946s/0.104302s=0.91%]
- 53/64 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000943s/0.104302s=0.90%]
- 54/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685661974.jpg' LIMIT 1 [0.000931s/0.104302s=0.89%]
- 55/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685674968.jpg' LIMIT 1 [0.000930s/0.104302s=0.89%]
- 56/64 . 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.000916s/0.104302s=0.88%]
- 57/64 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000912s/0.104302s=0.87%]
- 58/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c06231e3603e2651/1706685710544.jpg' LIMIT 1 [0.000910s/0.104302s=0.87%]
- 59/64 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000902s/0.104302s=0.86%]
- 60/64 . SELECT @@session.sql_mode [0.000875s/0.104302s=0.84%]
- 61/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000833s/0.104302s=0.80%]
- 62/64 . set time_zone = '+08:00' [0.000800s/0.104302s=0.77%]
- 63/64 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000794s/0.104302s=0.76%]
- 64/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000661s/0.104302s=0.63%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002443s/0.104302s=2.34%]
- 2/3. 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 [2 times, 0.001899s/0.104302s=1.82%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.001997s/0.104302s=1.91%]
- Facebook track: Use:2.6296138763428ms