基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-16 02:26:28 HTTP/1.1 GET : zctk01.test3.shoppaas.co/category/default.html
- 运行时间 : 0.206231s [ 吞吐率:4.85req/s ] 内存消耗:2,498.14kb 文件加载:262
- 查询信息 : [耗时:0.064461s/0.206231 31.26% ] 51 queries ,7 writes
- 缓存信息 : 27 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=i77km1flp3quqtaont3j6bdimr
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000369s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000066s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000088s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zctk01.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.55',
'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' => 'zctk01.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.005056s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000028s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000064s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1690445710602:',
'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.002474s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001846s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001787s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001733s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002433s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001710s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001753s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001347s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001002s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001679s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001667s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000948s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005056s ] [0.005056s/0.026144s=19.34%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002474s ] [0.002474s/0.026144s=9.46%]
- 3/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002433s ] [0.002433s/0.026144s=9.31%]
- 4/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001846s ] [0.001846s/0.026144s=7.06%]
- 5/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001787s ] [0.001787s/0.026144s=6.84%]
- 6/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001753s ] [0.001753s/0.026144s=6.71%]
- 7/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001733s ] [0.001733s/0.026144s=6.63%]
- 8/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001710s ] [0.001710s/0.026144s=6.54%]
- 9/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001679s ] [0.001679s/0.026144s=6.42%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001667s ] [0.001667s/0.026144s=6.38%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001347s ] [0.001347s/0.026144s=5.15%]
- 12/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001002s ] [0.001002s/0.026144s=3.83%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000948s ] [0.000948s/0.026144s=3.63%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000369s ] [0.000369s/0.026144s=1.41%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000088s ] [0.000088s/0.026144s=0.34%]
- 16/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000066s ] [0.000066s/0.026144s=0.25%]
- 17/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000064s ] [0.000064s/0.026144s=0.24%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000055s ] [0.000055s/0.026144s=0.21%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000028s ] [0.000028s/0.026144s=0.11%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.026144s=0.10%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.026144s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.006408s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1690445710602;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000924s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001111s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000864s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000966s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001069s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001115s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000805s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765823188 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'i77km1flp3quqtaont3j6bdimr' AND `createtime` > 1765563988 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001142s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000700s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000599s ]
- [ 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` = 'i77km1flp3quqtaont3j6bdimr' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.003110s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000899s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000802s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000779s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000749s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000703s ]
- [ 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 < 1765823189 and b.endtime > 1765823189 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(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001828s ]
- [ 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 (13,8,14,9,3,5,2,4,11,12,15,10) group by binary(p.name), binary(p1.name); [ RunTime:0.001559s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000869s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000684s ]
- [ 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 < 1765823189 and b.endtime > 1765823189 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(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001375s ]
- [ 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 < 1765823189 and b.endtime > 1765823189 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(11, category_ids) ) OR ( find_in_set(8, 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.001621s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (13,8,14,9,3,5,2,4,11,12,15,10) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000925s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (13,8,14,9,3,5,2,4,11,12,15,10) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001931s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765823189 > starttime && 1765823189 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000914s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000873s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001215s ]
- [ 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.000805s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c9e99e3656b0e6b445068cdcc894c76e' LIMIT 1 [ RunTime:0.000762s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000936s ]
- [ 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.001204s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001185s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000926s ]
- [ 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.001030s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/ef3b9b5e851384964ef55dace0ffed10.jpg' LIMIT 1 [ RunTime:0.000973s ]
- [ 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.000953s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'f01c510367480727acb173dd0073aab4' LIMIT 1 [ RunTime:0.001036s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2b772ec7956670b0233f61a0f43b6f63.jpg' LIMIT 1 [ RunTime:0.000891s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5d109ffe6d5820374796c2779ca678a4' LIMIT 1 [ RunTime:0.000994s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [ RunTime:0.000885s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'caf60996b683a083c22e8b1e0dbd10f9' LIMIT 1 [ RunTime:0.000787s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [ RunTime:0.000835s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [ RunTime:0.001211s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/fd0b7bf95c10a9d87d3e4da55225a478.webp' LIMIT 1 [ RunTime:0.000939s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/4fc8c1be074500a4/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'cf51a5b8e1113cda35f94b70a038faf1' LIMIT 1 [ RunTime:0.000804s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2766ba445c48995f6657f4b594f418b8.jpeg' LIMIT 1 [ RunTime:0.000800s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [ RunTime:0.000803s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/70cd1c50a8bb6a631bfdda228658c4ba.webp' LIMIT 1 [ RunTime:0.000827s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5c4c678aa0cefeffff9e111403bbf3a1' LIMIT 1 [ RunTime:0.000866s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [ RunTime:0.000925s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '049ea774b4f648cca1751d2009387751' LIMIT 1 [ RunTime:0.000789s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [ RunTime:0.000984s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '62bfc96095a0a0a7439fa65859856a08' LIMIT 1 [ RunTime:0.000748s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/392009d41781601a/91b4d0d7ee2b35f6182b09f20133d4ad.webp' LIMIT 1 [ RunTime:0.000737s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'b352acbb823224e685d739c90b298332' LIMIT 1 [ RunTime:0.000848s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/684322789833b82c7df11998dc15fd31.webp' LIMIT 1 [ RunTime:0.000777s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '287909f911a6d476e290df059f2ee84d' LIMIT 1 [ RunTime:0.000768s ]
- 1/59 . CONNECT:[ UseTime:0.006408s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1690445710602;charset=utf8mb4 [0.006408s/0.064461s=9.94%]
- 2/59 . 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` = 'i77km1flp3quqtaont3j6bdimr' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.003110s/0.064461s=4.82%]
- 3/59 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (13,8,14,9,3,5,2,4,11,12,15,10) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001931s/0.064461s=3.00%]
- 4/59 . 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 < 1765823189 and b.endtime > 1765823189 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(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001828s/0.064461s=2.84%]
- 5/59 . 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 < 1765823189 and b.endtime > 1765823189 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(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001621s/0.064461s=2.51%]
- 6/59 . 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 (13,8,14,9,3,5,2,4,11,12,15,10) group by binary(p.name), binary(p1.name); [0.001559s/0.064461s=2.42%]
- 7/59 . 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 < 1765823189 and b.endtime > 1765823189 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(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001375s/0.064461s=2.13%]
- 8/59 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001215s/0.064461s=1.88%]
- 9/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [0.001211s/0.064461s=1.88%]
- 10/59 . 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.001204s/0.064461s=1.87%]
- 11/59 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001185s/0.064461s=1.84%]
- 12/59 . UPDATE `cart` SET `deletetime`=1765823188 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'i77km1flp3quqtaont3j6bdimr' AND `createtime` > 1765563988 ) AND `cart`.`deletetime` IS NULL [0.001142s/0.064461s=1.77%]
- 13/59 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001115s/0.064461s=1.73%]
- 14/59 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001111s/0.064461s=1.72%]
- 15/59 . set time_zone = '+08:00' [0.001069s/0.064461s=1.66%]
- 16/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'f01c510367480727acb173dd0073aab4' LIMIT 1 [0.001036s/0.064461s=1.61%]
- 17/59 . 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.001030s/0.064461s=1.60%]
- 18/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5d109ffe6d5820374796c2779ca678a4' LIMIT 1 [0.000994s/0.064461s=1.54%]
- 19/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [0.000984s/0.064461s=1.53%]
- 20/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/ef3b9b5e851384964ef55dace0ffed10.jpg' LIMIT 1 [0.000973s/0.064461s=1.51%]
- 21/59 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000966s/0.064461s=1.50%]
- 22/59 . 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.000953s/0.064461s=1.48%]
- 23/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/fd0b7bf95c10a9d87d3e4da55225a478.webp' LIMIT 1 [0.000939s/0.064461s=1.46%]
- 24/59 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000936s/0.064461s=1.45%]
- 25/59 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000926s/0.064461s=1.44%]
- 26/59 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (13,8,14,9,3,5,2,4,11,12,15,10) ) AND `discuss`.`deletetime` IS NULL [0.000925s/0.064461s=1.43%]
- 27/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [0.000925s/0.064461s=1.43%]
- 28/59 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000924s/0.064461s=1.43%]
- 29/59 . SELECT * FROM `activity` WHERE ( ( 1765823189 > starttime && 1765823189 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000914s/0.064461s=1.42%]
- 30/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000899s/0.064461s=1.39%]
- 31/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/4fc8c1be074500a4/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [0.000894s/0.064461s=1.39%]
- 32/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2b772ec7956670b0233f61a0f43b6f63.jpg' LIMIT 1 [0.000891s/0.064461s=1.38%]
- 33/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [0.000885s/0.064461s=1.37%]
- 34/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000873s/0.064461s=1.35%]
- 35/59 . SELECT @@session.sql_mode [0.000869s/0.064461s=1.35%]
- 36/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5c4c678aa0cefeffff9e111403bbf3a1' LIMIT 1 [0.000866s/0.064461s=1.34%]
- 37/59 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000864s/0.064461s=1.34%]
- 38/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'b352acbb823224e685d739c90b298332' LIMIT 1 [0.000848s/0.064461s=1.32%]
- 39/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [0.000835s/0.064461s=1.30%]
- 40/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/70cd1c50a8bb6a631bfdda228658c4ba.webp' LIMIT 1 [0.000827s/0.064461s=1.28%]
- 41/59 . 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.000805s/0.064461s=1.25%]
- 42/59 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000805s/0.064461s=1.25%]
- 43/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'cf51a5b8e1113cda35f94b70a038faf1' LIMIT 1 [0.000804s/0.064461s=1.25%]
- 44/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [0.000803s/0.064461s=1.25%]
- 45/59 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000802s/0.064461s=1.24%]
- 46/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2766ba445c48995f6657f4b594f418b8.jpeg' LIMIT 1 [0.000800s/0.064461s=1.24%]
- 47/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '049ea774b4f648cca1751d2009387751' LIMIT 1 [0.000789s/0.064461s=1.22%]
- 48/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'caf60996b683a083c22e8b1e0dbd10f9' LIMIT 1 [0.000787s/0.064461s=1.22%]
- 49/59 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000779s/0.064461s=1.21%]
- 50/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/684322789833b82c7df11998dc15fd31.webp' LIMIT 1 [0.000777s/0.064461s=1.21%]
- 51/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '287909f911a6d476e290df059f2ee84d' LIMIT 1 [0.000768s/0.064461s=1.19%]
- 52/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c9e99e3656b0e6b445068cdcc894c76e' LIMIT 1 [0.000762s/0.064461s=1.18%]
- 53/59 . SELECT @@session.sql_mode [0.000749s/0.064461s=1.16%]
- 54/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '62bfc96095a0a0a7439fa65859856a08' LIMIT 1 [0.000748s/0.064461s=1.16%]
- 55/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/392009d41781601a/91b4d0d7ee2b35f6182b09f20133d4ad.webp' LIMIT 1 [0.000737s/0.064461s=1.14%]
- 56/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000703s/0.064461s=1.09%]
- 57/59 . SELECT @@session.sql_mode [0.000700s/0.064461s=1.09%]
- 58/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000684s/0.064461s=1.06%]
- 59/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000599s/0.064461s=0.93%]
- 1/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003758s/0.064461s=5.83%]
- 2/4. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.002788s/0.064461s=4.33%]
- 3/4. SELECT @@session.sql_mode [3 times, 0.002318s/0.064461s=3.60%]
- 4/4. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [2 times, 0.00172s/0.064461s=2.67%]