基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-06 15:15:43 HTTP/1.1 GET : fealptest.test3.shoppaas.co/category/default
- 运行时间 : 0.210515s [ 吞吐率:4.75req/s ] 内存消耗:4,311.09kb 文件加载:262
- 查询信息 : [耗时:0.083348s/0.210515 39.59% ] 74 queries ,4 writes
- 缓存信息 : 20 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=9053k9he59dnum4gcoseefoqtv
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000400s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000120s ]
- [ 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',
'referer' => 'http://fealptest.test3.shoppaas.co/category/default',
'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.004504s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000042s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000050s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000111s ]
- [ 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.002572s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001717s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001645s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001606s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001600s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001679s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001655s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001297s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001046s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001141s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001776s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002090s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001004s ]
- 1/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004504s ] [0.004504s/0.026216s=17.18%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002572s ] [0.002572s/0.026216s=9.81%]
- 3/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002090s ] [0.002090s/0.026216s=7.97%]
- 4/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001776s ] [0.001776s/0.026216s=6.77%]
- 5/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001717s ] [0.001717s/0.026216s=6.55%]
- 6/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001679s ] [0.001679s/0.026216s=6.40%]
- 7/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001655s ] [0.001655s/0.026216s=6.31%]
- 8/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001645s ] [0.001645s/0.026216s=6.27%]
- 9/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001606s ] [0.001606s/0.026216s=6.13%]
- 10/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001600s ] [0.001600s/0.026216s=6.10%]
- 11/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001297s ] [0.001297s/0.026216s=4.95%]
- 12/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001141s ] [0.001141s/0.026216s=4.35%]
- 13/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001046s ] [0.001046s/0.026216s=3.99%]
- 14/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001004s ] [0.001004s/0.026216s=3.83%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000400s ] [0.000400s/0.026216s=1.53%]
- 16/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000120s ] [0.000120s/0.026216s=0.46%]
- 17/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000111s ] [0.000111s/0.026216s=0.42%]
- 18/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ] [0.000080s/0.026216s=0.31%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ] [0.000065s/0.026216s=0.25%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000050s ] [0.000050s/0.026216s=0.19%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000042s ] [0.000042s/0.026216s=0.16%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ] [0.000016s/0.026216s=0.06%]
- [ DB ] CONNECT:[ UseTime:0.004123s ] 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.003482s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000990s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001149s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001021s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000945s ]
- [ SQL ] set time_zone = '-05:00' [ RunTime:0.000935s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000849s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000912s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001145s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001548s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000764s ]
- [ 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 < 1775506543 and b.endtime > 1775506543 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.003248s ]
- [ 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.003467s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000900s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000732s ]
- [ 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 < 1775506543 and b.endtime > 1775506543 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.001347s ]
- [ 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 < 1775506543 and b.endtime > 1775506543 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.001556s ]
- [ 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.001175s ]
- [ 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.002353s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775506543 > starttime && 1775506543 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001100s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000957s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000975s ]
- [ 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.001187s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001170s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000925s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000934s ]
- [ 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.000904s ]
- [ 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.000886s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.000925s ]
- [ 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.000816s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000781s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.000734s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000858s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.000806s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000814s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.000718s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000859s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.000798s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.000761s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.000838s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.000966s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000781s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.000811s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000795s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.000820s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000834s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.000817s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000851s ]
- [ 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.000789s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.000767s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000722s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.000818s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001000s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.000777s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000729s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.000763s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.000691s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.000850s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.000783s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.000825s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.000844s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001292s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.001181s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000866s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.000720s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000821s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.000740s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.000739s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.000721s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.000791s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000797s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.000772s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000797s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.000782s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000809s ]
- 1/79 . CONNECT:[ UseTime:0.004123s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1723687334510;charset=utf8mb4 [0.004123s/0.083348s=4.95%]
- 2/79 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.003482s/0.083348s=4.18%]
- 3/79 . 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.003467s/0.083348s=4.16%]
- 4/79 . 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 < 1775506543 and b.endtime > 1775506543 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.003248s/0.083348s=3.90%]
- 5/79 . 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.002353s/0.083348s=2.82%]
- 6/79 . 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 < 1775506543 and b.endtime > 1775506543 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.001556s/0.083348s=1.87%]
- 7/79 . SELECT @@session.sql_mode [0.001548s/0.083348s=1.86%]
- 8/79 . 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 < 1775506543 and b.endtime > 1775506543 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.001347s/0.083348s=1.62%]
- 9/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001292s/0.083348s=1.55%]
- 10/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.001237s/0.083348s=1.48%]
- 11/79 . 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.001187s/0.083348s=1.42%]
- 12/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.001181s/0.083348s=1.42%]
- 13/79 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,16,15,14,13,12,11) ) AND `discuss`.`deletetime` IS NULL [0.001175s/0.083348s=1.41%]
- 14/79 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001170s/0.083348s=1.40%]
- 15/79 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001149s/0.083348s=1.38%]
- 16/79 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001145s/0.083348s=1.37%]
- 17/79 . SELECT * FROM `activity` WHERE ( ( 1775506543 > starttime && 1775506543 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001100s/0.083348s=1.32%]
- 18/79 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001021s/0.083348s=1.22%]
- 19/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001000s/0.083348s=1.20%]
- 20/79 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000990s/0.083348s=1.19%]
- 21/79 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000975s/0.083348s=1.17%]
- 22/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.000966s/0.083348s=1.16%]
- 23/79 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000957s/0.083348s=1.15%]
- 24/79 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000954s/0.083348s=1.14%]
- 25/79 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000945s/0.083348s=1.13%]
- 26/79 . set time_zone = '-05:00' [0.000935s/0.083348s=1.12%]
- 27/79 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000934s/0.083348s=1.12%]
- 28/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.000925s/0.083348s=1.11%]
- 29/79 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000925s/0.083348s=1.11%]
- 30/79 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000912s/0.083348s=1.09%]
- 31/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000909s/0.083348s=1.09%]
- 32/79 . 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.000904s/0.083348s=1.08%]
- 33/79 . SELECT @@session.sql_mode [0.000900s/0.083348s=1.08%]
- 34/79 . 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.000886s/0.083348s=1.06%]
- 35/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000866s/0.083348s=1.04%]
- 36/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000859s/0.083348s=1.03%]
- 37/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000858s/0.083348s=1.03%]
- 38/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000851s/0.083348s=1.02%]
- 39/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.000850s/0.083348s=1.02%]
- 40/79 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000849s/0.083348s=1.02%]
- 41/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.000844s/0.083348s=1.01%]
- 42/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.000838s/0.083348s=1.01%]
- 43/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000834s/0.083348s=1.00%]
- 44/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.000825s/0.083348s=0.99%]
- 45/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000821s/0.083348s=0.99%]
- 46/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.000820s/0.083348s=0.98%]
- 47/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.000818s/0.083348s=0.98%]
- 48/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.000817s/0.083348s=0.98%]
- 49/79 . 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.000816s/0.083348s=0.98%]
- 50/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000814s/0.083348s=0.98%]
- 51/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.000811s/0.083348s=0.97%]
- 52/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000809s/0.083348s=0.97%]
- 53/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.000806s/0.083348s=0.97%]
- 54/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.000798s/0.083348s=0.96%]
- 55/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000797s/0.083348s=0.96%]
- 56/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000797s/0.083348s=0.96%]
- 57/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000795s/0.083348s=0.95%]
- 58/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.000791s/0.083348s=0.95%]
- 59/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000789s/0.083348s=0.95%]
- 60/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.000783s/0.083348s=0.94%]
- 61/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.000782s/0.083348s=0.94%]
- 62/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000781s/0.083348s=0.94%]
- 63/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000781s/0.083348s=0.94%]
- 64/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.000777s/0.083348s=0.93%]
- 65/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.000772s/0.083348s=0.93%]
- 66/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.000767s/0.083348s=0.92%]
- 67/79 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000764s/0.083348s=0.92%]
- 68/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.000763s/0.083348s=0.92%]
- 69/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.000761s/0.083348s=0.91%]
- 70/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.000740s/0.083348s=0.89%]
- 71/79 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.000739s/0.083348s=0.89%]
- 72/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.000734s/0.083348s=0.88%]
- 73/79 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000732s/0.083348s=0.88%]
- 74/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000729s/0.083348s=0.87%]
- 75/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000722s/0.083348s=0.87%]
- 76/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.000721s/0.083348s=0.87%]
- 77/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.000720s/0.083348s=0.86%]
- 78/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.000718s/0.083348s=0.86%]
- 79/79 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.000691s/0.083348s=0.83%]
- 1/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [3 times, 0.002967s/0.083348s=3.56%]
- 2/19. SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [3 times, 0.002808s/0.083348s=3.37%]
- 3/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [3 times, 0.002358s/0.083348s=2.83%]
- 4/19. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [3 times, 0.00242s/0.083348s=2.90%]
- 5/19. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002453s/0.083348s=2.94%]
- 6/19. SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [3 times, 0.002362s/0.083348s=2.83%]
- 7/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [3 times, 0.002597s/0.083348s=3.12%]
- 8/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [3 times, 0.002345s/0.083348s=2.81%]
- 9/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [3 times, 0.002434s/0.083348s=2.92%]
- 10/19. SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [3 times, 0.002354s/0.083348s=2.82%]
- 11/19. SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [3 times, 0.002465s/0.083348s=2.96%]
- 12/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [3 times, 0.002548s/0.083348s=3.06%]
- 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.002606s/0.083348s=3.13%]
- 14/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [3 times, 0.002426s/0.083348s=2.91%]
- 15/19. SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [3 times, 0.00241s/0.083348s=2.89%]
- 16/19. SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [3 times, 0.002181s/0.083348s=2.62%]
- 17/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [3 times, 0.002821s/0.083348s=3.38%]
- 18/19. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [3 times, 0.002403s/0.083348s=2.88%]
- 19/19. SELECT @@session.sql_mode [2 times, 0.002448s/0.083348s=2.94%]