基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-04 06:47:59 HTTP/1.1 GET : ella1.test3.shoppaas.co/all
- 运行时间 : 0.607005s [ 吞吐率:1.65req/s ] 内存消耗:23,796.93kb 文件加载:325
- 查询信息 : [耗时:0.314695s/0.607005 51.84% ] 50 queries ,7 writes
- 缓存信息 : 14 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=he7dr7sa0eobg0nte1ro356e3a
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000270s ]
- [ 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.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'ella1.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.41',
'cookie' => '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%3A1718832066%2C%22is_default%22%3A1%2C%22sort%22%3A0%7D; currency_code=USD; PHPSESSID=he7dr7sa0eobg0nte1ro356e3a',
'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' => 'ella1.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004927s ]
- [ 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.000066s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1706256935403:',
'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.125014s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002012s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001822s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001802s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002020s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002120s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002012s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.003878s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001096s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001709s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000916s ]
- 1/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.125014s ] [0.125014s/0.149933s=83.38%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004927s ] [0.004927s/0.149933s=3.29%]
- 3/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.003878s ] [0.003878s/0.149933s=2.59%]
- 4/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.002120s ] [0.002120s/0.149933s=1.41%]
- 5/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002020s ] [0.002020s/0.149933s=1.35%]
- 6/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002012s ] [0.002012s/0.149933s=1.34%]
- 7/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.002012s ] [0.002012s/0.149933s=1.34%]
- 8/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001822s ] [0.001822s/0.149933s=1.22%]
- 9/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001802s ] [0.001802s/0.149933s=1.20%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001709s ] [0.001709s/0.149933s=1.14%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001096s ] [0.001096s/0.149933s=0.73%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000916s ] [0.000916s/0.149933s=0.61%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000270s ] [0.000270s/0.149933s=0.18%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.149933s=0.04%]
- 15/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ] [0.000054s/0.149933s=0.04%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.149933s=0.04%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.149933s=0.03%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ] [0.000040s/0.149933s=0.03%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ] [0.000033s/0.149933s=0.02%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.149933s=0.02%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.149933s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.001876s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1706256935403;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000833s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000952s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001211s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001370s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001131s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000773s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000949s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001143s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1770158879 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'he7dr7sa0eobg0nte1ro356e3a' AND `createtime` > 1769899679 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001097s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000782s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000657s ]
- [ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'he7dr7sa0eobg0nte1ro356e3a' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001503s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000654s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001009s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000847s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000675s ]
- [ 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 < 1770158879 and b.endtime > 1770158879 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.011164s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.000991s ]
- [ 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 (4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.023509s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000834s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001273s ]
- [ 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 < 1770158879 and b.endtime > 1770158879 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.002449s ]
- [ 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 < 1770158879 and b.endtime > 1770158879 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 0,20 [ RunTime:0.001842s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.011503s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.016725s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1770158879 > starttime && 1770158879 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.002727s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.005235s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000786s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000881s ]
- [ 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.001054s ]
- [ SQL ] SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [ RunTime:0.008114s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.009828s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.003831s ]
- [ 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.120781s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.003644s ]
- [ 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.001760s ]
- [ 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.001574s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002523s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 4 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001781s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 9 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001727s ]
- [ 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.001392s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/db77b36d0e985833/c8527c92a99e43edd8818a50a50929d2.jpg' LIMIT 1 [ RunTime:0.013513s ]
- [ 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.007600s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002453s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/db77b36d0e985833/479984d176a824d6b2af23cabcc4889b.jpg' LIMIT 1 [ RunTime:0.001700s ]
- [ 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002384s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [ RunTime:0.008945s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.006637s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002488s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 1 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001197s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/2947cd914a380b72495d10ccdafd393d.png' LIMIT 1 [ RunTime:0.006200s ]
- [ 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001097s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001051s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000822s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000916s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/9924138b105e0af56261c7f8472b7243.png' LIMIT 1 [ RunTime:0.001132s ]
- [ 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001170s ]
- 1/58 . 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.120781s/0.314695s=38.38%]
- 2/58 . 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 (4,3,2,1) group by binary(p.name), binary(p1.name); [0.023509s/0.314695s=7.47%]
- 3/58 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.016725s/0.314695s=5.31%]
- 4/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/db77b36d0e985833/c8527c92a99e43edd8818a50a50929d2.jpg' LIMIT 1 [0.013513s/0.314695s=4.29%]
- 5/58 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.011503s/0.314695s=3.66%]
- 6/58 . 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 < 1770158879 and b.endtime > 1770158879 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.011164s/0.314695s=3.55%]
- 7/58 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.009828s/0.314695s=3.12%]
- 8/58 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 2 LIMIT 1 [0.008945s/0.314695s=2.84%]
- 9/58 . SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [0.008114s/0.314695s=2.58%]
- 10/58 . 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.007600s/0.314695s=2.42%]
- 11/58 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.006637s/0.314695s=2.11%]
- 12/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/2947cd914a380b72495d10ccdafd393d.png' LIMIT 1 [0.006200s/0.314695s=1.97%]
- 13/58 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.005235s/0.314695s=1.66%]
- 14/58 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.003831s/0.314695s=1.22%]
- 15/58 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.003644s/0.314695s=1.16%]
- 16/58 . SELECT * FROM `activity` WHERE ( ( 1770158879 > starttime && 1770158879 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.002727s/0.314695s=0.87%]
- 17/58 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002523s/0.314695s=0.80%]
- 18/58 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002488s/0.314695s=0.79%]
- 19/58 . SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002453s/0.314695s=0.78%]
- 20/58 . 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 < 1770158879 and b.endtime > 1770158879 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.002449s/0.314695s=0.78%]
- 21/58 . 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002384s/0.314695s=0.76%]
- 22/58 . CONNECT:[ UseTime:0.001876s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1706256935403;charset=utf8mb4 [0.001876s/0.314695s=0.60%]
- 23/58 . 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 < 1770158879 and b.endtime > 1770158879 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 0,20 [0.001842s/0.314695s=0.59%]
- 24/58 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 4 ORDER BY `weigh` ASC,`id` ASC [0.001781s/0.314695s=0.57%]
- 25/58 . 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.001760s/0.314695s=0.56%]
- 26/58 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 9 ORDER BY `weigh` ASC,`id` ASC [0.001727s/0.314695s=0.55%]
- 27/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/db77b36d0e985833/479984d176a824d6b2af23cabcc4889b.jpg' LIMIT 1 [0.001700s/0.314695s=0.54%]
- 28/58 . 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.001574s/0.314695s=0.50%]
- 29/58 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 'he7dr7sa0eobg0nte1ro356e3a' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001503s/0.314695s=0.48%]
- 30/58 . 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.001392s/0.314695s=0.44%]
- 31/58 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001370s/0.314695s=0.44%]
- 32/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001273s/0.314695s=0.40%]
- 33/58 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001211s/0.314695s=0.38%]
- 34/58 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 1 ORDER BY `weigh` ASC,`id` ASC [0.001197s/0.314695s=0.38%]
- 35/58 . 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001170s/0.314695s=0.37%]
- 36/58 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001143s/0.314695s=0.36%]
- 37/58 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/custom/base64/9924138b105e0af56261c7f8472b7243.png' LIMIT 1 [0.001132s/0.314695s=0.36%]
- 38/58 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001131s/0.314695s=0.36%]
- 39/58 . 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001097s/0.314695s=0.35%]
- 40/58 . UPDATE `cart` SET `deletetime`=1770158879 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'he7dr7sa0eobg0nte1ro356e3a' AND `createtime` > 1769899679 ) AND `cart`.`deletetime` IS NULL [0.001097s/0.314695s=0.35%]
- 41/58 . 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.001054s/0.314695s=0.33%]
- 42/58 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001051s/0.314695s=0.33%]
- 43/58 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001009s/0.314695s=0.32%]
- 44/58 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.000991s/0.314695s=0.31%]
- 45/58 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000952s/0.314695s=0.30%]
- 46/58 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000949s/0.314695s=0.30%]
- 47/58 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.000916s/0.314695s=0.29%]
- 48/58 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000881s/0.314695s=0.28%]
- 49/58 . SELECT @@session.sql_mode [0.000847s/0.314695s=0.27%]
- 50/58 . SELECT @@session.sql_mode [0.000834s/0.314695s=0.27%]
- 51/58 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000833s/0.314695s=0.26%]
- 52/58 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000822s/0.314695s=0.26%]
- 53/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000786s/0.314695s=0.25%]
- 54/58 . SELECT @@session.sql_mode [0.000782s/0.314695s=0.25%]
- 55/58 . set time_zone = '+08:00' [0.000773s/0.314695s=0.25%]
- 56/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000675s/0.314695s=0.21%]
- 57/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000657s/0.314695s=0.21%]
- 58/58 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000654s/0.314695s=0.21%]
- 1/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004045s/0.314695s=1.29%]
- 2/4. 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` <= 1770158880
AND pcm.`ends_at` >= 1770158880
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [4 times, 0.012251s/0.314695s=3.89%]
- 3/4. 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.00578s/0.314695s=1.84%]
- 4/4. SELECT @@session.sql_mode [3 times, 0.002463s/0.314695s=0.78%]