基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-06 11:19:28 HTTP/1.1 GET : fealptest.test3.shoppaas.co/category/default.html
- 运行时间 : 0.214076s [ 吞吐率:4.67req/s ] 内存消耗:4,312.87kb 文件加载:263
- 查询信息 : [耗时:0.083466s/0.214076 38.99% ] 76 queries ,4 writes
- 缓存信息 : 20 reads,3 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=6cuech6e3m4f862ut1q19m3c29
- [ 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.000275s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'fealptest.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.132',
'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' => 'fealptest.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005038s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000084s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1723687334510:',
'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.002793s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002238s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002105s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002076s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002109s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002083s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002031s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001380s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001175s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001179s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002003s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002165s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001141s ]
- 1/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005038s ] [0.005038s/0.030109s=16.73%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002793s ] [0.002793s/0.030109s=9.28%]
- 3/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002238s ] [0.002238s/0.030109s=7.43%]
- 4/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002165s ] [0.002165s/0.030109s=7.19%]
- 5/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002109s ] [0.002109s/0.030109s=7.00%]
- 6/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002105s ] [0.002105s/0.030109s=6.99%]
- 7/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002083s ] [0.002083s/0.030109s=6.92%]
- 8/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.002076s ] [0.002076s/0.030109s=6.89%]
- 9/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002031s ] [0.002031s/0.030109s=6.75%]
- 10/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002003s ] [0.002003s/0.030109s=6.65%]
- 11/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001380s ] [0.001380s/0.030109s=4.58%]
- 12/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001179s ] [0.001179s/0.030109s=3.92%]
- 13/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001175s ] [0.001175s/0.030109s=3.90%]
- 14/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001141s ] [0.001141s/0.030109s=3.79%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000275s ] [0.000275s/0.030109s=0.91%]
- 16/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000084s ] [0.000084s/0.030109s=0.28%]
- 17/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ] [0.000056s/0.030109s=0.19%]
- 18/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000050s ] [0.000050s/0.030109s=0.17%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.030109s=0.13%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ] [0.000038s/0.030109s=0.13%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000037s ] [0.000037s/0.030109s=0.12%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.030109s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002074s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1723687334510;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000957s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001033s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001058s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001074s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000989s ]
- [ SQL ] set time_zone = '-05:00' [ RunTime:0.000769s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000838s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000923s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001065s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000893s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000733s ]
- [ 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 < 1775492368 and b.endtime > 1775492368 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001749s ]
- [ 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 (19,18,16,15,14,13,12,11) group by binary(p.name), binary(p1.name); [ RunTime:0.002378s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000829s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000780s ]
- [ 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 < 1775492368 and b.endtime > 1775492368 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001364s ]
- [ 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 < 1775492368 and b.endtime > 1775492368 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001770s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,16,15,14,13,12,11) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001070s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,16,15,14,13,12,11) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.003107s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775492368 > starttime && 1775492368 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001094s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000889s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000974s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001052s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001140s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.001087s ]
- [ 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001088s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001126s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000972s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000920s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000903s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000980s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.000798s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000795s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000869s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.000796s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000863s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.000802s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000903s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.000847s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000907s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.000908s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.001020s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.000939s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.000911s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.000956s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000835s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000778s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.001237s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.001114s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.001398s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000834s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.001030s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000823s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.001177s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000878s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.000896s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000828s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.000850s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000940s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001848s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.001008s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001080s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.000767s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001223s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.000821s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.001008s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.000994s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000751s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.000860s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000806s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.000769s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.000907s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000824s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.000830s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000753s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.000874s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000741s ]
- 1/81 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,16,15,14,13,12,11) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.003107s/0.083466s=3.72%]
- 2/81 . 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 (19,18,16,15,14,13,12,11) group by binary(p.name), binary(p1.name); [0.002378s/0.083466s=2.85%]
- 3/81 . CONNECT:[ UseTime:0.002074s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1723687334510;charset=utf8mb4 [0.002074s/0.083466s=2.48%]
- 4/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001848s/0.083466s=2.21%]
- 5/81 . 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 < 1775492368 and b.endtime > 1775492368 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001770s/0.083466s=2.12%]
- 6/81 . 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 < 1775492368 and b.endtime > 1775492368 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001749s/0.083466s=2.10%]
- 7/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.001398s/0.083466s=1.67%]
- 8/81 . 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 < 1775492368 and b.endtime > 1775492368 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001364s/0.083466s=1.63%]
- 9/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.001237s/0.083466s=1.48%]
- 10/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001223s/0.083466s=1.47%]
- 11/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.001177s/0.083466s=1.41%]
- 12/81 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001140s/0.083466s=1.37%]
- 13/81 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001126s/0.083466s=1.35%]
- 14/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.001114s/0.083466s=1.33%]
- 15/81 . SELECT * FROM `activity` WHERE ( ( 1775492368 > starttime && 1775492368 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001094s/0.083466s=1.31%]
- 16/81 . 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [0.001088s/0.083466s=1.30%]
- 17/81 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.001087s/0.083466s=1.30%]
- 18/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001080s/0.083466s=1.29%]
- 19/81 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001074s/0.083466s=1.29%]
- 20/81 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,16,15,14,13,12,11) ) AND `discuss`.`deletetime` IS NULL [0.001070s/0.083466s=1.28%]
- 21/81 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001065s/0.083466s=1.28%]
- 22/81 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001058s/0.083466s=1.27%]
- 23/81 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001052s/0.083466s=1.26%]
- 24/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.001040s/0.083466s=1.25%]
- 25/81 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001033s/0.083466s=1.24%]
- 26/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.001030s/0.083466s=1.23%]
- 27/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.001020s/0.083466s=1.22%]
- 28/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.001008s/0.083466s=1.21%]
- 29/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.001008s/0.083466s=1.21%]
- 30/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.000998s/0.083466s=1.20%]
- 31/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.000994s/0.083466s=1.19%]
- 32/81 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000989s/0.083466s=1.18%]
- 33/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000980s/0.083466s=1.17%]
- 34/81 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000974s/0.083466s=1.17%]
- 35/81 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000972s/0.083466s=1.16%]
- 36/81 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000957s/0.083466s=1.15%]
- 37/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.000956s/0.083466s=1.15%]
- 38/81 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000954s/0.083466s=1.14%]
- 39/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000940s/0.083466s=1.13%]
- 40/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.000939s/0.083466s=1.13%]
- 41/81 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000923s/0.083466s=1.11%]
- 42/81 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000920s/0.083466s=1.10%]
- 43/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.000911s/0.083466s=1.09%]
- 44/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.000908s/0.083466s=1.09%]
- 45/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.000907s/0.083466s=1.09%]
- 46/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000907s/0.083466s=1.09%]
- 47/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000903s/0.083466s=1.08%]
- 48/81 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000903s/0.083466s=1.08%]
- 49/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.000896s/0.083466s=1.07%]
- 50/81 . SELECT @@session.sql_mode [0.000893s/0.083466s=1.07%]
- 51/81 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.000889s/0.083466s=1.07%]
- 52/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000878s/0.083466s=1.05%]
- 53/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.000874s/0.083466s=1.05%]
- 54/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000869s/0.083466s=1.04%]
- 55/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000863s/0.083466s=1.03%]
- 56/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.000860s/0.083466s=1.03%]
- 57/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.000850s/0.083466s=1.02%]
- 58/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.000847s/0.083466s=1.01%]
- 59/81 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000838s/0.083466s=1.00%]
- 60/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000835s/0.083466s=1.00%]
- 61/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000834s/0.083466s=1.00%]
- 62/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.000830s/0.083466s=0.99%]
- 63/81 . SELECT @@session.sql_mode [0.000829s/0.083466s=0.99%]
- 64/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000828s/0.083466s=0.99%]
- 65/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000824s/0.083466s=0.99%]
- 66/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000823s/0.083466s=0.99%]
- 67/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.000821s/0.083466s=0.98%]
- 68/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000806s/0.083466s=0.97%]
- 69/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.000802s/0.083466s=0.96%]
- 70/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.000798s/0.083466s=0.96%]
- 71/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.000796s/0.083466s=0.95%]
- 72/81 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000795s/0.083466s=0.95%]
- 73/81 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000780s/0.083466s=0.93%]
- 74/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000778s/0.083466s=0.93%]
- 75/81 . set time_zone = '-05:00' [0.000769s/0.083466s=0.92%]
- 76/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.000769s/0.083466s=0.92%]
- 77/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.000767s/0.083466s=0.92%]
- 78/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000753s/0.083466s=0.90%]
- 79/81 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000751s/0.083466s=0.90%]
- 80/81 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000741s/0.083466s=0.89%]
- 81/81 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000733s/0.083466s=0.88%]
- 1/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [3 times, 0.004151s/0.083466s=4.97%]
- 2/19. SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [3 times, 0.002596s/0.083466s=3.11%]
- 3/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [3 times, 0.002923s/0.083466s=3.50%]
- 4/19. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [3 times, 0.002646s/0.083466s=3.17%]
- 5/19. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002565s/0.083466s=3.07%]
- 6/19. SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [3 times, 0.002771s/0.083466s=3.32%]
- 7/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [3 times, 0.002865s/0.083466s=3.43%]
- 8/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [3 times, 0.002611s/0.083466s=3.13%]
- 9/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [3 times, 0.00283s/0.083466s=3.39%]
- 10/19. SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [3 times, 0.002694s/0.083466s=3.23%]
- 11/19. SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [3 times, 0.002396s/0.083466s=2.87%]
- 12/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [3 times, 0.002712s/0.083466s=3.25%]
- 13/19. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.002652s/0.083466s=3.18%]
- 14/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [3 times, 0.002565s/0.083466s=3.07%]
- 15/19. SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [3 times, 0.002653s/0.083466s=3.18%]
- 16/19. SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [3 times, 0.002623s/0.083466s=3.14%]
- 17/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [3 times, 0.003665s/0.083466s=4.39%]
- 18/19. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [3 times, 0.002318s/0.083466s=2.78%]
- 19/19. SELECT @@session.sql_mode [2 times, 0.001722s/0.083466s=2.06%]