基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-11 23:46:00 HTTP/1.1 GET : zctk01.test3.shoppaas.co/category/default
- 运行时间 : 0.209022s [ 吞吐率:4.78req/s ] 内存消耗:2,500.69kb 文件加载:262
- 查询信息 : [耗时:0.06241s/0.209022 29.86% ] 51 queries ,7 writes
- 缓存信息 : 27 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=vl11qep7o093f0jkrkja373i85
- [ 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.000399s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000075s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ]
- [ 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.119',
'referer' => 'http://zctk01.test3.shoppaas.co/category/default',
'cookie' => 'PHPSESSID=vl11qep7o093f0jkrkja373i85; currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%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%2Fus.svg%22%2C%22updatetime%22%3A1714444771%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D; currency_code=USD',
'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.004425s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000041s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ]
- [ 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.002330s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001834s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001770s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001756s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001742s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001759s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001782s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001271s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001133s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001622s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001571s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001060s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004425s ] [0.004425s/0.024857s=17.80%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002330s ] [0.002330s/0.024857s=9.37%]
- 3/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001834s ] [0.001834s/0.024857s=7.38%]
- 4/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001782s ] [0.001782s/0.024857s=7.17%]
- 5/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001770s ] [0.001770s/0.024857s=7.12%]
- 6/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001759s ] [0.001759s/0.024857s=7.08%]
- 7/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001756s ] [0.001756s/0.024857s=7.06%]
- 8/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001742s ] [0.001742s/0.024857s=7.01%]
- 9/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001622s ] [0.001622s/0.024857s=6.53%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001571s ] [0.001571s/0.024857s=6.32%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001271s ] [0.001271s/0.024857s=5.11%]
- 12/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001133s ] [0.001133s/0.024857s=4.56%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001060s ] [0.001060s/0.024857s=4.26%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000399s ] [0.000399s/0.024857s=1.61%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000093s ] [0.000093s/0.024857s=0.37%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ] [0.000086s/0.024857s=0.35%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000075s ] [0.000075s/0.024857s=0.30%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000063s ] [0.000063s/0.024857s=0.25%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000041s ] [0.000041s/0.024857s=0.16%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ] [0.000033s/0.024857s=0.13%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.024857s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002822s ] 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.000968s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001199s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001026s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000936s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000809s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000808s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001102s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765467960 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'vl11qep7o093f0jkrkja373i85' AND `createtime` > 1765208760 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001158s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001042s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001142s ]
- [ 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` = 'vl11qep7o093f0jkrkja373i85' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001498s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000654s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000938s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001172s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000811s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000606s ]
- [ 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 < 1765467960 and b.endtime > 1765467960 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.002294s ]
- [ 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.002156s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000751s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000653s ]
- [ 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 < 1765467960 and b.endtime > 1765467960 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.001750s ]
- [ 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 < 1765467960 and b.endtime > 1765467960 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.001558s ]
- [ 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.000905s ]
- [ 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.001027s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765467960 > starttime && 1765467960 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000830s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000915s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000995s ]
- [ 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.000845s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c9e99e3656b0e6b445068cdcc894c76e' LIMIT 1 [ RunTime:0.000871s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000853s ]
- [ 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.001010s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001055s ]
- [ 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.001081s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/ef3b9b5e851384964ef55dace0ffed10.jpg' LIMIT 1 [ RunTime:0.001079s ]
- [ 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.001031s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'f01c510367480727acb173dd0073aab4' LIMIT 1 [ RunTime:0.000916s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2b772ec7956670b0233f61a0f43b6f63.jpg' LIMIT 1 [ RunTime:0.000933s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5d109ffe6d5820374796c2779ca678a4' LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [ RunTime:0.000938s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'caf60996b683a083c22e8b1e0dbd10f9' LIMIT 1 [ RunTime:0.000885s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [ RunTime:0.000936s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [ RunTime:0.001034s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/fd0b7bf95c10a9d87d3e4da55225a478.webp' LIMIT 1 [ RunTime:0.000933s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/4fc8c1be074500a4/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [ RunTime:0.000902s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'cf51a5b8e1113cda35f94b70a038faf1' LIMIT 1 [ RunTime:0.000975s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2766ba445c48995f6657f4b594f418b8.jpeg' LIMIT 1 [ RunTime:0.000828s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [ RunTime:0.000872s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/70cd1c50a8bb6a631bfdda228658c4ba.webp' LIMIT 1 [ RunTime:0.000978s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5c4c678aa0cefeffff9e111403bbf3a1' LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [ RunTime:0.000898s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '049ea774b4f648cca1751d2009387751' LIMIT 1 [ RunTime:0.000948s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [ RunTime:0.000985s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '62bfc96095a0a0a7439fa65859856a08' LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/392009d41781601a/91b4d0d7ee2b35f6182b09f20133d4ad.webp' LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'b352acbb823224e685d739c90b298332' LIMIT 1 [ RunTime:0.000996s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/684322789833b82c7df11998dc15fd31.webp' LIMIT 1 [ RunTime:0.001029s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '287909f911a6d476e290df059f2ee84d' LIMIT 1 [ RunTime:0.001058s ]
- 1/59 . CONNECT:[ UseTime:0.002822s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1690445710602;charset=utf8mb4 [0.002822s/0.06241s=4.52%]
- 2/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 < 1765467960 and b.endtime > 1765467960 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.002294s/0.06241s=3.68%]
- 3/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.002156s/0.06241s=3.45%]
- 4/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 < 1765467960 and b.endtime > 1765467960 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.001750s/0.06241s=2.80%]
- 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 < 1765467960 and b.endtime > 1765467960 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.001558s/0.06241s=2.50%]
- 6/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` = 'vl11qep7o093f0jkrkja373i85' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001498s/0.06241s=2.40%]
- 7/59 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001199s/0.06241s=1.92%]
- 8/59 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001172s/0.06241s=1.88%]
- 9/59 . UPDATE `cart` SET `deletetime`=1765467960 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'vl11qep7o093f0jkrkja373i85' AND `createtime` > 1765208760 ) AND `cart`.`deletetime` IS NULL [0.001158s/0.06241s=1.86%]
- 10/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001142s/0.06241s=1.83%]
- 11/59 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001102s/0.06241s=1.77%]
- 12/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.001081s/0.06241s=1.73%]
- 13/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/ef3b9b5e851384964ef55dace0ffed10.jpg' LIMIT 1 [0.001079s/0.06241s=1.73%]
- 14/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '287909f911a6d476e290df059f2ee84d' LIMIT 1 [0.001058s/0.06241s=1.70%]
- 15/59 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001055s/0.06241s=1.69%]
- 16/59 . SELECT @@session.sql_mode [0.001042s/0.06241s=1.67%]
- 17/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '62bfc96095a0a0a7439fa65859856a08' LIMIT 1 [0.001040s/0.06241s=1.67%]
- 18/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [0.001034s/0.06241s=1.66%]
- 19/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/392009d41781601a/91b4d0d7ee2b35f6182b09f20133d4ad.webp' LIMIT 1 [0.001031s/0.06241s=1.65%]
- 20/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.001031s/0.06241s=1.65%]
- 21/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/684322789833b82c7df11998dc15fd31.webp' LIMIT 1 [0.001029s/0.06241s=1.65%]
- 22/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.001027s/0.06241s=1.65%]
- 23/59 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001026s/0.06241s=1.64%]
- 24/59 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001017s/0.06241s=1.63%]
- 25/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.001010s/0.06241s=1.62%]
- 26/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'b352acbb823224e685d739c90b298332' LIMIT 1 [0.000996s/0.06241s=1.60%]
- 27/59 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000995s/0.06241s=1.59%]
- 28/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [0.000985s/0.06241s=1.58%]
- 29/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/70cd1c50a8bb6a631bfdda228658c4ba.webp' LIMIT 1 [0.000978s/0.06241s=1.57%]
- 30/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'cf51a5b8e1113cda35f94b70a038faf1' LIMIT 1 [0.000975s/0.06241s=1.56%]
- 31/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5c4c678aa0cefeffff9e111403bbf3a1' LIMIT 1 [0.000973s/0.06241s=1.56%]
- 32/59 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000968s/0.06241s=1.55%]
- 33/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5d109ffe6d5820374796c2779ca678a4' LIMIT 1 [0.000955s/0.06241s=1.53%]
- 34/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '049ea774b4f648cca1751d2009387751' LIMIT 1 [0.000948s/0.06241s=1.52%]
- 35/59 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000938s/0.06241s=1.50%]
- 36/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [0.000938s/0.06241s=1.50%]
- 37/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [0.000936s/0.06241s=1.50%]
- 38/59 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000936s/0.06241s=1.50%]
- 39/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/fd0b7bf95c10a9d87d3e4da55225a478.webp' LIMIT 1 [0.000933s/0.06241s=1.49%]
- 40/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2b772ec7956670b0233f61a0f43b6f63.jpg' LIMIT 1 [0.000933s/0.06241s=1.49%]
- 41/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'f01c510367480727acb173dd0073aab4' LIMIT 1 [0.000916s/0.06241s=1.47%]
- 42/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000915s/0.06241s=1.47%]
- 43/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.000905s/0.06241s=1.45%]
- 44/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/4fc8c1be074500a4/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [0.000902s/0.06241s=1.45%]
- 45/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [0.000898s/0.06241s=1.44%]
- 46/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'caf60996b683a083c22e8b1e0dbd10f9' LIMIT 1 [0.000885s/0.06241s=1.42%]
- 47/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [0.000872s/0.06241s=1.40%]
- 48/59 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c9e99e3656b0e6b445068cdcc894c76e' LIMIT 1 [0.000871s/0.06241s=1.40%]
- 49/59 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000853s/0.06241s=1.37%]
- 50/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.000845s/0.06241s=1.35%]
- 51/59 . SELECT * FROM `activity` WHERE ( ( 1765467960 > starttime && 1765467960 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000830s/0.06241s=1.33%]
- 52/59 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2766ba445c48995f6657f4b594f418b8.jpeg' LIMIT 1 [0.000828s/0.06241s=1.33%]
- 53/59 . SELECT @@session.sql_mode [0.000811s/0.06241s=1.30%]
- 54/59 . set time_zone = '+08:00' [0.000809s/0.06241s=1.30%]
- 55/59 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000808s/0.06241s=1.29%]
- 56/59 . SELECT @@session.sql_mode [0.000751s/0.06241s=1.20%]
- 57/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000654s/0.06241s=1.05%]
- 58/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000653s/0.06241s=1.05%]
- 59/59 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000606s/0.06241s=0.97%]
- 1/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.00397s/0.06241s=6.36%]
- 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.002957s/0.06241s=4.74%]
- 3/4. SELECT @@session.sql_mode [3 times, 0.002604s/0.06241s=4.17%]
- 4/4. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [2 times, 0.001874s/0.06241s=3.00%]