基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-04-12 03:33:56 HTTP/1.1 GET : zxcustom1.test3.shoppaas.co/category/%E5%98%BB%E5%98%BB
- 运行时间 : 0.445348s [ 吞吐率:2.25req/s ] 内存消耗:25,615.87kb 文件加载:316
- 查询信息 : [耗时:0.089677s/0.445348 20.14% ] 57 queries ,4 writes
- 缓存信息 : 20 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=9casduibpolbepjkpu00n4v66c
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000549s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000101s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxcustom1.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.209',
'referer' => 'http://zxcustom1.test3.shoppaas.co/category/%E5%98%BB%E5%98%BB',
'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' => 'zxcustom1.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => '嘻嘻',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005200s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000216s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1718160946437:',
'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/ella/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 => 'global_css',
14 => 'theme_diy_mode',
15 => 'theme_config',
16 => 'icon_image',
17 => 'head_code',
18 => 'end_code',
19 => 'controllername',
20 => 'actionname',
21 => 'user',
22 => 'language',
23 => 'lang',
24 => 'is_rtl_lang',
25 => 'site',
26 => 'config',
27 => 'currency_switch',
28 => 'currency_list',
29 => 'currency_site',
30 => 'currency',
31 => 'cart',
32 => 'subscribing',
33 => 'login',
34 => 'policies',
35 => 'is_mobile',
36 => 'not_show_login',
37 => 'customer_login_status',
38 => 'config_site_version',
39 => 'category',
40 => 'filters',
41 => 'price',
42 => 'oldprice',
43 => 'oldsku',
44 => 'oldsupplier',
45 => 'productList',
46 => 'appends',
47 => 'product_review',
48 => 'empty',
49 => 'view',
50 => 'order',
51 => 'limit',
52 => 'seotitle',
53 => 'seokeywords',
54 => 'seodescription',
55 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003040s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001796s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001799s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001758s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001898s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001779s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001787s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.002378s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001297s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001202s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000056s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001839s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001050s ]
- 1/22 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005200s ] [0.005200s/0.028044s=18.54%]
- 2/22 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003040s ] [0.003040s/0.028044s=10.84%]
- 3/22 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.002378s ] [0.002378s/0.028044s=8.48%]
- 4/22 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001898s ] [0.001898s/0.028044s=6.77%]
- 5/22 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001839s ] [0.001839s/0.028044s=6.56%]
- 6/22 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001799s ] [0.001799s/0.028044s=6.41%]
- 7/22 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001796s ] [0.001796s/0.028044s=6.40%]
- 8/22 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001787s ] [0.001787s/0.028044s=6.37%]
- 9/22 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001779s ] [0.001779s/0.028044s=6.34%]
- 10/22 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001758s ] [0.001758s/0.028044s=6.27%]
- 11/22 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001297s ] [0.001297s/0.028044s=4.62%]
- 12/22 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001202s ] [0.001202s/0.028044s=4.29%]
- 13/22 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001050s ] [0.001050s/0.028044s=3.74%]
- 14/22 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000549s ] [0.000549s/0.028044s=1.96%]
- 15/22 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000216s ] [0.000216s/0.028044s=0.77%]
- 16/22 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000104s ] [0.000104s/0.028044s=0.37%]
- 17/22 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000101s ] [0.000101s/0.028044s=0.36%]
- 18/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000079s ] [0.000079s/0.028044s=0.28%]
- 19/22 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ] [0.000065s/0.028044s=0.23%]
- 20/22 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000056s ] [0.000056s/0.028044s=0.20%]
- 21/22 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000038s ] [0.000038s/0.028044s=0.14%]
- 22/22 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.028044s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002868s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718160946437;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001167s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001302s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.004178s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001239s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001170s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001098s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001122s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001146s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001193s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001701s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000911s ]
- [ 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 < 1775936037 and b.endtime > 1775936037 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001826s ]
- [ 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 (6,8,16,9,7,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.002174s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000942s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000907s ]
- [ 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 < 1775936037 and b.endtime > 1775936037 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001934s ]
- [ 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 < 1775936037 and b.endtime > 1775936037 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,20 [ RunTime:0.003138s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,8,16,9,7,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001184s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,8,16,9,7,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.003687s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1775936037 > starttime && 1775936037 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001292s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001181s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001158s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 3 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001387s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [ RunTime:0.001211s ]
- [ 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001330s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.002258s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001140s ]
- [ 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.001223s ]
- [ 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.001145s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 6 LIMIT 1 [ RunTime:0.001106s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 63 AND `status` = '1' LIMIT 1 [ RunTime:0.001067s ]
- [ 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.001019s ]
- [ 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.001278s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001302s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001062s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001050s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001282s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001731s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001635s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.001414s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 66 AND `status` = '1' LIMIT 1 [ RunTime:0.001283s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001196s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [ RunTime:0.001342s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 67 AND `status` = '1' LIMIT 1 [ RunTime:0.001281s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001278s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001293s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001133s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001509s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001432s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001028s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001653s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001461s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001344s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [ RunTime:0.001334s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 65 AND `status` = '1' LIMIT 1 [ RunTime:0.001256s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001365s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [ RunTime:0.001175s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001316s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001359s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [ RunTime:0.001334s ]
- [ SQL ] SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001147s ]
- 1/62 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.004178s/0.089677s=4.66%]
- 2/62 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,8,16,9,7,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.003687s/0.089677s=4.11%]
- 3/62 . 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 < 1775936037 and b.endtime > 1775936037 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,20 [0.003138s/0.089677s=3.50%]
- 4/62 . CONNECT:[ UseTime:0.002868s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718160946437;charset=utf8mb4 [0.002868s/0.089677s=3.20%]
- 5/62 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.002258s/0.089677s=2.52%]
- 6/62 . 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 (6,8,16,9,7,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.002174s/0.089677s=2.42%]
- 7/62 . 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 < 1775936037 and b.endtime > 1775936037 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001934s/0.089677s=2.16%]
- 8/62 . 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 < 1775936037 and b.endtime > 1775936037 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001826s/0.089677s=2.04%]
- 9/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001731s/0.089677s=1.93%]
- 10/62 . SELECT @@session.sql_mode [0.001701s/0.089677s=1.90%]
- 11/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001653s/0.089677s=1.84%]
- 12/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001635s/0.089677s=1.82%]
- 13/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001509s/0.089677s=1.68%]
- 14/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001461s/0.089677s=1.63%]
- 15/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001432s/0.089677s=1.60%]
- 16/62 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.001414s/0.089677s=1.58%]
- 17/62 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 3 AND `themes_id` = 15 LIMIT 1 [0.001387s/0.089677s=1.55%]
- 18/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001365s/0.089677s=1.52%]
- 19/62 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001359s/0.089677s=1.52%]
- 20/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001344s/0.089677s=1.50%]
- 21/62 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 5 LIMIT 1 [0.001342s/0.089677s=1.50%]
- 22/62 . SELECT `id` FROM `custom_activity` WHERE `id` = 62 AND `status` = '1' LIMIT 1 [0.001334s/0.089677s=1.49%]
- 23/62 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [0.001334s/0.089677s=1.49%]
- 24/62 . 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [0.001330s/0.089677s=1.48%]
- 25/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001316s/0.089677s=1.47%]
- 26/62 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001302s/0.089677s=1.45%]
- 27/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001302s/0.089677s=1.45%]
- 28/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001293s/0.089677s=1.44%]
- 29/62 . SELECT * FROM `activity` WHERE ( ( 1775936037 > starttime && 1775936037 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001292s/0.089677s=1.44%]
- 30/62 . SELECT `id` FROM `custom_activity` WHERE `id` = 66 AND `status` = '1' LIMIT 1 [0.001283s/0.089677s=1.43%]
- 31/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001282s/0.089677s=1.43%]
- 32/62 . SELECT `id` FROM `custom_activity` WHERE `id` = 67 AND `status` = '1' LIMIT 1 [0.001281s/0.089677s=1.43%]
- 33/62 . 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.001278s/0.089677s=1.43%]
- 34/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001278s/0.089677s=1.43%]
- 35/62 . SELECT `id` FROM `custom_activity` WHERE `id` = 65 AND `status` = '1' LIMIT 1 [0.001256s/0.089677s=1.40%]
- 36/62 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001239s/0.089677s=1.38%]
- 37/62 . 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.001223s/0.089677s=1.36%]
- 38/62 . SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [0.001211s/0.089677s=1.35%]
- 39/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001196s/0.089677s=1.33%]
- 40/62 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001193s/0.089677s=1.33%]
- 41/62 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,8,16,9,7,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.001184s/0.089677s=1.32%]
- 42/62 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001181s/0.089677s=1.32%]
- 43/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001175s/0.089677s=1.31%]
- 44/62 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001170s/0.089677s=1.30%]
- 45/62 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001167s/0.089677s=1.30%]
- 46/62 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001158s/0.089677s=1.29%]
- 47/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001147s/0.089677s=1.28%]
- 48/62 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001146s/0.089677s=1.28%]
- 49/62 . 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.001145s/0.089677s=1.28%]
- 50/62 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001140s/0.089677s=1.27%]
- 51/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001133s/0.089677s=1.26%]
- 52/62 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001122s/0.089677s=1.25%]
- 53/62 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 6 LIMIT 1 [0.001106s/0.089677s=1.23%]
- 54/62 . set time_zone = '+08:00' [0.001098s/0.089677s=1.22%]
- 55/62 . SELECT `id` FROM `custom_activity` WHERE `id` = 63 AND `status` = '1' LIMIT 1 [0.001067s/0.089677s=1.19%]
- 56/62 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [0.001062s/0.089677s=1.18%]
- 57/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001050s/0.089677s=1.17%]
- 58/62 . SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001028s/0.089677s=1.15%]
- 59/62 . 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.001019s/0.089677s=1.14%]
- 60/62 . SELECT @@session.sql_mode [0.000942s/0.089677s=1.05%]
- 61/62 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000911s/0.089677s=1.02%]
- 62/62 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000907s/0.089677s=1.01%]
- 1/5. SELECT jt.product_id
FROM `marketing_product_combination` pcm,
JSON_TABLE(
pcm.json,
"$[*]" COLUMNS (
product_id INT PATH "$.product_id"
)
) AS jt
WHERE
pcm.`starts_at` <= 1775936037
AND pcm.`ends_at` >= 1775936037
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [10 times, 0.012862s/0.089677s=14.34%]
- 2/5. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/afab8a026e2c93fe/1718161303564.webp' LIMIT 1 [10 times, 0.01353s/0.089677s=15.09%]
- 3/5. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [4 times, 0.004665s/0.089677s=5.20%]
- 4/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002999s/0.089677s=3.34%]
- 5/5. SELECT @@session.sql_mode [2 times, 0.002643s/0.089677s=2.95%]