基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-06 21:28:50 HTTP/1.1 GET : zxcdn02.saascdn.co/category/default?page=3
- 运行时间 : 0.332500s [ 吞吐率:3.01req/s ] 内存消耗:7,374.09kb 文件加载:339
- 查询信息 : [耗时:0.097977s/0.332500 29.47% ] 68 queries ,7 writes
- 缓存信息 : 21 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=c0i7esj5puconfvepno2pbov46
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000385s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000071s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000089s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxcdn02.saascdn.co',
'x-forwarded-for' => '216.73.216.159',
'cookie' => 'currency_code=EUR; currency=%7B%22id%22%3A2%2C%22title%22%3A%22%E6%AC%A7%E5%85%83%EF%BC%88EUR%EF%BC%89%22%2C%22code%22%3A%22EUR%22%2C%22symbol_left%22%3A%22%E2%82%AC%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%2Feu.svg%22%2C%22updatetime%22%3A1736574910%2C%22is_default%22%3A1%2C%22sort%22%3A199%7D; PHPSESSID=c0i7esj5puconfvepno2pbov46',
'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' => 'zxcdn02.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '3',
'path' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004803s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000102s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1722842121525:',
'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/arise/template/product_lists.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'category',
39 => 'filters',
40 => 'price',
41 => 'oldprice',
42 => 'oldsku',
43 => 'oldsupplier',
44 => 'productList',
45 => 'appends',
46 => 'product_review',
47 => 'empty',
48 => 'view',
49 => 'order',
50 => 'limit',
51 => 'seotitle',
52 => 'seokeywords',
53 => 'seodescription',
54 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002345s ]
- [ 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.055676s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002203s ]
- [ 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.003897s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002205s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001747s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001734s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001492s ]
- [ VIEW ] /wwwroot/template/arise/../arise/template/product_featured.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.071929s ]
- [ VIEW ] /wwwroot/addons/marketingnotify/view/global_footer.html [ array (
0 => 'data',
1 => 'is_mobile',
2 => 'theme_key',
3 => 'theme_id',
) ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.036661s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001740s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001371s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.071929s ] [0.071929s/0.188599s=38.14%]
- 2/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.055676s ] [0.055676s/0.188599s=29.52%]
- 3/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.036661s ] [0.036661s/0.188599s=19.44%]
- 4/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004803s ] [0.004803s/0.188599s=2.55%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.003897s ] [0.003897s/0.188599s=2.07%]
- 6/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002345s ] [0.002345s/0.188599s=1.24%]
- 7/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002205s ] [0.002205s/0.188599s=1.17%]
- 8/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.002203s ] [0.002203s/0.188599s=1.17%]
- 9/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001747s ] [0.001747s/0.188599s=0.93%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001740s ] [0.001740s/0.188599s=0.92%]
- 11/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001734s ] [0.001734s/0.188599s=0.92%]
- 12/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001492s ] [0.001492s/0.188599s=0.79%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001371s ] [0.001371s/0.188599s=0.73%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000385s ] [0.000385s/0.188599s=0.20%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000102s ] [0.000102s/0.188599s=0.05%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000089s ] [0.000089s/0.188599s=0.05%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000071s ] [0.000071s/0.188599s=0.04%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000058s ] [0.000058s/0.188599s=0.03%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000039s ] [0.000039s/0.188599s=0.02%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000036s ] [0.000036s/0.188599s=0.02%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ] [0.000016s/0.188599s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002299s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000963s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001334s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001023s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000958s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000861s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001242s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001101s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765027730 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'c0i7esj5puconfvepno2pbov46' AND `createtime` > 1764768530 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001281s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000923s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001003s ]
- [ 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` = 'c0i7esj5puconfvepno2pbov46' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001919s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001348s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001201s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001497s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001009s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000950s ]
- [ 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 < 1765027730 and b.endtime > 1765027730 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002698s ]
- [ 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 (184,182,181,180,179,173,172,171,170,168,167,166,165,164,163,160,159,158,157,155,154,153,152,151,150,149,114,113,112,111,110,109,108,107,106,105,104,91,90,89,81,80,74,73,70,69,66,55,54,48,34,32,21,20,12) group by binary(p.name), binary(p1.name); [ RunTime:0.004268s ]
- [ 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.000729s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=2 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 < 1765027730 and b.endtime > 1765027730 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002131s ]
- [ 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=2 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 < 1765027730 and b.endtime > 1765027730 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 24,12 [ RunTime:0.003099s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (89,81,80,74,73,70,69,66,55,54,48,34) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001094s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (89,81,80,74,73,70,69,66,55,54,48,34) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.005395s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765027730 > starttime && 1765027730 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001260s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001200s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000775s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001199s ]
- [ 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.001017s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000791s ]
- [ 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001161s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001272s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001123s ]
- [ 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.000906s ]
- [ 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.000832s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001108s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [ RunTime:0.001043s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 132 AND `status` = '1' LIMIT 1 [ RunTime:0.000956s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000891s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001859s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001307s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [ RunTime:0.001511s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001073s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004890s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001256s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001086s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000913s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [ RunTime:0.001003s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000901s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.001066s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000961s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000914s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001004s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000939s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000985s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000890s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000793s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000858s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000878s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000782s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000762s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001186s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000913s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001207s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000929s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000783s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001359s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000831s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001425s ]
- [ SQL ] SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [ RunTime:0.001195s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [ RunTime:0.000985s ]
- [ 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.000777s ]
- 1/76 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (89,81,80,74,73,70,69,66,55,54,48,34) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.005395s/0.097977s=5.51%]
- 2/76 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004890s/0.097977s=4.99%]
- 3/76 . 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 (184,182,181,180,179,173,172,171,170,168,167,166,165,164,163,160,159,158,157,155,154,153,152,151,150,149,114,113,112,111,110,109,108,107,106,105,104,91,90,89,81,80,74,73,70,69,66,55,54,48,34,32,21,20,12) group by binary(p.name), binary(p1.name); [0.004268s/0.097977s=4.36%]
- 4/76 . 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=2 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 < 1765027730 and b.endtime > 1765027730 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 24,12 [0.003099s/0.097977s=3.16%]
- 5/76 . 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 < 1765027730 and b.endtime > 1765027730 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) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002698s/0.097977s=2.75%]
- 6/76 . CONNECT:[ UseTime:0.002299s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4 [0.002299s/0.097977s=2.35%]
- 7/76 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=2 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 < 1765027730 and b.endtime > 1765027730 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) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002131s/0.097977s=2.18%]
- 8/76 . 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` = 'c0i7esj5puconfvepno2pbov46' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001919s/0.097977s=1.96%]
- 9/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001859s/0.097977s=1.90%]
- 10/76 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [0.001511s/0.097977s=1.54%]
- 11/76 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001497s/0.097977s=1.53%]
- 12/76 . SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.001425s/0.097977s=1.45%]
- 13/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001359s/0.097977s=1.39%]
- 14/76 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001348s/0.097977s=1.38%]
- 15/76 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001334s/0.097977s=1.36%]
- 16/76 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001307s/0.097977s=1.33%]
- 17/76 . UPDATE `cart` SET `deletetime`=1765027730 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'c0i7esj5puconfvepno2pbov46' AND `createtime` > 1764768530 ) AND `cart`.`deletetime` IS NULL [0.001281s/0.097977s=1.31%]
- 18/76 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001272s/0.097977s=1.30%]
- 19/76 . SELECT * FROM `activity` WHERE ( ( 1765027730 > starttime && 1765027730 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001260s/0.097977s=1.29%]
- 20/76 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001256s/0.097977s=1.28%]
- 21/76 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001242s/0.097977s=1.27%]
- 22/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001207s/0.097977s=1.23%]
- 23/76 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001201s/0.097977s=1.23%]
- 24/76 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001200s/0.097977s=1.22%]
- 25/76 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001199s/0.097977s=1.22%]
- 26/76 . SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [0.001195s/0.097977s=1.22%]
- 27/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001186s/0.097977s=1.21%]
- 28/76 . 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [0.001161s/0.097977s=1.18%]
- 29/76 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001123s/0.097977s=1.15%]
- 30/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001116s/0.097977s=1.14%]
- 31/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001108s/0.097977s=1.13%]
- 32/76 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001101s/0.097977s=1.12%]
- 33/76 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (89,81,80,74,73,70,69,66,55,54,48,34) ) AND `discuss`.`deletetime` IS NULL [0.001094s/0.097977s=1.12%]
- 34/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001086s/0.097977s=1.11%]
- 35/76 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [0.001073s/0.097977s=1.10%]
- 36/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.001066s/0.097977s=1.09%]
- 37/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 69 LIMIT 1 [0.001043s/0.097977s=1.06%]
- 38/76 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001023s/0.097977s=1.04%]
- 39/76 . 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.001017s/0.097977s=1.04%]
- 40/76 . SELECT @@session.sql_mode [0.001009s/0.097977s=1.03%]
- 41/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001004s/0.097977s=1.02%]
- 42/76 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [0.001003s/0.097977s=1.02%]
- 43/76 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001003s/0.097977s=1.02%]
- 44/76 . SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [0.000985s/0.097977s=1.01%]
- 45/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000985s/0.097977s=1.01%]
- 46/76 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000963s/0.097977s=0.98%]
- 47/76 . SELECT @@session.sql_mode [0.000962s/0.097977s=0.98%]
- 48/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000961s/0.097977s=0.98%]
- 49/76 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000958s/0.097977s=0.98%]
- 50/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 132 AND `status` = '1' LIMIT 1 [0.000956s/0.097977s=0.98%]
- 51/76 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000950s/0.097977s=0.97%]
- 52/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000939s/0.097977s=0.96%]
- 53/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000929s/0.097977s=0.95%]
- 54/76 . SELECT @@session.sql_mode [0.000923s/0.097977s=0.94%]
- 55/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000914s/0.097977s=0.93%]
- 56/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000913s/0.097977s=0.93%]
- 57/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000913s/0.097977s=0.93%]
- 58/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000909s/0.097977s=0.93%]
- 59/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000909s/0.097977s=0.93%]
- 60/76 . 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.000906s/0.097977s=0.92%]
- 61/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000901s/0.097977s=0.92%]
- 62/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000891s/0.097977s=0.91%]
- 63/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000890s/0.097977s=0.91%]
- 64/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000878s/0.097977s=0.90%]
- 65/76 . set time_zone = '+08:00' [0.000861s/0.097977s=0.88%]
- 66/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000858s/0.097977s=0.88%]
- 67/76 . 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.000832s/0.097977s=0.85%]
- 68/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000831s/0.097977s=0.85%]
- 69/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000793s/0.097977s=0.81%]
- 70/76 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000791s/0.097977s=0.81%]
- 71/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000783s/0.097977s=0.80%]
- 72/76 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000782s/0.097977s=0.80%]
- 73/76 . 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.000777s/0.097977s=0.79%]
- 74/76 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000775s/0.097977s=0.79%]
- 75/76 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000762s/0.097977s=0.78%]
- 76/76 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000729s/0.097977s=0.74%]
- 1/8. SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [10 times, 0.009745s/0.097977s=9.95%]
- 2/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [5 times, 0.005572s/0.097977s=5.69%]
- 3/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [5 times, 0.004631s/0.097977s=4.73%]
- 4/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004805s/0.097977s=4.90%]
- 5/8. SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [4 times, 0.003832s/0.097977s=3.91%]
- 6/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [4 times, 0.003952s/0.097977s=4.03%]
- 7/8. 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.003532s/0.097977s=3.60%]
- 8/8. SELECT @@session.sql_mode [3 times, 0.002894s/0.097977s=2.95%]
- Facebook track: Use:4.7295093536377ms