基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-07 00:03:58 HTTP/1.1 GET : lunbotu.test3.shoppaas.co/all?page=5
- 运行时间 : 0.473591s [ 吞吐率:2.11req/s ] 内存消耗:5,502.69kb 文件加载:258
- 查询信息 : [耗时:0.116383s/0.473591 24.57% ] 64 queries ,4 writes
- 缓存信息 : 25 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=ta7hont0cut3esbbnmdj4jq809
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000383s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000113s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'lunbotu.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.132',
'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' => 'lunbotu.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '5',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005722s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000059s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1695693952517:',
'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/customv1/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.004186s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001826s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001709s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001705s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001770s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001835s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001832s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001410s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001912s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001316s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001759s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001884s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001257s ]
- 1/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005722s ] [0.005722s/0.030924s=18.50%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.004186s ] [0.004186s/0.030924s=13.54%]
- 3/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001912s ] [0.001912s/0.030924s=6.18%]
- 4/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001884s ] [0.001884s/0.030924s=6.09%]
- 5/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001835s ] [0.001835s/0.030924s=5.93%]
- 6/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001832s ] [0.001832s/0.030924s=5.92%]
- 7/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001826s ] [0.001826s/0.030924s=5.90%]
- 8/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001770s ] [0.001770s/0.030924s=5.72%]
- 9/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001759s ] [0.001759s/0.030924s=5.69%]
- 10/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001709s ] [0.001709s/0.030924s=5.53%]
- 11/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001705s ] [0.001705s/0.030924s=5.51%]
- 12/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001410s ] [0.001410s/0.030924s=4.56%]
- 13/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001316s ] [0.001316s/0.030924s=4.26%]
- 14/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001257s ] [0.001257s/0.030924s=4.06%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000383s ] [0.000383s/0.030924s=1.24%]
- 16/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000113s ] [0.000113s/0.030924s=0.37%]
- 17/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000072s ] [0.000072s/0.030924s=0.23%]
- 18/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000067s ] [0.000067s/0.030924s=0.22%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ] [0.000060s/0.030924s=0.19%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000059s ] [0.000059s/0.030924s=0.19%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ] [0.000032s/0.030924s=0.10%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.030924s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002882s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1695693952517;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001321s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001129s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001101s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000993s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001052s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000904s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000996s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000924s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000932s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001046s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000905s ]
- [ 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 < 1775491438 and b.endtime > 1775491438 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.003184s ]
- [ 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 (2,1,503,502,501,500,499,498,497,496,495,494,493,492,491,490,489,488,487,486,485,484,483,482,481,480,479,478,477,476,475,474,473,472,471,470,469,468,467,466,465,464,463,462,461,460,459,458,457,456,455,454,453,452,451,450,449,448,447,446,445,444,443,442,441,440,439,438,437,436,435,434,433,432,431,430,429,428,427,426,425,424,423,422,421,420,419,418,417,416,415,414,413,412,411,410,409,408,407,406,405,404) group by binary(p.name), binary(p1.name); [ RunTime:0.010659s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001036s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000849s ]
- [ 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 < 1775491439 and b.endtime > 1775491439 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002182s ]
- [ 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 < 1775491439 and b.endtime > 1775491439 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 48,12 [ RunTime:0.002326s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (457,456,455,454,453,452,451,450,449,448,447,446) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001150s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (457,456,455,454,453,452,451,450,449,448,447,446) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.007534s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775491439 > starttime && 1775491439 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001105s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001278s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001320s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001815s ]
- [ 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.001078s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.002249s ]
- [ 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.001426s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001149s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001649s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001082s ]
- [ 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.001061s ]
- [ 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.002904s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 457 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001685s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 457 AND `pid` = 5984 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001147s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 457 AND `pid` = 5989 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001231s ]
- [ 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.001307s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 456 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001749s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 456 AND `pid` = 5973 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001093s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 456 AND `pid` = 5977 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001392s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 455 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001546s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 455 AND `pid` = 5961 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001628s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 455 AND `pid` = 5966 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001373s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 454 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002106s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 454 AND `pid` = 5953 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001410s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 454 AND `pid` = 5955 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001068s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 453 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001549s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 453 AND `pid` = 5937 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001151s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 453 AND `pid` = 5946 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001072s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 452 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001833s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 452 AND `pid` = 5924 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001774s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 452 AND `pid` = 5931 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001314s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 451 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001855s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 451 AND `pid` = 5913 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001573s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 451 AND `pid` = 5918 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001127s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 450 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001690s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 450 AND `pid` = 5902 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001369s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 450 AND `pid` = 5906 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001405s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 449 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001522s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 449 AND `pid` = 5887 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001102s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 449 AND `pid` = 5893 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001972s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 448 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.003174s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 448 AND `pid` = 5869 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001603s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 448 AND `pid` = 5878 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001810s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 447 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001330s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 447 AND `pid` = 5860 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001130s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 447 AND `pid` = 5862 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001146s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 446 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001793s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 446 AND `pid` = 5850 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001028s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 446 AND `pid` = 5853 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001105s ]
- 1/69 . 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 (2,1,503,502,501,500,499,498,497,496,495,494,493,492,491,490,489,488,487,486,485,484,483,482,481,480,479,478,477,476,475,474,473,472,471,470,469,468,467,466,465,464,463,462,461,460,459,458,457,456,455,454,453,452,451,450,449,448,447,446,445,444,443,442,441,440,439,438,437,436,435,434,433,432,431,430,429,428,427,426,425,424,423,422,421,420,419,418,417,416,415,414,413,412,411,410,409,408,407,406,405,404) group by binary(p.name), binary(p1.name); [0.010659s/0.116383s=9.16%]
- 2/69 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (457,456,455,454,453,452,451,450,449,448,447,446) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.007534s/0.116383s=6.47%]
- 3/69 . 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 < 1775491438 and b.endtime > 1775491438 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.003184s/0.116383s=2.74%]
- 4/69 . SELECT * FROM `product_sku` WHERE `product_id` = 448 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.003174s/0.116383s=2.73%]
- 5/69 . 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.002904s/0.116383s=2.50%]
- 6/69 . CONNECT:[ UseTime:0.002882s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1695693952517;charset=utf8mb4 [0.002882s/0.116383s=2.48%]
- 7/69 . 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 < 1775491439 and b.endtime > 1775491439 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 48,12 [0.002326s/0.116383s=2.00%]
- 8/69 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.002249s/0.116383s=1.93%]
- 9/69 . 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 < 1775491439 and b.endtime > 1775491439 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(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002182s/0.116383s=1.87%]
- 10/69 . SELECT * FROM `product_sku` WHERE `product_id` = 454 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002106s/0.116383s=1.81%]
- 11/69 . SELECT * FROM `product_sku` WHERE `product_id` = 449 AND `pid` = 5893 ORDER BY `weigh` ASC,`id` ASC [0.001972s/0.116383s=1.69%]
- 12/69 . SELECT * FROM `product_sku` WHERE `product_id` = 451 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001855s/0.116383s=1.59%]
- 13/69 . SELECT * FROM `product_sku` WHERE `product_id` = 452 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001833s/0.116383s=1.57%]
- 14/69 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001815s/0.116383s=1.56%]
- 15/69 . SELECT * FROM `product_sku` WHERE `product_id` = 448 AND `pid` = 5878 ORDER BY `weigh` ASC,`id` ASC [0.001810s/0.116383s=1.56%]
- 16/69 . SELECT * FROM `product_sku` WHERE `product_id` = 446 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001793s/0.116383s=1.54%]
- 17/69 . SELECT * FROM `product_sku` WHERE `product_id` = 452 AND `pid` = 5924 ORDER BY `weigh` ASC,`id` ASC [0.001774s/0.116383s=1.52%]
- 18/69 . SELECT * FROM `product_sku` WHERE `product_id` = 456 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001749s/0.116383s=1.50%]
- 19/69 . SELECT * FROM `product_sku` WHERE `product_id` = 450 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001690s/0.116383s=1.45%]
- 20/69 . SELECT * FROM `product_sku` WHERE `product_id` = 457 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001685s/0.116383s=1.45%]
- 21/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001649s/0.116383s=1.42%]
- 22/69 . SELECT * FROM `product_sku` WHERE `product_id` = 455 AND `pid` = 5961 ORDER BY `weigh` ASC,`id` ASC [0.001628s/0.116383s=1.40%]
- 23/69 . SELECT * FROM `product_sku` WHERE `product_id` = 448 AND `pid` = 5869 ORDER BY `weigh` ASC,`id` ASC [0.001603s/0.116383s=1.38%]
- 24/69 . SELECT * FROM `product_sku` WHERE `product_id` = 451 AND `pid` = 5913 ORDER BY `weigh` ASC,`id` ASC [0.001573s/0.116383s=1.35%]
- 25/69 . SELECT * FROM `product_sku` WHERE `product_id` = 453 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001549s/0.116383s=1.33%]
- 26/69 . SELECT * FROM `product_sku` WHERE `product_id` = 455 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001546s/0.116383s=1.33%]
- 27/69 . SELECT * FROM `product_sku` WHERE `product_id` = 449 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001522s/0.116383s=1.31%]
- 28/69 . 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.001426s/0.116383s=1.23%]
- 29/69 . SELECT * FROM `product_sku` WHERE `product_id` = 454 AND `pid` = 5953 ORDER BY `weigh` ASC,`id` ASC [0.001410s/0.116383s=1.21%]
- 30/69 . SELECT * FROM `product_sku` WHERE `product_id` = 450 AND `pid` = 5906 ORDER BY `weigh` ASC,`id` ASC [0.001405s/0.116383s=1.21%]
- 31/69 . SELECT * FROM `product_sku` WHERE `product_id` = 456 AND `pid` = 5977 ORDER BY `weigh` ASC,`id` ASC [0.001392s/0.116383s=1.20%]
- 32/69 . SELECT * FROM `product_sku` WHERE `product_id` = 455 AND `pid` = 5966 ORDER BY `weigh` ASC,`id` ASC [0.001373s/0.116383s=1.18%]
- 33/69 . SELECT * FROM `product_sku` WHERE `product_id` = 450 AND `pid` = 5902 ORDER BY `weigh` ASC,`id` ASC [0.001369s/0.116383s=1.18%]
- 34/69 . SELECT * FROM `product_sku` WHERE `product_id` = 447 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001330s/0.116383s=1.14%]
- 35/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001321s/0.116383s=1.14%]
- 36/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001320s/0.116383s=1.13%]
- 37/69 . SELECT * FROM `product_sku` WHERE `product_id` = 452 AND `pid` = 5931 ORDER BY `weigh` ASC,`id` ASC [0.001314s/0.116383s=1.13%]
- 38/69 . 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.001307s/0.116383s=1.12%]
- 39/69 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001278s/0.116383s=1.10%]
- 40/69 . SELECT * FROM `product_sku` WHERE `product_id` = 457 AND `pid` = 5989 ORDER BY `weigh` ASC,`id` ASC [0.001231s/0.116383s=1.06%]
- 41/69 . SELECT * FROM `product_sku` WHERE `product_id` = 453 AND `pid` = 5937 ORDER BY `weigh` ASC,`id` ASC [0.001151s/0.116383s=0.99%]
- 42/69 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (457,456,455,454,453,452,451,450,449,448,447,446) ) AND `discuss`.`deletetime` IS NULL [0.001150s/0.116383s=0.99%]
- 43/69 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001149s/0.116383s=0.99%]
- 44/69 . SELECT * FROM `product_sku` WHERE `product_id` = 457 AND `pid` = 5984 ORDER BY `weigh` ASC,`id` ASC [0.001147s/0.116383s=0.99%]
- 45/69 . SELECT * FROM `product_sku` WHERE `product_id` = 447 AND `pid` = 5862 ORDER BY `weigh` ASC,`id` ASC [0.001146s/0.116383s=0.98%]
- 46/69 . SELECT * FROM `product_sku` WHERE `product_id` = 447 AND `pid` = 5860 ORDER BY `weigh` ASC,`id` ASC [0.001130s/0.116383s=0.97%]
- 47/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001129s/0.116383s=0.97%]
- 48/69 . SELECT * FROM `product_sku` WHERE `product_id` = 451 AND `pid` = 5918 ORDER BY `weigh` ASC,`id` ASC [0.001127s/0.116383s=0.97%]
- 49/69 . SELECT * FROM `activity` WHERE ( ( 1775491439 > starttime && 1775491439 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001105s/0.116383s=0.95%]
- 50/69 . SELECT * FROM `product_sku` WHERE `product_id` = 446 AND `pid` = 5853 ORDER BY `weigh` ASC,`id` ASC [0.001105s/0.116383s=0.95%]
- 51/69 . SELECT * FROM `product_sku` WHERE `product_id` = 449 AND `pid` = 5887 ORDER BY `weigh` ASC,`id` ASC [0.001102s/0.116383s=0.95%]
- 52/69 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001101s/0.116383s=0.95%]
- 53/69 . SELECT * FROM `product_sku` WHERE `product_id` = 456 AND `pid` = 5973 ORDER BY `weigh` ASC,`id` ASC [0.001093s/0.116383s=0.94%]
- 54/69 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001082s/0.116383s=0.93%]
- 55/69 . 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.001078s/0.116383s=0.93%]
- 56/69 . SELECT * FROM `product_sku` WHERE `product_id` = 453 AND `pid` = 5946 ORDER BY `weigh` ASC,`id` ASC [0.001072s/0.116383s=0.92%]
- 57/69 . SELECT * FROM `product_sku` WHERE `product_id` = 454 AND `pid` = 5955 ORDER BY `weigh` ASC,`id` ASC [0.001068s/0.116383s=0.92%]
- 58/69 . 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.001061s/0.116383s=0.91%]
- 59/69 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001052s/0.116383s=0.90%]
- 60/69 . SELECT @@session.sql_mode [0.001046s/0.116383s=0.90%]
- 61/69 . SELECT @@session.sql_mode [0.001036s/0.116383s=0.89%]
- 62/69 . SELECT * FROM `product_sku` WHERE `product_id` = 446 AND `pid` = 5850 ORDER BY `weigh` ASC,`id` ASC [0.001028s/0.116383s=0.88%]
- 63/69 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000996s/0.116383s=0.86%]
- 64/69 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000993s/0.116383s=0.85%]
- 65/69 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000932s/0.116383s=0.80%]
- 66/69 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000924s/0.116383s=0.79%]
- 67/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000905s/0.116383s=0.78%]
- 68/69 . set time_zone = '+08:00' [0.000904s/0.116383s=0.78%]
- 69/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000849s/0.116383s=0.73%]
- 1/3. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [4 times, 0.00635s/0.116383s=5.46%]
- 2/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.003074s/0.116383s=2.64%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.002082s/0.116383s=1.79%]