基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-01-23 23:35:50 HTTP/1.1 GET : lyrojhem.test.saascdn.co/all
- 运行时间 : 0.607206s [ 吞吐率:1.65req/s ] 内存消耗:22,976.01kb 文件加载:378
- 查询信息 : [耗时:0.144374s/0.607206 23.78% ] 52 queries ,7 writes
- 缓存信息 : 11 reads,3 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=pgqvd6n3bnl1si2nj7to4ma1ct
- [ 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.000238s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000064s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'lyrojhem.test.saascdn.co',
'x-forwarded-for' => '216.73.216.105',
'cookie' => 'currency=%7B%22id%22%3A51%2C%22title%22%3A%22%E5%8A%A0%E7%BA%B3%E5%A1%9E%E5%9C%B0%EF%BC%88GHS%EF%BC%89%22%2C%22code%22%3A%22GHS%22%2C%22symbol_left%22%3A%22%E2%82%B5%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%2Fgh.svg%22%2C%22updatetime%22%3A1758372503%2C%22is_default%22%3A1%2C%22sort%22%3A196%7D; currency_code=GHS; PHPSESSID=pgqvd6n3bnl1si2nj7to4ma1ct',
'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' => 'lyrojhem.test.saascdn.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.004456s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ 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_1754554336844:',
'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.008899s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
3 => 'pay_step',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.137865s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001890s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001716s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001784s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001617s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001726s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001425s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001095s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001866s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001059s ]
- 1/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.137865s ] [0.137865s/0.165979s=83.06%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.008899s ] [0.008899s/0.165979s=5.36%]
- 3/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004456s ] [0.004456s/0.165979s=2.68%]
- 4/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001890s ] [0.001890s/0.165979s=1.14%]
- 5/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001866s ] [0.001866s/0.165979s=1.12%]
- 6/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001784s ] [0.001784s/0.165979s=1.07%]
- 7/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001726s ] [0.001726s/0.165979s=1.04%]
- 8/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001716s ] [0.001716s/0.165979s=1.03%]
- 9/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001617s ] [0.001617s/0.165979s=0.97%]
- 10/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001425s ] [0.001425s/0.165979s=0.86%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001095s ] [0.001095s/0.165979s=0.66%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001059s ] [0.001059s/0.165979s=0.64%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000238s ] [0.000238s/0.165979s=0.14%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.165979s=0.04%]
- 15/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000064s ] [0.000064s/0.165979s=0.04%]
- 16/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000058s ] [0.000058s/0.165979s=0.03%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000046s ] [0.000046s/0.165979s=0.03%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000037s ] [0.000037s/0.165979s=0.02%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000033s ] [0.000033s/0.165979s=0.02%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.165979s=0.02%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.165979s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.004913s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1754554336844;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001217s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001350s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000924s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001060s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000938s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000847s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1769182550 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'pgqvd6n3bnl1si2nj7to4ma1ct' AND `createtime` > 1768923350 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001111s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000753s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000691s ]
- [ 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` = 'pgqvd6n3bnl1si2nj7to4ma1ct' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.003469s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000889s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001201s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001014s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000649s ]
- [ 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 < 1769182550 and b.endtime > 1769182550 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.010899s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'GHS' LIMIT 1 [ RunTime:0.002120s ]
- [ 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,5,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.012214s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000937s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000756s ]
- [ 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 < 1769182550 and b.endtime > 1769182550 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.001698s ]
- [ 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 < 1769182550 and b.endtime > 1769182550 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.001670s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,5,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.006515s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,5,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.008677s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1769182550 > starttime && 1769182550 < 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.001192s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.005747s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000878s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000928s ]
- [ 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.000943s ]
- [ SQL ] SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [ RunTime:0.004889s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.007094s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001142s ]
- [ 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.007283s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001269s ]
- [ 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.001059s ]
- [ 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.000913s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001023s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 12 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001031s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 16 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000922s ]
- [ 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.000811s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/734ec355ddc374870fa9eec0b1d1e582.jpg' LIMIT 1 [ RunTime:0.005977s ]
- [ 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` <= 1769182550
AND pcm.`ends_at` >= 1769182550
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.006533s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001049s ]
- [ SQL ] SELECT `a`.`id`,`a`.`json` FROM `marketing_product_combination` `a` INNER JOIN `marketing_activity_product_combination` `b` ON `a`.`id`=b.product_combination_id and b.product_id = 4 WHERE `a`.`starts_at` <= 1769182550 AND `a`.`ends_at` >= 1769182550 AND `a`.`status` = 'enable' LIMIT 1 [ RunTime:0.008020s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001117s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 20 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001053s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 25 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001251s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/1758091777835.jpg' LIMIT 1 [ RunTime:0.001292s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001305s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 5 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000942s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [ RunTime:0.001379s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001194s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [ RunTime:0.001249s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001294s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 1 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001076s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/f415db8d6fe234833c15ed4d730ccc77.jpg' LIMIT 1 [ RunTime:0.001435s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/f415db8d6fe234833c15ed4d730ccc77.jpg' LIMIT 1 [ RunTime:0.001340s ]
- 1/60 . 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,5,3,2,1) group by binary(p.name), binary(p1.name); [0.012214s/0.144374s=8.46%]
- 2/60 . 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 < 1769182550 and b.endtime > 1769182550 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.010899s/0.144374s=7.55%]
- 3/60 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,5,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.008677s/0.144374s=6.01%]
- 4/60 . SELECT `a`.`id`,`a`.`json` FROM `marketing_product_combination` `a` INNER JOIN `marketing_activity_product_combination` `b` ON `a`.`id`=b.product_combination_id and b.product_id = 4 WHERE `a`.`starts_at` <= 1769182550 AND `a`.`ends_at` >= 1769182550 AND `a`.`status` = 'enable' LIMIT 1 [0.008020s/0.144374s=5.56%]
- 5/60 . 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.007283s/0.144374s=5.04%]
- 6/60 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.007094s/0.144374s=4.91%]
- 7/60 . 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` <= 1769182550
AND pcm.`ends_at` >= 1769182550
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.006533s/0.144374s=4.53%]
- 8/60 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (4,5,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.006515s/0.144374s=4.51%]
- 9/60 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/734ec355ddc374870fa9eec0b1d1e582.jpg' LIMIT 1 [0.005977s/0.144374s=4.14%]
- 10/60 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.005747s/0.144374s=3.98%]
- 11/60 . CONNECT:[ UseTime:0.004913s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1754554336844;charset=utf8mb4 [0.004913s/0.144374s=3.40%]
- 12/60 . SELECT * FROM `themes_template` WHERE `template` = 'ella' LIMIT 1 [0.004889s/0.144374s=3.39%]
- 13/60 . 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` = 'pgqvd6n3bnl1si2nj7to4ma1ct' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.003469s/0.144374s=2.40%]
- 14/60 . SELECT * FROM `currency` WHERE `code` = 'GHS' LIMIT 1 [0.002120s/0.144374s=1.47%]
- 15/60 . 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 < 1769182550 and b.endtime > 1769182550 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.001698s/0.144374s=1.18%]
- 16/60 . 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 < 1769182550 and b.endtime > 1769182550 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.001670s/0.144374s=1.16%]
- 17/60 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/f415db8d6fe234833c15ed4d730ccc77.jpg' LIMIT 1 [0.001435s/0.144374s=0.99%]
- 18/60 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/df42765c25331a0763bcc4273f6682dd.jpg' LIMIT 1 [0.001379s/0.144374s=0.96%]
- 19/60 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001350s/0.144374s=0.94%]
- 20/60 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/f415db8d6fe234833c15ed4d730ccc77.jpg' LIMIT 1 [0.001340s/0.144374s=0.93%]
- 21/60 . SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001305s/0.144374s=0.90%]
- 22/60 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001294s/0.144374s=0.90%]
- 23/60 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/1758091777835.jpg' LIMIT 1 [0.001292s/0.144374s=0.89%]
- 24/60 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001269s/0.144374s=0.88%]
- 25/60 . SELECT * FROM `activity` WHERE ( ( 1769182550 > starttime && 1769182550 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001261s/0.144374s=0.87%]
- 26/60 . SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 25 ORDER BY `weigh` ASC,`id` ASC [0.001251s/0.144374s=0.87%]
- 27/60 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/8c4bf1a2e049fd216e1dc1e04884c447.jpg' LIMIT 1 [0.001249s/0.144374s=0.87%]
- 28/60 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001217s/0.144374s=0.84%]
- 29/60 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001201s/0.144374s=0.83%]
- 30/60 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001194s/0.144374s=0.83%]
- 31/60 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001192s/0.144374s=0.83%]
- 32/60 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001142s/0.144374s=0.79%]
- 33/60 . SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001117s/0.144374s=0.77%]
- 34/60 . UPDATE `cart` SET `deletetime`=1769182550 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'pgqvd6n3bnl1si2nj7to4ma1ct' AND `createtime` > 1768923350 ) AND `cart`.`deletetime` IS NULL [0.001111s/0.144374s=0.77%]
- 35/60 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 1 ORDER BY `weigh` ASC,`id` ASC [0.001076s/0.144374s=0.75%]
- 36/60 . set time_zone = '+08:00' [0.001060s/0.144374s=0.73%]
- 37/60 . 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.001059s/0.144374s=0.73%]
- 38/60 . SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 20 ORDER BY `weigh` ASC,`id` ASC [0.001053s/0.144374s=0.73%]
- 39/60 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL [0.001049s/0.144374s=0.73%]
- 40/60 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 12 ORDER BY `weigh` ASC,`id` ASC [0.001031s/0.144374s=0.71%]
- 41/60 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001023s/0.144374s=0.71%]
- 42/60 . SELECT @@session.sql_mode [0.001014s/0.144374s=0.70%]
- 43/60 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000998s/0.144374s=0.69%]
- 44/60 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000973s/0.144374s=0.67%]
- 45/60 . 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.000943s/0.144374s=0.65%]
- 46/60 . SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 5 ORDER BY `weigh` ASC,`id` ASC [0.000942s/0.144374s=0.65%]
- 47/60 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000938s/0.144374s=0.65%]
- 48/60 . SELECT @@session.sql_mode [0.000937s/0.144374s=0.65%]
- 49/60 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000928s/0.144374s=0.64%]
- 50/60 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000924s/0.144374s=0.64%]
- 51/60 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 16 ORDER BY `weigh` ASC,`id` ASC [0.000922s/0.144374s=0.64%]
- 52/60 . 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.000913s/0.144374s=0.63%]
- 53/60 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000889s/0.144374s=0.62%]
- 54/60 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000878s/0.144374s=0.61%]
- 55/60 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000847s/0.144374s=0.59%]
- 56/60 . 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.000811s/0.144374s=0.56%]
- 57/60 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000756s/0.144374s=0.52%]
- 58/60 . SELECT @@session.sql_mode [0.000753s/0.144374s=0.52%]
- 59/60 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000691s/0.144374s=0.48%]
- 60/60 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000649s/0.144374s=0.45%]
- 1/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.003863s/0.144374s=2.68%]
- 2/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.003726s/0.144374s=2.58%]
- 3/4. SELECT @@session.sql_mode [3 times, 0.002704s/0.144374s=1.87%]
- 4/4. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/24cfce5256693bc2/f415db8d6fe234833c15ed4d730ccc77.jpg' LIMIT 1 [2 times, 0.002775s/0.144374s=1.92%]
- Facebook track: Use:11.502003669739ms