基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-09 03:11:50 HTTP/1.1 GET : cy002.test3.shoppaas.co/all
- 运行时间 : 0.221620s [ 吞吐率:4.51req/s ] 内存消耗:2,696.77kb 文件加载:261
- 查询信息 : [耗时:0.068565s/0.221620 30.94% ] 35 queries ,4 writes
- 缓存信息 : 16 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=1l6htvri1ntpb3u2s01ufsnt99
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000021s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000295s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000070s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000087s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'cy002.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.214',
'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' => 'cy002.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.006144s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000046s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000112s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1727347785742:',
'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/coffee/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.003327s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002679s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002506s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002519s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.003141s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.003001s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002506s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001679s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001611s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001455s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
8 => 'template_name',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000620s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
8 => 'template_name',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000431s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002500s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002459s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001450s ]
- 1/24 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006144s ] [0.006144s/0.038751s=15.86%]
- 2/24 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003327s ] [0.003327s/0.038751s=8.59%]
- 3/24 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.003141s ] [0.003141s/0.038751s=8.11%]
- 4/24 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.003001s ] [0.003001s/0.038751s=7.74%]
- 5/24 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002679s ] [0.002679s/0.038751s=6.91%]
- 6/24 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002519s ] [0.002519s/0.038751s=6.50%]
- 7/24 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002506s ] [0.002506s/0.038751s=6.47%]
- 8/24 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002506s ] [0.002506s/0.038751s=6.47%]
- 9/24 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002500s ] [0.002500s/0.038751s=6.45%]
- 10/24 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002459s ] [0.002459s/0.038751s=6.35%]
- 11/24 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001679s ] [0.001679s/0.038751s=4.33%]
- 12/24 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001611s ] [0.001611s/0.038751s=4.16%]
- 13/24 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001455s ] [0.001455s/0.038751s=3.75%]
- 14/24 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001450s ] [0.001450s/0.038751s=3.74%]
- 15/24 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000620s ] [0.000620s/0.038751s=1.60%]
- 16/24 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000431s ] [0.000431s/0.038751s=1.11%]
- 17/24 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000295s ] [0.000295s/0.038751s=0.76%]
- 18/24 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000112s ] [0.000112s/0.038751s=0.29%]
- 19/24 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000087s ] [0.000087s/0.038751s=0.22%]
- 20/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000070s ] [0.000070s/0.038751s=0.18%]
- 21/24 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000054s ] [0.000054s/0.038751s=0.14%]
- 22/24 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000046s ] [0.000046s/0.038751s=0.12%]
- 23/24 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ] [0.000038s/0.038751s=0.10%]
- 24/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000021s ] [0.000021s/0.038751s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.004481s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1727347785742;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001349s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001584s ]
- [ 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.001397s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001329s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001184s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001207s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001184s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001159s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001271s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001339s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002117s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001610s ]
- [ 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 < 1775675510 and b.endtime > 1775675510 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) ) 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.003243s ]
- [ 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,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.005712s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001088s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000936s ]
- [ 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 < 1775675510 and b.endtime > 1775675510 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) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001502s ]
- [ 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 < 1775675510 and b.endtime > 1775675510 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) ) 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,15 [ RunTime:0.001972s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001213s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001453s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775675510 > starttime && 1775675510 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001142s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001012s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.001474s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001054s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001338s ]
- [ 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.001206s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001248s ]
- [ 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.001484s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001446s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001198s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.002986s ]
- [ 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.001594s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919663.webp' LIMIT 1 [ RunTime:0.002185s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919923.webp' LIMIT 1 [ RunTime:0.001945s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347920254.webp' LIMIT 1 [ RunTime:0.002457s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347920824.webp' LIMIT 1 [ RunTime:0.002559s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919663.webp' LIMIT 1 [ RunTime:0.001252s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919923.webp' LIMIT 1 [ RunTime:0.001246s ]
- [ 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.001409s ]
- 1/40 . 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,4,3,2,1) group by binary(p.name), binary(p1.name); [0.005712s/0.068565s=8.33%]
- 2/40 . CONNECT:[ UseTime:0.004481s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1727347785742;charset=utf8mb4 [0.004481s/0.068565s=6.54%]
- 3/40 . 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 < 1775675510 and b.endtime > 1775675510 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) ) 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.003243s/0.068565s=4.73%]
- 4/40 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.002986s/0.068565s=4.35%]
- 5/40 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347920824.webp' LIMIT 1 [0.002559s/0.068565s=3.73%]
- 6/40 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347920254.webp' LIMIT 1 [0.002457s/0.068565s=3.58%]
- 7/40 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919663.webp' LIMIT 1 [0.002185s/0.068565s=3.19%]
- 8/40 . SELECT @@session.sql_mode [0.002117s/0.068565s=3.09%]
- 9/40 . 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 < 1775675510 and b.endtime > 1775675510 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) ) 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,15 [0.001972s/0.068565s=2.88%]
- 10/40 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919923.webp' LIMIT 1 [0.001945s/0.068565s=2.84%]
- 11/40 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001610s/0.068565s=2.35%]
- 12/40 . 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.001594s/0.068565s=2.32%]
- 13/40 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001584s/0.068565s=2.31%]
- 14/40 . 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 < 1775675510 and b.endtime > 1775675510 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) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001502s/0.068565s=2.19%]
- 15/40 . 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.001484s/0.068565s=2.16%]
- 16/40 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.001474s/0.068565s=2.15%]
- 17/40 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001453s/0.068565s=2.12%]
- 18/40 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001446s/0.068565s=2.11%]
- 19/40 . 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.001409s/0.068565s=2.05%]
- 20/40 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001397s/0.068565s=2.04%]
- 21/40 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001349s/0.068565s=1.97%]
- 22/40 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001339s/0.068565s=1.95%]
- 23/40 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001338s/0.068565s=1.95%]
- 24/40 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001329s/0.068565s=1.94%]
- 25/40 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001271s/0.068565s=1.85%]
- 26/40 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919663.webp' LIMIT 1 [0.001252s/0.068565s=1.83%]
- 27/40 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001248s/0.068565s=1.82%]
- 28/40 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919923.webp' LIMIT 1 [0.001246s/0.068565s=1.82%]
- 29/40 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.001213s/0.068565s=1.77%]
- 30/40 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001207s/0.068565s=1.76%]
- 31/40 . 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.001206s/0.068565s=1.76%]
- 32/40 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001198s/0.068565s=1.75%]
- 33/40 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001184s/0.068565s=1.73%]
- 34/40 . set time_zone = '+08:00' [0.001184s/0.068565s=1.73%]
- 35/40 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001159s/0.068565s=1.69%]
- 36/40 . SELECT * FROM `activity` WHERE ( ( 1775675510 > starttime && 1775675510 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001142s/0.068565s=1.67%]
- 37/40 . SELECT @@session.sql_mode [0.001088s/0.068565s=1.59%]
- 38/40 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001054s/0.068565s=1.54%]
- 39/40 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (2) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001012s/0.068565s=1.48%]
- 40/40 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000936s/0.068565s=1.37%]
- 1/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.0036s/0.068565s=5.25%]
- 2/5. 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.004209s/0.068565s=6.14%]
- 3/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919923.webp' LIMIT 1 [2 times, 0.003191s/0.068565s=4.65%]
- 4/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/acff48b7c84c0126/1727347919663.webp' LIMIT 1 [2 times, 0.003437s/0.068565s=5.01%]
- 5/5. SELECT @@session.sql_mode [2 times, 0.003205s/0.068565s=4.67%]