基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-06 18:30:09 HTTP/1.1 GET : zxcdn02.saascdn.co/category/pet-8
- 运行时间 : 0.345102s [ 吞吐率:2.90req/s ] 内存消耗:3,380.88kb 文件加载:339
- 查询信息 : [耗时:0.096511s/0.345102 27.97% ] 62 queries ,7 writes
- 缓存信息 : 21 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=bqc02rom2efqlcaa2dptl3f3bm
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000365s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000074s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000089s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxcdn02.saascdn.co',
'x-forwarded-for' => '216.73.216.159',
'referer' => 'http://zxcdn02.saascdn.co/category/pet-8',
'cookie' => 'currency=%7B%22id%22%3A2%2C%22title%22%3A%22%E6%AC%A7%E5%85%83%EF%BC%88EUR%EF%BC%89%22%2C%22code%22%3A%22EUR%22%2C%22symbol_left%22%3A%22%E2%82%AC%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Feu.svg%22%2C%22updatetime%22%3A1736574910%2C%22is_default%22%3A1%2C%22sort%22%3A199%7D; PHPSESSID=bqc02rom2efqlcaa2dptl3f3bm; currency_code=EUR',
'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' => 'zxcdn02.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'pet-8',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006338s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000114s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1722842121525:',
'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/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.002573s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.063390s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002168s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.004231s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002133s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001769s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001815s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001087s ]
- [ 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.079049s ]
- [ VIEW ] /wwwroot/addons/marketingnotify/view/global_footer.html [ array (
0 => 'data',
1 => 'is_mobile',
2 => 'theme_key',
3 => 'theme_id',
) ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.044960s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001812s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001018s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.079049s ] [0.079049s/0.213133s=37.09%]
- 2/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.063390s ] [0.063390s/0.213133s=29.74%]
- 3/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.044960s ] [0.044960s/0.213133s=21.09%]
- 4/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006338s ] [0.006338s/0.213133s=2.97%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.004231s ] [0.004231s/0.213133s=1.99%]
- 6/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002573s ] [0.002573s/0.213133s=1.21%]
- 7/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002168s ] [0.002168s/0.213133s=1.02%]
- 8/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002133s ] [0.002133s/0.213133s=1.00%]
- 9/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001815s ] [0.001815s/0.213133s=0.85%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001812s ] [0.001812s/0.213133s=0.85%]
- 11/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001769s ] [0.001769s/0.213133s=0.83%]
- 12/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001087s ] [0.001087s/0.213133s=0.51%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001018s ] [0.001018s/0.213133s=0.48%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000365s ] [0.000365s/0.213133s=0.17%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000114s ] [0.000114s/0.213133s=0.05%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000089s ] [0.000089s/0.213133s=0.04%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000074s ] [0.000074s/0.213133s=0.03%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ] [0.000060s/0.213133s=0.03%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000044s ] [0.000044s/0.213133s=0.02%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ] [0.000031s/0.213133s=0.01%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.213133s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002026s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000949s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001552s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001585s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000981s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000957s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000965s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001009s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765017009 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'bqc02rom2efqlcaa2dptl3f3bm' AND `createtime` > 1764757809 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001491s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000997s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000808s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'bqc02rom2efqlcaa2dptl3f3bm' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001909s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000867s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001325s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001415s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000980s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000759s ]
- [ 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 < 1765017009 and b.endtime > 1765017009 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001884s ]
- [ 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 (154,153,152,151,150) group by binary(p.name), binary(p1.name); [ RunTime:0.002205s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001363s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000898s ]
- [ 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=8 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 < 1765017009 and b.endtime > 1765017009 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002438s ]
- [ 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=8 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 < 1765017009 and b.endtime > 1765017009 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [ RunTime:0.002968s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (154,153,152,151,150) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001251s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (154,153,152,151,150) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002730s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765017009 > starttime && 1765017009 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000934s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001007s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001035s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001232s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'pet-8' LIMIT 1 [ RunTime:0.000916s ]
- [ 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 = 8
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001195s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000854s ]
- [ 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.001002s ]
- [ 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.001036s ]
- [ 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.001012s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001349s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [ RunTime:0.001830s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001145s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.006512s ]
- [ 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.001409s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001237s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.001198s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [ RunTime:0.001151s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000841s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000784s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000834s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.001519s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000886s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001076s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001012s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001657s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000876s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000977s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001141s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001267s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001318s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001229s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000922s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001019s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000926s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001522s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.004867s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001255s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001212s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001454s ]
- [ SQL ] SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [ RunTime:0.001264s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [ RunTime:0.001172s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001206s ]
- 1/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.006512s/0.096511s=6.75%]
- 2/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.004867s/0.096511s=5.04%]
- 3/70 . 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=8 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 < 1765017009 and b.endtime > 1765017009 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [0.002968s/0.096511s=3.08%]
- 4/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (154,153,152,151,150) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002730s/0.096511s=2.83%]
- 5/70 . 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=8 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 < 1765017009 and b.endtime > 1765017009 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002438s/0.096511s=2.53%]
- 6/70 . 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 (154,153,152,151,150) group by binary(p.name), binary(p1.name); [0.002205s/0.096511s=2.28%]
- 7/70 . CONNECT:[ UseTime:0.002026s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4 [0.002026s/0.096511s=2.10%]
- 8/70 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'bqc02rom2efqlcaa2dptl3f3bm' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001909s/0.096511s=1.98%]
- 9/70 . 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 < 1765017009 and b.endtime > 1765017009 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001884s/0.096511s=1.95%]
- 10/70 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [0.001830s/0.096511s=1.90%]
- 11/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001657s/0.096511s=1.72%]
- 12/70 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001585s/0.096511s=1.64%]
- 13/70 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001552s/0.096511s=1.61%]
- 14/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001522s/0.096511s=1.58%]
- 15/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.001519s/0.096511s=1.57%]
- 16/70 . UPDATE `cart` SET `deletetime`=1765017009 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'bqc02rom2efqlcaa2dptl3f3bm' AND `createtime` > 1764757809 ) AND `cart`.`deletetime` IS NULL [0.001491s/0.096511s=1.54%]
- 17/70 . SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.001454s/0.096511s=1.51%]
- 18/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001415s/0.096511s=1.47%]
- 19/70 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001409s/0.096511s=1.46%]
- 20/70 . SELECT @@session.sql_mode [0.001363s/0.096511s=1.41%]
- 21/70 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001349s/0.096511s=1.40%]
- 22/70 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001325s/0.096511s=1.37%]
- 23/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001318s/0.096511s=1.37%]
- 24/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001267s/0.096511s=1.31%]
- 25/70 . SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [0.001264s/0.096511s=1.31%]
- 26/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001255s/0.096511s=1.30%]
- 27/70 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (154,153,152,151,150) ) AND `discuss`.`deletetime` IS NULL [0.001251s/0.096511s=1.30%]
- 28/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001237s/0.096511s=1.28%]
- 29/70 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001232s/0.096511s=1.28%]
- 30/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001229s/0.096511s=1.27%]
- 31/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001212s/0.096511s=1.26%]
- 32/70 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001206s/0.096511s=1.25%]
- 33/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.001198s/0.096511s=1.24%]
- 34/70 . 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 = 8
and p.status = "up" and p.deletetime is null limit 40 [0.001195s/0.096511s=1.24%]
- 35/70 . SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [0.001172s/0.096511s=1.21%]
- 36/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [0.001151s/0.096511s=1.19%]
- 37/70 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [0.001145s/0.096511s=1.19%]
- 38/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001141s/0.096511s=1.18%]
- 39/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001076s/0.096511s=1.11%]
- 40/70 . 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.001036s/0.096511s=1.07%]
- 41/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001035s/0.096511s=1.07%]
- 42/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001019s/0.096511s=1.06%]
- 43/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001012s/0.096511s=1.05%]
- 44/70 . 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.001012s/0.096511s=1.05%]
- 45/70 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001009s/0.096511s=1.05%]
- 46/70 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001007s/0.096511s=1.04%]
- 47/70 . 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.001002s/0.096511s=1.04%]
- 48/70 . SELECT @@session.sql_mode [0.000997s/0.096511s=1.03%]
- 49/70 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000987s/0.096511s=1.02%]
- 50/70 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000981s/0.096511s=1.02%]
- 51/70 . SELECT @@session.sql_mode [0.000980s/0.096511s=1.02%]
- 52/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000977s/0.096511s=1.01%]
- 53/70 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000965s/0.096511s=1.00%]
- 54/70 . set time_zone = '+08:00' [0.000957s/0.096511s=0.99%]
- 55/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000949s/0.096511s=0.98%]
- 56/70 . SELECT * FROM `activity` WHERE ( ( 1765017009 > starttime && 1765017009 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000934s/0.096511s=0.97%]
- 57/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000926s/0.096511s=0.96%]
- 58/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000922s/0.096511s=0.96%]
- 59/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000922s/0.096511s=0.96%]
- 60/70 . SELECT `id` FROM `category` WHERE `path` = 'pet-8' LIMIT 1 [0.000916s/0.096511s=0.95%]
- 61/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000898s/0.096511s=0.93%]
- 62/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000886s/0.096511s=0.92%]
- 63/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000876s/0.096511s=0.91%]
- 64/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000867s/0.096511s=0.90%]
- 65/70 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000854s/0.096511s=0.88%]
- 66/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000841s/0.096511s=0.87%]
- 67/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000834s/0.096511s=0.86%]
- 68/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000808s/0.096511s=0.84%]
- 69/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000784s/0.096511s=0.81%]
- 70/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000759s/0.096511s=0.79%]
- 1/8. SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [8 times, 0.012274s/0.096511s=12.72%]
- 2/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004367s/0.096511s=4.52%]
- 3/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [4 times, 0.005025s/0.096511s=5.21%]
- 4/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [4 times, 0.004977s/0.096511s=5.16%]
- 5/8. SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [4 times, 0.004387s/0.096511s=4.55%]
- 6/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [4 times, 0.003834s/0.096511s=3.97%]
- 7/8. 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 [4 times, 0.004256s/0.096511s=4.41%]
- 8/8. SELECT @@session.sql_mode [3 times, 0.00334s/0.096511s=3.46%]
- Facebook track: Use:5.4592132568359ms