基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-16 07:22:19 HTTP/1.1 GET : zctk01.test3.shoppaas.co/all?page=1
- 运行时间 : 0.232837s [ 吞吐率:4.29req/s ] 内存消耗:2,509.96kb 文件加载:263
- 查询信息 : [耗时:0.074631s/0.232837 32.05% ] 56 queries ,7 writes
- 缓存信息 : 27 reads,7 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=8rsndk0r9jki3g2icg3sfgsktn
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000290s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000042s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000052s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ]
- [ 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 (
'page' => '1',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.007684s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000096s ]
- [ 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.004909s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001892s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001804s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001844s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001877s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001760s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001681s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001125s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001073s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001731s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001729s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000999s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.007684s ] [0.007684s/0.030722s=25.01%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.004909s ] [0.004909s/0.030722s=15.98%]
- 3/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001892s ] [0.001892s/0.030722s=6.16%]
- 4/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001877s ] [0.001877s/0.030722s=6.11%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001844s ] [0.001844s/0.030722s=6.00%]
- 6/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001804s ] [0.001804s/0.030722s=5.87%]
- 7/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001760s ] [0.001760s/0.030722s=5.73%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001731s ] [0.001731s/0.030722s=5.63%]
- 9/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001729s ] [0.001729s/0.030722s=5.63%]
- 10/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001681s ] [0.001681s/0.030722s=5.47%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001125s ] [0.001125s/0.030722s=3.66%]
- 12/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001073s ] [0.001073s/0.030722s=3.49%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000999s ] [0.000999s/0.030722s=3.25%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000290s ] [0.000290s/0.030722s=0.94%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000096s ] [0.000096s/0.030722s=0.31%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000054s ] [0.000054s/0.030722s=0.18%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000052s ] [0.000052s/0.030722s=0.17%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000042s ] [0.000042s/0.030722s=0.14%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000038s ] [0.000038s/0.030722s=0.12%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ] [0.000031s/0.030722s=0.10%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.030722s=0.04%]
- [ DB ] CONNECT:[ UseTime:0.003693s ] 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.000857s ]
- [ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.001297s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001062s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000894s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000855s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000757s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000865s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000766s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765840939 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8rsndk0r9jki3g2icg3sfgsktn' AND `createtime` > 1765581739 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001151s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000744s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000683s ]
- [ 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` = '8rsndk0r9jki3g2icg3sfgsktn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001648s ]
- [ 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 `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001061s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001054s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000816s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000667s ]
- [ 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 < 1765840939 and b.endtime > 1765840939 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(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.003739s ]
- [ 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,1,3,5,2,4,11,6,12,7,15,10) group by binary(p.name), binary(p1.name); [ RunTime:0.003523s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000692s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000610s ]
- [ 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 < 1765840939 and b.endtime > 1765840939 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(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001465s ]
- [ 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 < 1765840939 and b.endtime > 1765840939 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(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001674s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (13,8,14,9,1,3,5,2,4,11,6,12) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000971s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (13,8,14,9,1,3,5,2,4,11,6,12) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001173s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765840939 > starttime && 1765840939 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000821s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 11 LIMIT 1 [ RunTime:0.001361s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000926s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000946s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 9 LIMIT 1 [ RunTime:0.001022s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000969s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.002695s ]
- [ 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.001165s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001360s ]
- [ 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.003104s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000977s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001959s ]
- [ 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.000907s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/ef3b9b5e851384964ef55dace0ffed10.jpg' LIMIT 1 [ RunTime:0.002138s ]
- [ 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.000955s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'f01c510367480727acb173dd0073aab4' LIMIT 1 [ RunTime:0.000784s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2b772ec7956670b0233f61a0f43b6f63.jpg' LIMIT 1 [ RunTime:0.000811s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5d109ffe6d5820374796c2779ca678a4' LIMIT 1 [ RunTime:0.000875s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [ RunTime:0.000914s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'caf60996b683a083c22e8b1e0dbd10f9' LIMIT 1 [ RunTime:0.000774s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [ RunTime:0.000798s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [ RunTime:0.000764s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/d083e66c13d420c0254b54d5d7dc52a6.jpeg' LIMIT 1 [ RunTime:0.000818s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [ RunTime:0.000735s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/fd0b7bf95c10a9d87d3e4da55225a478.webp' LIMIT 1 [ RunTime:0.000948s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/4fc8c1be074500a4/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [ RunTime:0.000863s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'cf51a5b8e1113cda35f94b70a038faf1' LIMIT 1 [ RunTime:0.001039s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2766ba445c48995f6657f4b594f418b8.jpeg' LIMIT 1 [ RunTime:0.000821s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [ RunTime:0.001069s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/70cd1c50a8bb6a631bfdda228658c4ba.webp' LIMIT 1 [ RunTime:0.000853s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5c4c678aa0cefeffff9e111403bbf3a1' LIMIT 1 [ RunTime:0.000999s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [ RunTime:0.000919s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '049ea774b4f648cca1751d2009387751' LIMIT 1 [ RunTime:0.000876s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [ RunTime:0.000776s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '87e0a55a6b0d354faaae152007d1aa43' LIMIT 1 [ RunTime:0.000748s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [ RunTime:0.000787s ]
- [ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '62bfc96095a0a0a7439fa65859856a08' LIMIT 1 [ RunTime:0.000923s ]
- 1/64 . 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 < 1765840939 and b.endtime > 1765840939 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(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.003739s/0.074631s=5.01%]
- 2/64 . CONNECT:[ UseTime:0.003693s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1690445710602;charset=utf8mb4 [0.003693s/0.074631s=4.95%]
- 3/64 . 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,1,3,5,2,4,11,6,12,7,15,10) group by binary(p.name), binary(p1.name); [0.003523s/0.074631s=4.72%]
- 4/64 . 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [0.003104s/0.074631s=4.16%]
- 5/64 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.002695s/0.074631s=3.61%]
- 6/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/ef3b9b5e851384964ef55dace0ffed10.jpg' LIMIT 1 [0.002138s/0.074631s=2.86%]
- 7/64 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001959s/0.074631s=2.62%]
- 8/64 . 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 < 1765840939 and b.endtime > 1765840939 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(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001674s/0.074631s=2.24%]
- 9/64 . 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` = '8rsndk0r9jki3g2icg3sfgsktn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001648s/0.074631s=2.21%]
- 10/64 . 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 < 1765840939 and b.endtime > 1765840939 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(10, category_ids) ) OR ( find_in_set(9, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(7, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(11, category_ids) ) OR ( find_in_set(8, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001465s/0.074631s=1.96%]
- 11/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 11 LIMIT 1 [0.001361s/0.074631s=1.82%]
- 12/64 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001360s/0.074631s=1.82%]
- 13/64 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001297s/0.074631s=1.74%]
- 14/64 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (13,8,14,9,1,3,5,2,4,11,6,12) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001173s/0.074631s=1.57%]
- 15/64 . 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.001165s/0.074631s=1.56%]
- 16/64 . UPDATE `cart` SET `deletetime`=1765840939 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8rsndk0r9jki3g2icg3sfgsktn' AND `createtime` > 1765581739 ) AND `cart`.`deletetime` IS NULL [0.001151s/0.074631s=1.54%]
- 17/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [0.001069s/0.074631s=1.43%]
- 18/64 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001062s/0.074631s=1.42%]
- 19/64 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001061s/0.074631s=1.42%]
- 20/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001054s/0.074631s=1.41%]
- 21/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'cf51a5b8e1113cda35f94b70a038faf1' LIMIT 1 [0.001039s/0.074631s=1.39%]
- 22/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001031s/0.074631s=1.38%]
- 23/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 9 LIMIT 1 [0.001022s/0.074631s=1.37%]
- 24/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5c4c678aa0cefeffff9e111403bbf3a1' LIMIT 1 [0.000999s/0.074631s=1.34%]
- 25/64 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000977s/0.074631s=1.31%]
- 26/64 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (13,8,14,9,1,3,5,2,4,11,6,12) ) AND `discuss`.`deletetime` IS NULL [0.000971s/0.074631s=1.30%]
- 27/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000969s/0.074631s=1.30%]
- 28/64 . 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.000955s/0.074631s=1.28%]
- 29/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/fd0b7bf95c10a9d87d3e4da55225a478.webp' LIMIT 1 [0.000948s/0.074631s=1.27%]
- 30/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.000946s/0.074631s=1.27%]
- 31/64 . SELECT `name` FROM `product_supplier` WHERE `id` = 10 LIMIT 1 [0.000926s/0.074631s=1.24%]
- 32/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '62bfc96095a0a0a7439fa65859856a08' LIMIT 1 [0.000923s/0.074631s=1.24%]
- 33/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [0.000919s/0.074631s=1.23%]
- 34/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [0.000914s/0.074631s=1.22%]
- 35/64 . 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.000907s/0.074631s=1.22%]
- 36/64 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000894s/0.074631s=1.20%]
- 37/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '049ea774b4f648cca1751d2009387751' LIMIT 1 [0.000876s/0.074631s=1.17%]
- 38/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '5d109ffe6d5820374796c2779ca678a4' LIMIT 1 [0.000875s/0.074631s=1.17%]
- 39/64 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000865s/0.074631s=1.16%]
- 40/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/4fc8c1be074500a4/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [0.000863s/0.074631s=1.16%]
- 41/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000857s/0.074631s=1.15%]
- 42/64 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000855s/0.074631s=1.15%]
- 43/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/70cd1c50a8bb6a631bfdda228658c4ba.webp' LIMIT 1 [0.000853s/0.074631s=1.14%]
- 44/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2766ba445c48995f6657f4b594f418b8.jpeg' LIMIT 1 [0.000821s/0.074631s=1.10%]
- 45/64 . SELECT * FROM `activity` WHERE ( ( 1765840939 > starttime && 1765840939 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000821s/0.074631s=1.10%]
- 46/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/d083e66c13d420c0254b54d5d7dc52a6.jpeg' LIMIT 1 [0.000818s/0.074631s=1.10%]
- 47/64 . SELECT @@session.sql_mode [0.000816s/0.074631s=1.09%]
- 48/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/11c40b590f41ceb0/2b772ec7956670b0233f61a0f43b6f63.jpg' LIMIT 1 [0.000811s/0.074631s=1.09%]
- 49/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [0.000798s/0.074631s=1.07%]
- 50/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/b167cd9d2a4a1fe09c8009986dff0125.webp' LIMIT 1 [0.000787s/0.074631s=1.05%]
- 51/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'f01c510367480727acb173dd0073aab4' LIMIT 1 [0.000784s/0.074631s=1.05%]
- 52/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [0.000776s/0.074631s=1.04%]
- 53/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'caf60996b683a083c22e8b1e0dbd10f9' LIMIT 1 [0.000774s/0.074631s=1.04%]
- 54/64 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000766s/0.074631s=1.03%]
- 55/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd8974c6d5c2f54dd18df0222b21c6b06' LIMIT 1 [0.000764s/0.074631s=1.02%]
- 56/64 . set time_zone = '+08:00' [0.000757s/0.074631s=1.01%]
- 57/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '87e0a55a6b0d354faaae152007d1aa43' LIMIT 1 [0.000748s/0.074631s=1.00%]
- 58/64 . SELECT @@session.sql_mode [0.000744s/0.074631s=1.00%]
- 59/64 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [0.000735s/0.074631s=0.98%]
- 60/64 . SELECT @@session.sql_mode [0.000692s/0.074631s=0.93%]
- 61/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000684s/0.074631s=0.92%]
- 62/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000683s/0.074631s=0.92%]
- 63/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000667s/0.074631s=0.89%]
- 64/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000610s/0.074631s=0.82%]
- 1/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003613s/0.074631s=4.84%]
- 2/5. 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.003027s/0.074631s=4.06%]
- 3/5. SELECT @@session.sql_mode [3 times, 0.002252s/0.074631s=3.02%]
- 4/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ca6d1b6d029ae1bd/e3da563eb0239805a3ef732f2ee3c15a.webp' LIMIT 1 [2 times, 0.001695s/0.074631s=2.27%]
- 5/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/7eec7234b68a0939/9b088e2dbbe12c0b7b22ed1247466833.webp' LIMIT 1 [2 times, 0.001712s/0.074631s=2.29%]