基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-05 13:12:10 HTTP/1.1 GET : pdtest2225.test3.shoppaas.co/all?ajax=page&page=2&view=1
- 运行时间 : 0.601113s [ 吞吐率:1.66req/s ] 内存消耗:26,013.16kb 文件加载:374
- 查询信息 : [耗时:0.104654s/0.601113 17.41% ] 63 queries ,7 writes
- 缓存信息 : 17 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=26bedq39ifgetpbrqed9rum6kl
- [ 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.000253s ]
- [ 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.000056s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'pdtest2225.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.144',
'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%3A1702968337%2C%22is_default%22%3A1%2C%22sort%22%3A196%7D; PHPSESSID=26bedq39ifgetpbrqed9rum6kl; currency_code=USD',
'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' => 'pdtest2225.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'ajax' => 'page',
'page' => '2',
'view' => '1',
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004947s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000032s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000106s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1718172267077:',
'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.003560s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.068249s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002389s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003559s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001929s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001707s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001593s ]
- [ VIEW ] /wwwroot/addons/klaviyopixel/view/klaviyo_pixel.html [ array (
0 => 'klaviyopixel_id',
) ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001558s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001162s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000082s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002457s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001073s ]
- 1/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.068249s ] [0.068249s/0.094859s=71.95%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004947s ] [0.004947s/0.094859s=5.22%]
- 3/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003560s ] [0.003560s/0.094859s=3.75%]
- 4/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003559s ] [0.003559s/0.094859s=3.75%]
- 5/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002457s ] [0.002457s/0.094859s=2.59%]
- 6/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002389s ] [0.002389s/0.094859s=2.52%]
- 7/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001929s ] [0.001929s/0.094859s=2.03%]
- 8/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001707s ] [0.001707s/0.094859s=1.80%]
- 9/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001593s ] [0.001593s/0.094859s=1.68%]
- 10/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001558s ] [0.001558s/0.094859s=1.64%]
- 11/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001162s ] [0.001162s/0.094859s=1.22%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001073s ] [0.001073s/0.094859s=1.13%]
- 13/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000253s ] [0.000253s/0.094859s=0.27%]
- 14/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000106s ] [0.000106s/0.094859s=0.11%]
- 15/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000082s ] [0.000082s/0.094859s=0.09%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ] [0.000056s/0.094859s=0.06%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.094859s=0.05%]
- 18/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.094859s=0.05%]
- 19/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ] [0.000040s/0.094859s=0.04%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000032s ] [0.000032s/0.094859s=0.03%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.094859s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002066s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718172267077;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001199s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001115s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001451s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001148s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000960s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001028s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1770268330 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '26bedq39ifgetpbrqed9rum6kl' AND `createtime` > 1770009130 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001258s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000941s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000940s ]
- [ 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` = '26bedq39ifgetpbrqed9rum6kl' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001663s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000801s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000933s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000962s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000938s ]
- [ 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 < 1770268330 and b.endtime > 1770268330 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(36, category_ids) ) OR ( find_in_set(35, category_ids) ) OR ( find_in_set(34, category_ids) ) OR ( find_in_set(33, category_ids) ) OR ( find_in_set(32, category_ids) ) OR ( find_in_set(31, category_ids) ) OR ( find_in_set(30, category_ids) ) OR ( find_in_set(29, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( 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.003247s ]
- [ 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 (64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.006715s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001055s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000982s ]
- [ 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 < 1770268330 and b.endtime > 1770268330 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(36, category_ids) ) OR ( find_in_set(35, category_ids) ) OR ( find_in_set(34, category_ids) ) OR ( find_in_set(33, category_ids) ) OR ( find_in_set(32, category_ids) ) OR ( find_in_set(31, category_ids) ) OR ( find_in_set(30, category_ids) ) OR ( find_in_set(29, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001528s ]
- [ 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 < 1770268330 and b.endtime > 1770268330 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(36, category_ids) ) OR ( find_in_set(35, category_ids) ) OR ( find_in_set(34, category_ids) ) OR ( find_in_set(33, category_ids) ) OR ( find_in_set(32, category_ids) ) OR ( find_in_set(31, category_ids) ) OR ( find_in_set(30, category_ids) ) OR ( find_in_set(29, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( 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 20,20 [ RunTime:0.001970s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,7,6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001162s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,7,6,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004426s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1770268330 > starttime && 1770268330 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001238s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000881s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001141s ]
- [ 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.001000s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001843s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.001166s ]
- [ 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.002051s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001135s ]
- [ 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.001115s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 8 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001073s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686579442.jpg' LIMIT 1 [ RunTime:0.003055s ]
- [ 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001181s ]
- [ 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.001197s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001840s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 37 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001465s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 50 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001496s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 62 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001194s ]
- [ 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.001178s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686575472.jpg' 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001215s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001436s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 30 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001010s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 35 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001001s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686573279.jpg' LIMIT 1 [ RunTime:0.001266s ]
- [ 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001206s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001206s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686571186.jpg' LIMIT 1 [ RunTime:0.001185s ]
- [ 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001283s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002285s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 25 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001159s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686571263.jpg' LIMIT 1 [ RunTime:0.001324s ]
- [ 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002513s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001258s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686570470.jpg' LIMIT 1 [ RunTime:0.001314s ]
- [ 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001242s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001417s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 18 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001188s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 21 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001439s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686569333.jpg' LIMIT 1 [ RunTime:0.001137s ]
- [ 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001193s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001384s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 1 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001109s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 8 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002358s ]
- [ SQL ] SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 15 ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001094s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686567130.jpg' LIMIT 1 [ RunTime:0.001221s ]
- [ 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.002190s ]
- 1/71 . 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 (64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.006715s/0.104654s=6.42%]
- 2/71 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (8,7,6,5,4,3,2,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004426s/0.104654s=4.23%]
- 3/71 . 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 < 1770268330 and b.endtime > 1770268330 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(36, category_ids) ) OR ( find_in_set(35, category_ids) ) OR ( find_in_set(34, category_ids) ) OR ( find_in_set(33, category_ids) ) OR ( find_in_set(32, category_ids) ) OR ( find_in_set(31, category_ids) ) OR ( find_in_set(30, category_ids) ) OR ( find_in_set(29, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( 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.003247s/0.104654s=3.10%]
- 4/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686579442.jpg' LIMIT 1 [0.003055s/0.104654s=2.92%]
- 5/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002513s/0.104654s=2.40%]
- 6/71 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 8 ORDER BY `weigh` ASC,`id` ASC [0.002358s/0.104654s=2.25%]
- 7/71 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.002285s/0.104654s=2.18%]
- 8/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.002190s/0.104654s=2.09%]
- 9/71 . CONNECT:[ UseTime:0.002066s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1718172267077;charset=utf8mb4 [0.002066s/0.104654s=1.97%]
- 10/71 . 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.002051s/0.104654s=1.96%]
- 11/71 . 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 < 1770268330 and b.endtime > 1770268330 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(36, category_ids) ) OR ( find_in_set(35, category_ids) ) OR ( find_in_set(34, category_ids) ) OR ( find_in_set(33, category_ids) ) OR ( find_in_set(32, category_ids) ) OR ( find_in_set(31, category_ids) ) OR ( find_in_set(30, category_ids) ) OR ( find_in_set(29, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( 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 20,20 [0.001970s/0.104654s=1.88%]
- 12/71 . SELECT `themes_view_config_id` FROM `category_template_page` WHERE `category_id` = 1 AND `themes_id` = 15 LIMIT 1 [0.001843s/0.104654s=1.76%]
- 13/71 . SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001840s/0.104654s=1.76%]
- 14/71 . 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` = '26bedq39ifgetpbrqed9rum6kl' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001663s/0.104654s=1.59%]
- 15/71 . 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 < 1770268330 and b.endtime > 1770268330 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(36, category_ids) ) OR ( find_in_set(35, category_ids) ) OR ( find_in_set(34, category_ids) ) OR ( find_in_set(33, category_ids) ) OR ( find_in_set(32, category_ids) ) OR ( find_in_set(31, category_ids) ) OR ( find_in_set(30, category_ids) ) OR ( find_in_set(29, category_ids) ) OR ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( find_in_set(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001528s/0.104654s=1.46%]
- 16/71 . SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 50 ORDER BY `weigh` ASC,`id` ASC [0.001496s/0.104654s=1.43%]
- 17/71 . SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 37 ORDER BY `weigh` ASC,`id` ASC [0.001465s/0.104654s=1.40%]
- 18/71 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001451s/0.104654s=1.39%]
- 19/71 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 21 ORDER BY `weigh` ASC,`id` ASC [0.001439s/0.104654s=1.38%]
- 20/71 . SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001436s/0.104654s=1.37%]
- 21/71 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001417s/0.104654s=1.35%]
- 22/71 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001384s/0.104654s=1.32%]
- 23/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686571263.jpg' LIMIT 1 [0.001324s/0.104654s=1.27%]
- 24/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686570470.jpg' LIMIT 1 [0.001314s/0.104654s=1.26%]
- 25/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001283s/0.104654s=1.23%]
- 26/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686573279.jpg' LIMIT 1 [0.001266s/0.104654s=1.21%]
- 27/71 . UPDATE `cart` SET `deletetime`=1770268330 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '26bedq39ifgetpbrqed9rum6kl' AND `createtime` > 1770009130 ) AND `cart`.`deletetime` IS NULL [0.001258s/0.104654s=1.20%]
- 28/71 . SELECT * FROM `product_sku` WHERE `product_id` = 3 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001258s/0.104654s=1.20%]
- 29/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001242s/0.104654s=1.19%]
- 30/71 . SELECT * FROM `activity` WHERE ( ( 1770268330 > starttime && 1770268330 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001238s/0.104654s=1.18%]
- 31/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686567130.jpg' LIMIT 1 [0.001221s/0.104654s=1.17%]
- 32/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001215s/0.104654s=1.16%]
- 33/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001206s/0.104654s=1.15%]
- 34/71 . SELECT * FROM `product_sku` WHERE `product_id` = 5 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001206s/0.104654s=1.15%]
- 35/71 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001199s/0.104654s=1.15%]
- 36/71 . 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.001197s/0.104654s=1.14%]
- 37/71 . SELECT * FROM `product_sku` WHERE `product_id` = 7 AND `pid` = 62 ORDER BY `weigh` ASC,`id` ASC [0.001194s/0.104654s=1.14%]
- 38/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001193s/0.104654s=1.14%]
- 39/71 . SELECT * FROM `product_sku` WHERE `product_id` = 2 AND `pid` = 18 ORDER BY `weigh` ASC,`id` ASC [0.001188s/0.104654s=1.14%]
- 40/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686571186.jpg' LIMIT 1 [0.001185s/0.104654s=1.13%]
- 41/71 . 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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001181s/0.104654s=1.13%]
- 42/71 . 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.001178s/0.104654s=1.13%]
- 43/71 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.001166s/0.104654s=1.11%]
- 44/71 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (8,7,6,5,4,3,2,1) ) AND `discuss`.`deletetime` IS NULL [0.001162s/0.104654s=1.11%]
- 45/71 . SELECT * FROM `product_sku` WHERE `product_id` = 4 AND `pid` = 25 ORDER BY `weigh` ASC,`id` ASC [0.001159s/0.104654s=1.11%]
- 46/71 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001148s/0.104654s=1.10%]
- 47/71 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001141s/0.104654s=1.09%]
- 48/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686569333.jpg' LIMIT 1 [0.001137s/0.104654s=1.09%]
- 49/71 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001135s/0.104654s=1.08%]
- 50/71 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/ada520bfa6ca1f64/1746686575472.jpg' LIMIT 1 [0.001132s/0.104654s=1.08%]
- 51/71 . 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.001115s/0.104654s=1.07%]
- 52/71 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001115s/0.104654s=1.07%]
- 53/71 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 1 ORDER BY `weigh` ASC,`id` ASC [0.001109s/0.104654s=1.06%]
- 54/71 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001103s/0.104654s=1.05%]
- 55/71 . SELECT * FROM `product_sku` WHERE `product_id` = 1 AND `pid` = 15 ORDER BY `weigh` ASC,`id` ASC [0.001094s/0.104654s=1.05%]
- 56/71 . SELECT * FROM `product_sku` WHERE `product_id` = 8 AND `pid` = 0 ORDER BY `weigh` ASC,`id` ASC [0.001073s/0.104654s=1.03%]
- 57/71 . SELECT @@session.sql_mode [0.001055s/0.104654s=1.01%]
- 58/71 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001049s/0.104654s=1.00%]
- 59/71 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001028s/0.104654s=0.98%]
- 60/71 . SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 30 ORDER BY `weigh` ASC,`id` ASC [0.001010s/0.104654s=0.97%]
- 61/71 . SELECT * FROM `product_sku` WHERE `product_id` = 6 AND `pid` = 35 ORDER BY `weigh` ASC,`id` ASC [0.001001s/0.104654s=0.96%]
- 62/71 . 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.001000s/0.104654s=0.96%]
- 63/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000982s/0.104654s=0.94%]
- 64/71 . SELECT @@session.sql_mode [0.000962s/0.104654s=0.92%]
- 65/71 . set time_zone = '+08:00' [0.000960s/0.104654s=0.92%]
- 66/71 . SELECT @@session.sql_mode [0.000941s/0.104654s=0.90%]
- 67/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000940s/0.104654s=0.90%]
- 68/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000938s/0.104654s=0.90%]
- 69/71 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000933s/0.104654s=0.89%]
- 70/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000881s/0.104654s=0.84%]
- 71/71 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000801s/0.104654s=0.77%]
- 1/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` <= 1770268331
AND pcm.`ends_at` >= 1770268331
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [8 times, 0.012023s/0.104654s=11.49%]
- 2/4. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004542s/0.104654s=4.34%]
- 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.00449s/0.104654s=4.29%]
- 4/4. SELECT @@session.sql_mode [3 times, 0.002958s/0.104654s=2.83%]
- Facebook track: Use:6.0303926467896ms