基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-06-10 00:35:40 HTTP/1.1 GET : phpseven.test3.shoppaas.co/category/watch-6.html?page=1
- 运行时间 : 0.170675s [ 吞吐率:5.86req/s ] 内存消耗:3,006.65kb 文件加载:273
- 查询信息 : [耗时:0.065419s/0.170675 38.33% ] 47 queries ,4 writes
- 缓存信息 : 36 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=7fv8qvjohuvqvoc72his6426l7
- [ 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.000235s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000042s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000051s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'phpseven.test3.shoppaas.co',
'x-forwarded-for' => '216.73.217.143',
'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' => 'phpseven.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '1',
'path' => 'watch-6',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004548s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000026s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000063s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1736997004309:',
'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/arise/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.002403s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001032s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000988s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000982s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000826s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000806s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000804s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001181s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000871s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001313s ]
- [ VIEW ] /wwwroot/template/arise/../arise/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.035688s ]
- [ VIEW ] /wwwroot/addons/paymentshow/view/payment_show.html [ array (
0 => 'payment',
1 => 'align',
2 => 'merchantCard',
3 => 'merchantCardPayssion',
4 => 'paymentIcons',
5 => 'templateName',
) ]
- [ BEHAVIOR ] Run addons\paymentshow\Hook @payment_show [ RunTime:0.000316s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000782s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000786s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000483s ]
- 1/24 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.035688s ] [0.035688s/0.054317s=65.70%]
- 2/24 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004548s ] [0.004548s/0.054317s=8.37%]
- 3/24 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002403s ] [0.002403s/0.054317s=4.42%]
- 4/24 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001313s ] [0.001313s/0.054317s=2.42%]
- 5/24 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001181s ] [0.001181s/0.054317s=2.17%]
- 6/24 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001032s ] [0.001032s/0.054317s=1.90%]
- 7/24 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000988s ] [0.000988s/0.054317s=1.82%]
- 8/24 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000982s ] [0.000982s/0.054317s=1.81%]
- 9/24 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000871s ] [0.000871s/0.054317s=1.60%]
- 10/24 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000826s ] [0.000826s/0.054317s=1.52%]
- 11/24 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000806s ] [0.000806s/0.054317s=1.48%]
- 12/24 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000804s ] [0.000804s/0.054317s=1.48%]
- 13/24 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000786s ] [0.000786s/0.054317s=1.45%]
- 14/24 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000782s ] [0.000782s/0.054317s=1.44%]
- 15/24 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000483s ] [0.000483s/0.054317s=0.89%]
- 16/24 . [ BEHAVIOR ] Run addons\paymentshow\Hook @payment_show [ RunTime:0.000316s ] [0.000316s/0.054317s=0.58%]
- 17/24 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000235s ] [0.000235s/0.054317s=0.43%]
- 18/24 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000063s ] [0.000063s/0.054317s=0.12%]
- 19/24 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.054317s=0.10%]
- 20/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000051s ] [0.000051s/0.054317s=0.09%]
- 21/24 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000042s ] [0.000042s/0.054317s=0.08%]
- 22/24 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.054317s=0.05%]
- 23/24 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000026s ] [0.000026s/0.054317s=0.05%]
- 24/24 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.054317s=0.02%]
- [ DB ] CONNECT:[ UseTime:0.002913s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1736997004309;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001530s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001090s ]
- [ 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.001338s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001255s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001242s ]
- [ SQL ] SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001120s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000981s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000994s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001021s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001194s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001165s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000868s ]
- [ 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 < 1781022940 and b.endtime > 1781022940 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(8, 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(6, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.003346s ]
- [ 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 (16,15,14,13,12,11,10,9,8,7,6,5,4,1) group by binary(p.name), binary(p1.name); [ RunTime:0.004253s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000874s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000934s ]
- [ 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=6 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 < 1781022940 and b.endtime > 1781022940 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(8, 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(6, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001601s ]
- [ 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=6 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 < 1781022940 and b.endtime > 1781022940 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(8, 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(6, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [ RunTime:0.002479s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (16,15,1,4,5,6,7,8,9,10,11,12) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001060s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (16,15,1,4,5,6,7,8,9,10,11,12) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001225s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1781022940 > starttime && 1781022940 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001077s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.001135s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001124s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001006s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'watch-6' LIMIT 1 [ RunTime:0.001004s ]
- [ 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 = 6
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001029s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001077s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001204s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000987s ]
- [ 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.000994s ]
- [ 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.000962s ]
- [ 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.000961s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000964s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000913s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [ RunTime:0.000999s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001207s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,11,6,7,1,4,16,15,12,13,14) LIMIT 0,15 [ RunTime:0.001817s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001002s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001273s ]
- [ 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.001204s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [ RunTime:0.001097s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [ RunTime:0.001034s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001106s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000949s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000948s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001028s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000920s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000962s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000949s ]
- 1/52 . 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 (16,15,14,13,12,11,10,9,8,7,6,5,4,1) group by binary(p.name), binary(p1.name); [0.004253s/0.065419s=6.50%]
- 2/52 . 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 < 1781022940 and b.endtime > 1781022940 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(8, 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(6, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.003346s/0.065419s=5.11%]
- 3/52 . CONNECT:[ UseTime:0.002913s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1736997004309;charset=utf8mb4 [0.002913s/0.065419s=4.45%]
- 4/52 . 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=6 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 < 1781022940 and b.endtime > 1781022940 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(8, 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(6, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [0.002479s/0.065419s=3.79%]
- 5/52 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,8,9,5,10,11,6,7,1,4,16,15,12,13,14) LIMIT 0,15 [0.001817s/0.065419s=2.78%]
- 6/52 . 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=6 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 < 1781022940 and b.endtime > 1781022940 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(8, 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(6, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001601s/0.065419s=2.45%]
- 7/52 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001530s/0.065419s=2.34%]
- 8/52 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001338s/0.065419s=2.05%]
- 9/52 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001273s/0.065419s=1.95%]
- 10/52 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001255s/0.065419s=1.92%]
- 11/52 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001242s/0.065419s=1.90%]
- 12/52 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (16,15,1,4,5,6,7,8,9,10,11,12) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001225s/0.065419s=1.87%]
- 13/52 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001207s/0.065419s=1.85%]
- 14/52 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001204s/0.065419s=1.84%]
- 15/52 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001204s/0.065419s=1.84%]
- 16/52 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001194s/0.065419s=1.83%]
- 17/52 . SELECT @@session.sql_mode [0.001165s/0.065419s=1.78%]
- 18/52 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.001135s/0.065419s=1.73%]
- 19/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001124s/0.065419s=1.72%]
- 20/52 . SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001120s/0.065419s=1.71%]
- 21/52 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001106s/0.065419s=1.69%]
- 22/52 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999727349.png' LIMIT 1 [0.001097s/0.065419s=1.68%]
- 23/52 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001090s/0.065419s=1.67%]
- 24/52 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001077s/0.065419s=1.65%]
- 25/52 . SELECT * FROM `activity` WHERE ( ( 1781022940 > starttime && 1781022940 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001077s/0.065419s=1.65%]
- 26/52 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (16,15,1,4,5,6,7,8,9,10,11,12) ) AND `discuss`.`deletetime` IS NULL [0.001060s/0.065419s=1.62%]
- 27/52 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001040s/0.065419s=1.59%]
- 28/52 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/8c1916718b4c2936/1761999725885.jpg' LIMIT 1 [0.001034s/0.065419s=1.58%]
- 29/52 . 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 = 6
and p.status = "up" and p.deletetime is null limit 40 [0.001029s/0.065419s=1.57%]
- 30/52 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001028s/0.065419s=1.57%]
- 31/52 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001021s/0.065419s=1.56%]
- 32/52 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001006s/0.065419s=1.54%]
- 33/52 . SELECT `id` FROM `category` WHERE `path` = 'watch-6' LIMIT 1 [0.001004s/0.065419s=1.53%]
- 34/52 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,9,5,10,11,6,7,1,4,16,15,12,13,14) ) AND `discuss`.`deletetime` IS NULL [0.001002s/0.065419s=1.53%]
- 35/52 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `views` DESC LIMIT 20 [0.000999s/0.065419s=1.53%]
- 36/52 . set time_zone = '+08:00' [0.000994s/0.065419s=1.52%]
- 37/52 . 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.000994s/0.065419s=1.52%]
- 38/52 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000987s/0.065419s=1.51%]
- 39/52 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000981s/0.065419s=1.50%]
- 40/52 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000964s/0.065419s=1.47%]
- 41/52 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000964s/0.065419s=1.47%]
- 42/52 . 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.000962s/0.065419s=1.47%]
- 43/52 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000962s/0.065419s=1.47%]
- 44/52 . 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.000961s/0.065419s=1.47%]
- 45/52 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000949s/0.065419s=1.45%]
- 46/52 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000949s/0.065419s=1.45%]
- 47/52 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000948s/0.065419s=1.45%]
- 48/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000934s/0.065419s=1.43%]
- 49/52 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000920s/0.065419s=1.41%]
- 50/52 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000913s/0.065419s=1.40%]
- 51/52 . SELECT @@session.sql_mode [0.000874s/0.065419s=1.34%]
- 52/52 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000868s/0.065419s=1.33%]
- 1/5. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [5 times, 0.004771s/0.065419s=7.29%]
- 2/5. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [5 times, 0.005008s/0.065419s=7.66%]
- 3/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002926s/0.065419s=4.47%]
- 4/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.002917s/0.065419s=4.46%]
- 5/5. SELECT @@session.sql_mode [2 times, 0.002039s/0.065419s=3.12%]