基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-07 00:06:52 HTTP/1.1 GET : lunbotu.test3.shoppaas.co/all?page=2
- 运行时间 : 0.342524s [ 吞吐率:2.92req/s ] 内存消耗:5,281.95kb 文件加载:258
- 查询信息 : [耗时:0.108456s/0.342524 31.66% ] 64 queries ,4 writes
- 缓存信息 : 25 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=otmg60i29seanttkqfjn0uquka
- [ 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.000290s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ]
- [ 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',
'cookie' => 'currency_code=USD; PHPSESSID=otmg60i29seanttkqfjn0uquka; currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1717449633%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D',
'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' => '2',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006616s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000043s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000077s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000076s ]
- [ 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.002567s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001777s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001697s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001700s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001693s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001643s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001643s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001461s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001067s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001360s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002159s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001811s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001137s ]
- 1/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006616s ] [0.006616s/0.028973s=22.84%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002567s ] [0.002567s/0.028973s=8.86%]
- 3/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.002159s ] [0.002159s/0.028973s=7.45%]
- 4/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001811s ] [0.001811s/0.028973s=6.25%]
- 5/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001777s ] [0.001777s/0.028973s=6.13%]
- 6/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001700s ] [0.001700s/0.028973s=5.87%]
- 7/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001697s ] [0.001697s/0.028973s=5.86%]
- 8/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001693s ] [0.001693s/0.028973s=5.84%]
- 9/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001643s ] [0.001643s/0.028973s=5.67%]
- 10/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001643s ] [0.001643s/0.028973s=5.67%]
- 11/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001461s ] [0.001461s/0.028973s=5.04%]
- 12/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001360s ] [0.001360s/0.028973s=4.69%]
- 13/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001137s ] [0.001137s/0.028973s=3.92%]
- 14/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001067s ] [0.001067s/0.028973s=3.68%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000290s ] [0.000290s/0.028973s=1.00%]
- 16/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000077s ] [0.000077s/0.028973s=0.27%]
- 17/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000076s ] [0.000076s/0.028973s=0.26%]
- 18/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.028973s=0.19%]
- 19/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.028973s=0.17%]
- 20/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000043s ] [0.000043s/0.028973s=0.15%]
- 21/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ] [0.000040s/0.028973s=0.14%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.028973s=0.04%]
- [ DB ] CONNECT:[ UseTime:0.002720s ] 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.001045s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001225s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001267s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001042s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001178s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001030s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001007s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001067s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000914s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000712s ]
- [ 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 < 1775491612 and b.endtime > 1775491612 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.003341s ]
- [ 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.009695s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000926s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001060s ]
- [ 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 < 1775491612 and b.endtime > 1775491612 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.001985s ]
- [ 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 < 1775491612 and b.endtime > 1775491612 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 12,12 [ RunTime:0.001941s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (493,492,491,490,489,488,487,486,485,484,483,482) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001421s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (493,492,491,490,489,488,487,486,485,484,483,482) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.008084s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775491612 > starttime && 1775491612 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001261s ]
- [ 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.000991s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000915s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001070s ]
- [ 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.000959s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001127s ]
- [ 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.001119s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001303s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000940s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001012s ]
- [ 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.001074s ]
- [ 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.000975s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 493 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001618s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 493 AND `pid` = 6409 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001236s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 493 AND `pid` = 6412 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001148s ]
- [ 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.001254s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 492 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001820s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 492 AND `pid` = 6396 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001308s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 492 AND `pid` = 6404 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001216s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001627s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 6377 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001101s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 6382 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001350s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 6392 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001038s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 490 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001640s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 490 AND `pid` = 6370 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001111s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 490 AND `pid` = 6372 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001026s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 489 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001435s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 489 AND `pid` = 6361 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001332s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 489 AND `pid` = 6363 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001018s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 488 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001714s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 488 AND `pid` = 6346 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002703s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 488 AND `pid` = 6353 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002115s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 487 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001490s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 487 AND `pid` = 6334 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001226s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 487 AND `pid` = 6339 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001245s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 486 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001687s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 486 AND `pid` = 6321 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001279s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 486 AND `pid` = 6325 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001331s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 485 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001415s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 485 AND `pid` = 6312 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001494s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 485 AND `pid` = 6314 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001012s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 484 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001496s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 484 AND `pid` = 6301 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001059s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 484 AND `pid` = 6308 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001085s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 483 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002494s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 483 AND `pid` = 6295 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002017s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 482 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001552s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 482 AND `pid` = 6281 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001193s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 482 AND `pid` = 6283 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001235s ]
- 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.009695s/0.108456s=8.94%]
- 2/69 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (493,492,491,490,489,488,487,486,485,484,483,482) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.008084s/0.108456s=7.45%]
- 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 < 1775491612 and b.endtime > 1775491612 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.003341s/0.108456s=3.08%]
- 4/69 . CONNECT:[ UseTime:0.002720s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1695693952517;charset=utf8mb4 [0.002720s/0.108456s=2.51%]
- 5/69 . SELECT * FROM `product_sku` WHERE `product_id` = 488 AND `pid` = 6346 ORDER BY `weigh` ASC,`id` ASC [0.002703s/0.108456s=2.49%]
- 6/69 . SELECT * FROM `product_sku` WHERE `product_id` = 483 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002494s/0.108456s=2.30%]
- 7/69 . SELECT * FROM `product_sku` WHERE `product_id` = 488 AND `pid` = 6353 ORDER BY `weigh` ASC,`id` ASC [0.002115s/0.108456s=1.95%]
- 8/69 . SELECT * FROM `product_sku` WHERE `product_id` = 483 AND `pid` = 6295 ORDER BY `weigh` ASC,`id` ASC [0.002017s/0.108456s=1.86%]
- 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 < 1775491612 and b.endtime > 1775491612 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.001985s/0.108456s=1.83%]
- 10/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 < 1775491612 and b.endtime > 1775491612 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 12,12 [0.001941s/0.108456s=1.79%]
- 11/69 . SELECT * FROM `product_sku` WHERE `product_id` = 492 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001820s/0.108456s=1.68%]
- 12/69 . SELECT * FROM `product_sku` WHERE `product_id` = 488 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001714s/0.108456s=1.58%]
- 13/69 . SELECT * FROM `product_sku` WHERE `product_id` = 486 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001687s/0.108456s=1.56%]
- 14/69 . SELECT * FROM `product_sku` WHERE `product_id` = 490 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001640s/0.108456s=1.51%]
- 15/69 . SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001627s/0.108456s=1.50%]
- 16/69 . SELECT * FROM `product_sku` WHERE `product_id` = 493 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001618s/0.108456s=1.49%]
- 17/69 . SELECT * FROM `product_sku` WHERE `product_id` = 482 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001552s/0.108456s=1.43%]
- 18/69 . SELECT * FROM `product_sku` WHERE `product_id` = 484 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001496s/0.108456s=1.38%]
- 19/69 . SELECT * FROM `product_sku` WHERE `product_id` = 485 AND `pid` = 6312 ORDER BY `weigh` ASC,`id` ASC [0.001494s/0.108456s=1.38%]
- 20/69 . SELECT * FROM `product_sku` WHERE `product_id` = 487 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001490s/0.108456s=1.37%]
- 21/69 . SELECT * FROM `product_sku` WHERE `product_id` = 489 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001435s/0.108456s=1.32%]
- 22/69 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (493,492,491,490,489,488,487,486,485,484,483,482) ) AND `discuss`.`deletetime` IS NULL [0.001421s/0.108456s=1.31%]
- 23/69 . SELECT * FROM `product_sku` WHERE `product_id` = 485 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001415s/0.108456s=1.30%]
- 24/69 . SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 6382 ORDER BY `weigh` ASC,`id` ASC [0.001350s/0.108456s=1.24%]
- 25/69 . SELECT * FROM `product_sku` WHERE `product_id` = 489 AND `pid` = 6361 ORDER BY `weigh` ASC,`id` ASC [0.001332s/0.108456s=1.23%]
- 26/69 . SELECT * FROM `product_sku` WHERE `product_id` = 486 AND `pid` = 6325 ORDER BY `weigh` ASC,`id` ASC [0.001331s/0.108456s=1.23%]
- 27/69 . SELECT * FROM `product_sku` WHERE `product_id` = 492 AND `pid` = 6396 ORDER BY `weigh` ASC,`id` ASC [0.001308s/0.108456s=1.21%]
- 28/69 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001303s/0.108456s=1.20%]
- 29/69 . SELECT * FROM `product_sku` WHERE `product_id` = 486 AND `pid` = 6321 ORDER BY `weigh` ASC,`id` ASC [0.001279s/0.108456s=1.18%]
- 30/69 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001267s/0.108456s=1.17%]
- 31/69 . SELECT * FROM `activity` WHERE ( ( 1775491612 > starttime && 1775491612 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001261s/0.108456s=1.16%]
- 32/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.001254s/0.108456s=1.16%]
- 33/69 . SELECT * FROM `product_sku` WHERE `product_id` = 487 AND `pid` = 6339 ORDER BY `weigh` ASC,`id` ASC [0.001245s/0.108456s=1.15%]
- 34/69 . SELECT * FROM `product_sku` WHERE `product_id` = 493 AND `pid` = 6409 ORDER BY `weigh` ASC,`id` ASC [0.001236s/0.108456s=1.14%]
- 35/69 . SELECT * FROM `product_sku` WHERE `product_id` = 482 AND `pid` = 6283 ORDER BY `weigh` ASC,`id` ASC [0.001235s/0.108456s=1.14%]
- 36/69 . SELECT * FROM `product_sku` WHERE `product_id` = 487 AND `pid` = 6334 ORDER BY `weigh` ASC,`id` ASC [0.001226s/0.108456s=1.13%]
- 37/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001225s/0.108456s=1.13%]
- 38/69 . SELECT * FROM `product_sku` WHERE `product_id` = 492 AND `pid` = 6404 ORDER BY `weigh` ASC,`id` ASC [0.001216s/0.108456s=1.12%]
- 39/69 . SELECT * FROM `product_sku` WHERE `product_id` = 482 AND `pid` = 6281 ORDER BY `weigh` ASC,`id` ASC [0.001193s/0.108456s=1.10%]
- 40/69 . set time_zone = '+08:00' [0.001178s/0.108456s=1.09%]
- 41/69 . SELECT * FROM `product_sku` WHERE `product_id` = 493 AND `pid` = 6412 ORDER BY `weigh` ASC,`id` ASC [0.001148s/0.108456s=1.06%]
- 42/69 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001127s/0.108456s=1.04%]
- 43/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.001119s/0.108456s=1.03%]
- 44/69 . SELECT * FROM `product_sku` WHERE `product_id` = 490 AND `pid` = 6370 ORDER BY `weigh` ASC,`id` ASC [0.001111s/0.108456s=1.02%]
- 45/69 . SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 6377 ORDER BY `weigh` ASC,`id` ASC [0.001101s/0.108456s=1.02%]
- 46/69 . SELECT * FROM `product_sku` WHERE `product_id` = 484 AND `pid` = 6308 ORDER BY `weigh` ASC,`id` ASC [0.001085s/0.108456s=1.00%]
- 47/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.001074s/0.108456s=0.99%]
- 48/69 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001070s/0.108456s=0.99%]
- 49/69 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001067s/0.108456s=0.98%]
- 50/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001060s/0.108456s=0.98%]
- 51/69 . SELECT * FROM `product_sku` WHERE `product_id` = 484 AND `pid` = 6301 ORDER BY `weigh` ASC,`id` ASC [0.001059s/0.108456s=0.98%]
- 52/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001045s/0.108456s=0.96%]
- 53/69 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001042s/0.108456s=0.96%]
- 54/69 . SELECT * FROM `product_sku` WHERE `product_id` = 491 AND `pid` = 6392 ORDER BY `weigh` ASC,`id` ASC [0.001038s/0.108456s=0.96%]
- 55/69 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001030s/0.108456s=0.95%]
- 56/69 . SELECT * FROM `product_sku` WHERE `product_id` = 490 AND `pid` = 6372 ORDER BY `weigh` ASC,`id` ASC [0.001026s/0.108456s=0.95%]
- 57/69 . SELECT * FROM `product_sku` WHERE `product_id` = 489 AND `pid` = 6363 ORDER BY `weigh` ASC,`id` ASC [0.001018s/0.108456s=0.94%]
- 58/69 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001012s/0.108456s=0.93%]
- 59/69 . SELECT * FROM `product_sku` WHERE `product_id` = 485 AND `pid` = 6314 ORDER BY `weigh` ASC,`id` ASC [0.001012s/0.108456s=0.93%]
- 60/69 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001007s/0.108456s=0.93%]
- 61/69 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000991s/0.108456s=0.91%]
- 62/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.000975s/0.108456s=0.90%]
- 63/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.000959s/0.108456s=0.88%]
- 64/69 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000940s/0.108456s=0.87%]
- 65/69 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000930s/0.108456s=0.86%]
- 66/69 . SELECT @@session.sql_mode [0.000926s/0.108456s=0.85%]
- 67/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000915s/0.108456s=0.84%]
- 68/69 . SELECT @@session.sql_mode [0.000914s/0.108456s=0.84%]
- 69/69 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000712s/0.108456s=0.66%]
- 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.004262s/0.108456s=3.93%]
- 2/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002687s/0.108456s=2.48%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.00184s/0.108456s=1.70%]