基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-07 00:04:42 HTTP/1.1 GET : lunbotu.test3.shoppaas.co/all?page=6
- 运行时间 : 0.513281s [ 吞吐率:1.95req/s ] 内存消耗:5,046.43kb 文件加载:258
- 查询信息 : [耗时:0.160134s/0.513281 31.20% ] 64 queries ,4 writes
- 缓存信息 : 25 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=dvt4i9rce4m1v8gbq5iplesf5o
- [ 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.000323s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000041s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ 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' => '6',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004182s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000101s ]
- [ 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.002357s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001697s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001728s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001666s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001633s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001696s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001671s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.000938s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001133s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001315s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001715s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001701s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001308s ]
- 1/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004182s ] [0.004182s/0.025381s=16.48%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002357s ] [0.002357s/0.025381s=9.29%]
- 3/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001728s ] [0.001728s/0.025381s=6.81%]
- 4/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001715s ] [0.001715s/0.025381s=6.76%]
- 5/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001701s ] [0.001701s/0.025381s=6.70%]
- 6/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001697s ] [0.001697s/0.025381s=6.69%]
- 7/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001696s ] [0.001696s/0.025381s=6.68%]
- 8/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001671s ] [0.001671s/0.025381s=6.58%]
- 9/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001666s ] [0.001666s/0.025381s=6.56%]
- 10/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001633s ] [0.001633s/0.025381s=6.43%]
- 11/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001315s ] [0.001315s/0.025381s=5.18%]
- 12/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001308s ] [0.001308s/0.025381s=5.15%]
- 13/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001133s ] [0.001133s/0.025381s=4.46%]
- 14/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.000938s ] [0.000938s/0.025381s=3.70%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000323s ] [0.000323s/0.025381s=1.27%]
- 16/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000101s ] [0.000101s/0.025381s=0.40%]
- 17/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.025381s=0.21%]
- 18/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.025381s=0.19%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000041s ] [0.000041s/0.025381s=0.16%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ] [0.000033s/0.025381s=0.13%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.025381s=0.11%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.025381s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002871s ] 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.000850s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001101s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001356s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000984s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000868s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000861s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000862s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001339s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000995s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000839s ]
- [ 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 < 1775491482 and b.endtime > 1775491482 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.003512s ]
- [ 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.016867s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000865s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000746s ]
- [ 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 < 1775491482 and b.endtime > 1775491482 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.001576s ]
- [ 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 < 1775491482 and b.endtime > 1775491482 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 60,12 [ RunTime:0.002324s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (445,444,443,442,441,440,439,438,437,436,435,434) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000954s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (445,444,443,442,441,440,439,438,437,436,435,434) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.006850s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775491482 > starttime && 1775491482 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001560s ]
- [ 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.000843s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000763s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000923s ]
- [ 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.001288s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000809s ]
- [ 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.001145s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000780s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001009s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000901s ]
- [ 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.026326s ]
- [ 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.001104s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 445 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001589s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 445 AND `pid` = 5835 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002053s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 445 AND `pid` = 5841 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001866s ]
- [ 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.000948s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 444 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001439s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 444 AND `pid` = 5826 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001009s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 444 AND `pid` = 5828 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001037s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 443 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001591s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 443 AND `pid` = 5816 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001038s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 443 AND `pid` = 5820 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001220s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 442 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001485s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 442 AND `pid` = 5802 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001139s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 442 AND `pid` = 5807 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001084s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 441 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001517s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 441 AND `pid` = 5786 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001045s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 441 AND `pid` = 5793 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004036s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 440 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001783s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 440 AND `pid` = 5775 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001915s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 440 AND `pid` = 5777 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001455s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 439 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001921s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 439 AND `pid` = 5767 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001419s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 439 AND `pid` = 5769 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001079s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 438 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001435s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 438 AND `pid` = 5756 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001057s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 438 AND `pid` = 5758 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001100s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 437 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001669s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 437 AND `pid` = 5738 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001200s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 437 AND `pid` = 5746 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.009011s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 436 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001624s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 436 AND `pid` = 5729 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.008156s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 436 AND `pid` = 5733 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001257s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 435 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001468s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 435 AND `pid` = 5720 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.007132s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 435 AND `pid` = 5727 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001304s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 434 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.003026s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 434 AND `pid` = 5712 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001051s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 434 AND `pid` = 5714 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000975s ]
- 1/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.026326s/0.160134s=16.44%]
- 2/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.016867s/0.160134s=10.53%]
- 3/69 . SELECT * FROM `product_sku` WHERE `product_id` = 437 AND `pid` = 5746 ORDER BY `weigh` ASC,`id` ASC [0.009011s/0.160134s=5.63%]
- 4/69 . SELECT * FROM `product_sku` WHERE `product_id` = 436 AND `pid` = 5729 ORDER BY `weigh` ASC,`id` ASC [0.008156s/0.160134s=5.09%]
- 5/69 . SELECT * FROM `product_sku` WHERE `product_id` = 435 AND `pid` = 5720 ORDER BY `weigh` ASC,`id` ASC [0.007132s/0.160134s=4.45%]
- 6/69 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (445,444,443,442,441,440,439,438,437,436,435,434) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.006850s/0.160134s=4.28%]
- 7/69 . SELECT * FROM `product_sku` WHERE `product_id` = 441 AND `pid` = 5793 ORDER BY `weigh` ASC,`id` ASC [0.004036s/0.160134s=2.52%]
- 8/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 < 1775491482 and b.endtime > 1775491482 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.003512s/0.160134s=2.19%]
- 9/69 . SELECT * FROM `product_sku` WHERE `product_id` = 434 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.003026s/0.160134s=1.89%]
- 10/69 . CONNECT:[ UseTime:0.002871s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1695693952517;charset=utf8mb4 [0.002871s/0.160134s=1.79%]
- 11/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 < 1775491482 and b.endtime > 1775491482 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 60,12 [0.002324s/0.160134s=1.45%]
- 12/69 . SELECT * FROM `product_sku` WHERE `product_id` = 445 AND `pid` = 5835 ORDER BY `weigh` ASC,`id` ASC [0.002053s/0.160134s=1.28%]
- 13/69 . SELECT * FROM `product_sku` WHERE `product_id` = 439 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001921s/0.160134s=1.20%]
- 14/69 . SELECT * FROM `product_sku` WHERE `product_id` = 440 AND `pid` = 5775 ORDER BY `weigh` ASC,`id` ASC [0.001915s/0.160134s=1.20%]
- 15/69 . SELECT * FROM `product_sku` WHERE `product_id` = 445 AND `pid` = 5841 ORDER BY `weigh` ASC,`id` ASC [0.001866s/0.160134s=1.17%]
- 16/69 . SELECT * FROM `product_sku` WHERE `product_id` = 440 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001783s/0.160134s=1.11%]
- 17/69 . SELECT * FROM `product_sku` WHERE `product_id` = 437 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001669s/0.160134s=1.04%]
- 18/69 . SELECT * FROM `product_sku` WHERE `product_id` = 436 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001624s/0.160134s=1.01%]
- 19/69 . SELECT * FROM `product_sku` WHERE `product_id` = 443 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001591s/0.160134s=0.99%]
- 20/69 . SELECT * FROM `product_sku` WHERE `product_id` = 445 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001589s/0.160134s=0.99%]
- 21/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 < 1775491482 and b.endtime > 1775491482 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.001576s/0.160134s=0.98%]
- 22/69 . SELECT * FROM `activity` WHERE ( ( 1775491482 > starttime && 1775491482 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001560s/0.160134s=0.97%]
- 23/69 . SELECT * FROM `product_sku` WHERE `product_id` = 441 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001517s/0.160134s=0.95%]
- 24/69 . SELECT * FROM `product_sku` WHERE `product_id` = 442 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001485s/0.160134s=0.93%]
- 25/69 . SELECT * FROM `product_sku` WHERE `product_id` = 435 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001468s/0.160134s=0.92%]
- 26/69 . SELECT * FROM `product_sku` WHERE `product_id` = 440 AND `pid` = 5777 ORDER BY `weigh` ASC,`id` ASC [0.001455s/0.160134s=0.91%]
- 27/69 . SELECT * FROM `product_sku` WHERE `product_id` = 444 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001439s/0.160134s=0.90%]
- 28/69 . SELECT * FROM `product_sku` WHERE `product_id` = 438 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001435s/0.160134s=0.90%]
- 29/69 . SELECT * FROM `product_sku` WHERE `product_id` = 439 AND `pid` = 5767 ORDER BY `weigh` ASC,`id` ASC [0.001419s/0.160134s=0.89%]
- 30/69 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001356s/0.160134s=0.85%]
- 31/69 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001339s/0.160134s=0.84%]
- 32/69 . SELECT * FROM `product_sku` WHERE `product_id` = 435 AND `pid` = 5727 ORDER BY `weigh` ASC,`id` ASC [0.001304s/0.160134s=0.81%]
- 33/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.001288s/0.160134s=0.80%]
- 34/69 . SELECT * FROM `product_sku` WHERE `product_id` = 436 AND `pid` = 5733 ORDER BY `weigh` ASC,`id` ASC [0.001257s/0.160134s=0.78%]
- 35/69 . SELECT * FROM `product_sku` WHERE `product_id` = 443 AND `pid` = 5820 ORDER BY `weigh` ASC,`id` ASC [0.001220s/0.160134s=0.76%]
- 36/69 . SELECT * FROM `product_sku` WHERE `product_id` = 437 AND `pid` = 5738 ORDER BY `weigh` ASC,`id` ASC [0.001200s/0.160134s=0.75%]
- 37/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.001145s/0.160134s=0.72%]
- 38/69 . SELECT * FROM `product_sku` WHERE `product_id` = 442 AND `pid` = 5802 ORDER BY `weigh` ASC,`id` ASC [0.001139s/0.160134s=0.71%]
- 39/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.001104s/0.160134s=0.69%]
- 40/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001101s/0.160134s=0.69%]
- 41/69 . SELECT * FROM `product_sku` WHERE `product_id` = 438 AND `pid` = 5758 ORDER BY `weigh` ASC,`id` ASC [0.001100s/0.160134s=0.69%]
- 42/69 . SELECT * FROM `product_sku` WHERE `product_id` = 442 AND `pid` = 5807 ORDER BY `weigh` ASC,`id` ASC [0.001084s/0.160134s=0.68%]
- 43/69 . SELECT * FROM `product_sku` WHERE `product_id` = 439 AND `pid` = 5769 ORDER BY `weigh` ASC,`id` ASC [0.001079s/0.160134s=0.67%]
- 44/69 . SELECT * FROM `product_sku` WHERE `product_id` = 438 AND `pid` = 5756 ORDER BY `weigh` ASC,`id` ASC [0.001057s/0.160134s=0.66%]
- 45/69 . SELECT * FROM `product_sku` WHERE `product_id` = 434 AND `pid` = 5712 ORDER BY `weigh` ASC,`id` ASC [0.001051s/0.160134s=0.66%]
- 46/69 . SELECT * FROM `product_sku` WHERE `product_id` = 441 AND `pid` = 5786 ORDER BY `weigh` ASC,`id` ASC [0.001045s/0.160134s=0.65%]
- 47/69 . SELECT * FROM `product_sku` WHERE `product_id` = 443 AND `pid` = 5816 ORDER BY `weigh` ASC,`id` ASC [0.001038s/0.160134s=0.65%]
- 48/69 . SELECT * FROM `product_sku` WHERE `product_id` = 444 AND `pid` = 5828 ORDER BY `weigh` ASC,`id` ASC [0.001037s/0.160134s=0.65%]
- 49/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001009s/0.160134s=0.63%]
- 50/69 . SELECT * FROM `product_sku` WHERE `product_id` = 444 AND `pid` = 5826 ORDER BY `weigh` ASC,`id` ASC [0.001009s/0.160134s=0.63%]
- 51/69 . SELECT @@session.sql_mode [0.000995s/0.160134s=0.62%]
- 52/69 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000984s/0.160134s=0.61%]
- 53/69 . SELECT * FROM `product_sku` WHERE `product_id` = 434 AND `pid` = 5714 ORDER BY `weigh` ASC,`id` ASC [0.000975s/0.160134s=0.61%]
- 54/69 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (445,444,443,442,441,440,439,438,437,436,435,434) ) AND `discuss`.`deletetime` IS NULL [0.000954s/0.160134s=0.60%]
- 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.000948s/0.160134s=0.59%]
- 56/69 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000930s/0.160134s=0.58%]
- 57/69 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000923s/0.160134s=0.58%]
- 58/69 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000901s/0.160134s=0.56%]
- 59/69 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000868s/0.160134s=0.54%]
- 60/69 . SELECT @@session.sql_mode [0.000865s/0.160134s=0.54%]
- 61/69 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000862s/0.160134s=0.54%]
- 62/69 . set time_zone = '+08:00' [0.000861s/0.160134s=0.54%]
- 63/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000850s/0.160134s=0.53%]
- 64/69 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000843s/0.160134s=0.53%]
- 65/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000839s/0.160134s=0.52%]
- 66/69 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000809s/0.160134s=0.51%]
- 67/69 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000780s/0.160134s=0.49%]
- 68/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000763s/0.160134s=0.48%]
- 69/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000746s/0.160134s=0.47%]
- 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.029666s/0.160134s=18.53%]
- 2/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002348s/0.160134s=1.47%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.00186s/0.160134s=1.16%]