基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-10 17:16:27 HTTP/1.1 GET : fealptest.test3.shoppaas.co/category/default.html
- 运行时间 : 0.241859s [ 吞吐率:4.13req/s ] 内存消耗:4,410.07kb 文件加载:266
- 查询信息 : [耗时:0.117656s/0.241859 48.65% ] 77 queries ,7 writes
- 缓存信息 : 20 reads,4 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=99ido3mdl2rcja21l0qhlas7en
- [ 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.000248s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'fealptest.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.144',
'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' => 'fealptest.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004082s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000030s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1723687334510:',
'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/brooklyn-playful/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.003042s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001806s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001704s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001743s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001716s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001673s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001771s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001381s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001117s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001574s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001681s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001172s ]
- 1/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004082s ] [0.004082s/0.024986s=16.34%]
- 2/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003042s ] [0.003042s/0.024986s=12.17%]
- 3/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001806s ] [0.001806s/0.024986s=7.23%]
- 4/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001771s ] [0.001771s/0.024986s=7.09%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001743s ] [0.001743s/0.024986s=6.98%]
- 6/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001716s ] [0.001716s/0.024986s=6.87%]
- 7/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001704s ] [0.001704s/0.024986s=6.82%]
- 8/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001681s ] [0.001681s/0.024986s=6.73%]
- 9/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001673s ] [0.001673s/0.024986s=6.70%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001574s ] [0.001574s/0.024986s=6.30%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001381s ] [0.001381s/0.024986s=5.53%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001172s ] [0.001172s/0.024986s=4.69%]
- 13/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.001117s ] [0.001117s/0.024986s=4.47%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000248s ] [0.000248s/0.024986s=0.99%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000066s ] [0.000066s/0.024986s=0.26%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.024986s=0.21%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.024986s=0.20%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.024986s=0.16%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000030s ] [0.000030s/0.024986s=0.12%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.024986s=0.11%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.024986s=0.05%]
- [ DB ] CONNECT:[ UseTime:0.002295s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1723687334510;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001124s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001189s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001385s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001101s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001184s ]
- [ SQL ] set time_zone = '-06:00' [ RunTime:0.001016s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001054s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001107s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1770765387 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '99ido3mdl2rcja21l0qhlas7en' AND `createtime` > 1770506187 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001596s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001018s ]
- [ 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 * 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` = '99ido3mdl2rcja21l0qhlas7en' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001900s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001085s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001381s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001091s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000879s ]
- [ 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 < 1770765387 and b.endtime > 1770765387 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001933s ]
- [ 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 (19,18,16,15,14,13,12,11) group by binary(p.name), binary(p1.name); [ RunTime:0.007853s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001091s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000931s ]
- [ 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 < 1770765387 and b.endtime > 1770765387 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002283s ]
- [ 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 < 1770765387 and b.endtime > 1770765387 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001634s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,16,15,14,13,12,11) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001205s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,16,15,14,13,12,11) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004072s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1770765387 > starttime && 1770765387 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001922s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [ RunTime:0.001469s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001218s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001067s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.002008s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.001163s ]
- [ 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.001276s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001195s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001118s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001416s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001050s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.003079s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.001649s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001430s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001273s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.001025s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001265s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [ RunTime:0.001200s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.001117s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.001603s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.001149s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.001026s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [ RunTime:0.001162s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [ RunTime:0.001077s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.001002s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.002041s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.001288s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.001042s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [ RunTime:0.000997s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.001489s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.001018s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.001018s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.001181s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [ RunTime:0.001082s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.001047s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.001105s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001068s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.001098s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.001226s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [ RunTime:0.001935s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001169s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.000969s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001028s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.001019s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.001079s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.001057s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.001230s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.001976s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.001286s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [ RunTime:0.001186s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [ RunTime:0.001113s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000949s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.001114s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001166s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [ RunTime:0.001145s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.001041s ]
- 1/85 . 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 (19,18,16,15,14,13,12,11) group by binary(p.name), binary(p1.name); [0.007853s/0.117656s=6.67%]
- 2/85 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,18,16,15,14,13,12,11) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004072s/0.117656s=3.46%]
- 3/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.003079s/0.117656s=2.62%]
- 4/85 . CONNECT:[ UseTime:0.002295s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1723687334510;charset=utf8mb4 [0.002295s/0.117656s=1.95%]
- 5/85 . 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 < 1770765387 and b.endtime > 1770765387 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.002283s/0.117656s=1.94%]
- 6/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.002041s/0.117656s=1.73%]
- 7/85 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.002008s/0.117656s=1.71%]
- 8/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.001976s/0.117656s=1.68%]
- 9/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001935s/0.117656s=1.64%]
- 10/85 . 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 < 1770765387 and b.endtime > 1770765387 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001933s/0.117656s=1.64%]
- 11/85 . SELECT * FROM `activity` WHERE ( ( 1770765387 > starttime && 1770765387 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001922s/0.117656s=1.63%]
- 12/85 . 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` = '99ido3mdl2rcja21l0qhlas7en' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001900s/0.117656s=1.61%]
- 13/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.001649s/0.117656s=1.40%]
- 14/85 . 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 < 1770765387 and b.endtime > 1770765387 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(3, category_ids) ) OR ( find_in_set(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001634s/0.117656s=1.39%]
- 15/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.001603s/0.117656s=1.36%]
- 16/85 . UPDATE `cart` SET `deletetime`=1770765387 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '99ido3mdl2rcja21l0qhlas7en' AND `createtime` > 1770506187 ) AND `cart`.`deletetime` IS NULL [0.001596s/0.117656s=1.36%]
- 17/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.001489s/0.117656s=1.27%]
- 18/85 . SELECT `name` FROM `product_supplier` WHERE `id` = 2 LIMIT 1 [0.001469s/0.117656s=1.25%]
- 19/85 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001430s/0.117656s=1.22%]
- 20/85 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001416s/0.117656s=1.20%]
- 21/85 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001385s/0.117656s=1.18%]
- 22/85 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001381s/0.117656s=1.17%]
- 23/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.001288s/0.117656s=1.09%]
- 24/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.001286s/0.117656s=1.09%]
- 25/85 . 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.001276s/0.117656s=1.08%]
- 26/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001273s/0.117656s=1.08%]
- 27/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001265s/0.117656s=1.08%]
- 28/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.001230s/0.117656s=1.05%]
- 29/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.001226s/0.117656s=1.04%]
- 30/85 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001218s/0.117656s=1.04%]
- 31/85 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,18,16,15,14,13,12,11) ) AND `discuss`.`deletetime` IS NULL [0.001205s/0.117656s=1.02%]
- 32/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.001200s/0.117656s=1.02%]
- 33/85 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001195s/0.117656s=1.02%]
- 34/85 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001189s/0.117656s=1.01%]
- 35/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.001186s/0.117656s=1.01%]
- 36/85 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001184s/0.117656s=1.01%]
- 37/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.001181s/0.117656s=1.00%]
- 38/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001169s/0.117656s=0.99%]
- 39/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001166s/0.117656s=0.99%]
- 40/85 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.001163s/0.117656s=0.99%]
- 41/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.001162s/0.117656s=0.99%]
- 42/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.001149s/0.117656s=0.98%]
- 43/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.001145s/0.117656s=0.97%]
- 44/85 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001124s/0.117656s=0.96%]
- 45/85 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001118s/0.117656s=0.95%]
- 46/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [0.001117s/0.117656s=0.95%]
- 47/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.001114s/0.117656s=0.95%]
- 48/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [0.001113s/0.117656s=0.95%]
- 49/85 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001107s/0.117656s=0.94%]
- 50/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.001105s/0.117656s=0.94%]
- 51/85 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001101s/0.117656s=0.94%]
- 52/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.001098s/0.117656s=0.93%]
- 53/85 . SELECT @@session.sql_mode [0.001091s/0.117656s=0.93%]
- 54/85 . SELECT @@session.sql_mode [0.001091s/0.117656s=0.93%]
- 55/85 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001085s/0.117656s=0.92%]
- 56/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.001082s/0.117656s=0.92%]
- 57/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.001079s/0.117656s=0.92%]
- 58/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.001077s/0.117656s=0.92%]
- 59/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.001075s/0.117656s=0.91%]
- 60/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001068s/0.117656s=0.91%]
- 61/85 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001067s/0.117656s=0.91%]
- 62/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [0.001057s/0.117656s=0.90%]
- 63/85 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001054s/0.117656s=0.90%]
- 64/85 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001050s/0.117656s=0.89%]
- 65/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.001047s/0.117656s=0.89%]
- 66/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [0.001044s/0.117656s=0.89%]
- 67/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.001042s/0.117656s=0.89%]
- 68/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.001041s/0.117656s=0.88%]
- 69/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [0.001040s/0.117656s=0.88%]
- 70/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001031s/0.117656s=0.88%]
- 71/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [0.001028s/0.117656s=0.87%]
- 72/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [0.001026s/0.117656s=0.87%]
- 73/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [0.001025s/0.117656s=0.87%]
- 74/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.001019s/0.117656s=0.87%]
- 75/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.001018s/0.117656s=0.87%]
- 76/85 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [0.001018s/0.117656s=0.87%]
- 77/85 . SELECT @@session.sql_mode [0.001018s/0.117656s=0.87%]
- 78/85 . set time_zone = '-06:00' [0.001016s/0.117656s=0.86%]
- 79/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.001002s/0.117656s=0.85%]
- 80/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [0.000997s/0.117656s=0.85%]
- 81/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.000969s/0.117656s=0.82%]
- 82/85 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000949s/0.117656s=0.81%]
- 83/85 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000938s/0.117656s=0.80%]
- 84/85 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000931s/0.117656s=0.79%]
- 85/85 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000879s/0.117656s=0.75%]
- 1/19. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.0049s/0.117656s=4.16%]
- 2/19. SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [3 times, 0.003067s/0.117656s=2.61%]
- 3/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 13 LIMIT 1 [3 times, 0.003228s/0.117656s=2.74%]
- 4/19. SELECT `id` FROM `custom_activity` WHERE `id` = 2 AND `status` = '1' LIMIT 1 [3 times, 0.004047s/0.117656s=3.44%]
- 5/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [3 times, 0.003429s/0.117656s=2.91%]
- 6/19. SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [3 times, 0.003246s/0.117656s=2.76%]
- 7/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [3 times, 0.004158s/0.117656s=3.53%]
- 8/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 11 LIMIT 1 [3 times, 0.003299s/0.117656s=2.80%]
- 9/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 18 LIMIT 1 [3 times, 0.003428s/0.117656s=2.91%]
- 10/19. SELECT `id` FROM `custom_activity` WHERE `id` = 8 AND `status` = '1' LIMIT 1 [3 times, 0.003706s/0.117656s=3.15%]
- 11/19. SELECT `id` FROM `custom_activity` WHERE `id` = 9 AND `status` = '1' LIMIT 1 [3 times, 0.003874s/0.117656s=3.29%]
- 12/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [3 times, 0.005617s/0.117656s=4.77%]
- 13/19. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='he' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.003896s/0.117656s=3.31%]
- 14/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 12 LIMIT 1 [3 times, 0.004219s/0.117656s=3.59%]
- 15/19. SELECT `id` FROM `custom_activity` WHERE `id` = 4 AND `status` = '1' LIMIT 1 [3 times, 0.003287s/0.117656s=2.79%]
- 16/19. SELECT `id` FROM `custom_activity` WHERE `id` = 7 AND `status` = '1' LIMIT 1 [3 times, 0.003629s/0.117656s=3.08%]
- 17/19. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 15 LIMIT 1 [3 times, 0.003589s/0.117656s=3.05%]
- 18/19. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [3 times, 0.003156s/0.117656s=2.68%]
- 19/19. SELECT @@session.sql_mode [3 times, 0.0032s/0.117656s=2.72%]