基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-19 01:33:38 HTTP/1.1 GET : lyengtest.test3.shoppaas.co/product/copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue.html
- 运行时间 : 0.272162s [ 吞吐率:3.67req/s ] 内存消耗:22,561.05kb 文件加载:371
- 查询信息 : [耗时:0.086441s/0.272162 31.76% ] 65 queries ,4 writes
- 缓存信息 : 11 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=i65t45pt9ievdo4tod5a6127kp
- [ 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.000261s ]
- [ 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.000055s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'lyengtest.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' => 'lyengtest.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004403s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000100s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1702621091400:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->view[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/ella/template/product_view.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 => 'save_text',
40 => 'product',
41 => 'product_id',
42 => 'product_info',
43 => 'product_customize',
44 => 'pod_products',
45 => 'seotitle',
46 => 'seokeywords',
47 => 'seodescription',
48 => 'page_type',
49 => 'combination_product_info',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002756s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001734s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001901s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001831s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001723s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001762s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002302s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001329s ]
- [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001356s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001147s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003742s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000077s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000006s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000926s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000054s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_paypal_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'btn_style',
8 => 'template_name',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000303s ]
- [ VIEW ] /wwwroot/addons/activitybar/view/product_buy_stripe_fast.html [ array (
0 => 'config_site_version',
1 => 'type',
2 => 'path',
3 => 'payment_element_id',
4 => 'container_id',
5 => 'key',
6 => 'theme_id',
7 => 'template_name',
) ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000235s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003005s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000965s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005161s ]
- [ VIEW ] /wwwroot/template/ella/../ella/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',
13 => 'product_featured_config',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.059482s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000058s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001611s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003889s ]
- 1/33 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.059482s ] [0.059482s/0.102352s=58.12%]
- 2/33 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005161s ] [0.005161s/0.102352s=5.04%]
- 3/33 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004403s ] [0.004403s/0.102352s=4.30%]
- 4/33 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003889s ] [0.003889s/0.102352s=3.80%]
- 5/33 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003742s ] [0.003742s/0.102352s=3.66%]
- 6/33 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003005s ] [0.003005s/0.102352s=2.94%]
- 7/33 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002756s ] [0.002756s/0.102352s=2.69%]
- 8/33 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.002302s ] [0.002302s/0.102352s=2.25%]
- 9/33 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001901s ] [0.001901s/0.102352s=1.86%]
- 10/33 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001831s ] [0.001831s/0.102352s=1.79%]
- 11/33 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001762s ] [0.001762s/0.102352s=1.72%]
- 12/33 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001734s ] [0.001734s/0.102352s=1.69%]
- 13/33 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001723s ] [0.001723s/0.102352s=1.68%]
- 14/33 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001611s ] [0.001611s/0.102352s=1.57%]
- 15/33 . [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001356s ] [0.001356s/0.102352s=1.32%]
- 16/33 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001329s ] [0.001329s/0.102352s=1.30%]
- 17/33 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001147s ] [0.001147s/0.102352s=1.12%]
- 18/33 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000965s ] [0.000965s/0.102352s=0.94%]
- 19/33 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000926s ] [0.000926s/0.102352s=0.90%]
- 20/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_paypal_fast_button [ RunTime:0.000303s ] [0.000303s/0.102352s=0.30%]
- 21/33 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000261s ] [0.000261s/0.102352s=0.26%]
- 22/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_buy_stripe_fast_button [ RunTime:0.000235s ] [0.000235s/0.102352s=0.23%]
- 23/33 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000100s ] [0.000100s/0.102352s=0.10%]
- 24/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000077s ] [0.000077s/0.102352s=0.08%]
- 25/33 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000058s ] [0.000058s/0.102352s=0.06%]
- 26/33 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000055s ] [0.000055s/0.102352s=0.05%]
- 27/33 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000054s ] [0.000054s/0.102352s=0.05%]
- 28/33 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000049s ] [0.000049s/0.102352s=0.05%]
- 29/33 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.102352s=0.04%]
- 30/33 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000040s ] [0.000040s/0.102352s=0.04%]
- 31/33 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000031s ] [0.000031s/0.102352s=0.03%]
- 32/33 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.102352s=0.01%]
- 33/33 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000006s ] [0.000006s/0.102352s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.003540s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702621091400;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000948s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000951s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001067s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001238s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001120s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001182s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000937s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001366s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001068s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1771436018 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'i65t45pt9ievdo4tod5a6127kp' AND `createtime` > 1771176818 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001358s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001024s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000827s ]
- [ 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` = 'i65t45pt9ievdo4tod5a6127kp' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001613s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001070s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001325s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001431s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001411s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1771436018 > starttime && 1771436018 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001072s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001005s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 7 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001534s ]
- [ 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.005883s ]
- [ SQL ] SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 7 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001223s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001268s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1,4,3) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001435s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001281s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000923s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.001021s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1771436018 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001121s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 7 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000978s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000973s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.000995s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001155s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001035s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001109s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001291s ]
- [ 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` <= 1771436018
AND pcm.`ends_at` >= 1771436018
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001028s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001216s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001149s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/a46331e0241640b4e0058465534baa36.jpg' LIMIT 1 [ RunTime:0.001039s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000995s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1771436018 AND `ends_at` >= 1771436018 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001028s ]
- [ SQL ] SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 2 AND `type` = 'percentage' [ RunTime:0.001135s ]
- [ SQL ] SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 1 AND `type` = 'percentage' [ RunTime:0.000973s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000842s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001102s ]
- [ SQL ] SELECT `id`,`type`,`title`,`subtitle`,`supplier`,`spu`,`status`,`audit_status`,`audit_reject_times`,`auto_shelves_after_audit`,`is_tax`,`weigh`,`category_ids`,`product_tag_ids`,`product_tag_names`,`image`,`images`,`params`,`price`,`original_price`,`is_sku`,`likes`,`views`,`sales`,`size_country`,`size_guide`,`marketing_size_guide_id`,`show_sales`,`service_ids`,`shipping_type`,`shipping_ids`,`is_custom`,`custom_config`,`draft_product_id`,`seotitle`,`keywords`,`description`,`path`,`is_tob_sku`,`product_topic_style`,`createtime`,`updatetime`,`deletetime`,`is_custom_plus`,`is_additional_product`,`show_deleted_sku`,`gtin`,`lang` FROM `product` WHERE ( `id` = 7 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001453s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 7 and deletetime is null order by createtime desc, id desc [ RunTime:0.001120s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001173s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.001182s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 7 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `createtime` DESC LIMIT 5 [ RunTime:0.001134s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (21,20,19,17,16) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (21,20,19,17,16) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,21,20,19,17,16) LIMIT 0,15 [ RunTime:0.001268s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (21,20,19,17,16) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001569s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (21,20,19,17,16) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001263s ]
- [ 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.001155s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [ RunTime:0.000982s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [ RunTime:0.001006s ]
- [ 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.000978s ]
- [ 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.001149s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001027s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [ RunTime:0.001075s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [ RunTime:0.001099s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [ RunTime:0.000794s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001097s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [ RunTime:0.000928s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001460s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001112s ]
- 1/70 . 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.005883s/0.086441s=6.81%]
- 2/70 . CONNECT:[ UseTime:0.003540s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1702621091400;charset=utf8mb4 [0.003540s/0.086441s=4.10%]
- 3/70 . 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` = 'i65t45pt9ievdo4tod5a6127kp' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001613s/0.086441s=1.87%]
- 4/70 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (21,20,19,17,16) ) AND `discuss`.`deletetime` IS NULL [0.001569s/0.086441s=1.82%]
- 5/70 . SELECT * FROM `discuss` WHERE ( `product_id` = 7 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001534s/0.086441s=1.77%]
- 6/70 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001460s/0.086441s=1.69%]
- 7/70 . SELECT `id`,`type`,`title`,`subtitle`,`supplier`,`spu`,`status`,`audit_status`,`audit_reject_times`,`auto_shelves_after_audit`,`is_tax`,`weigh`,`category_ids`,`product_tag_ids`,`product_tag_names`,`image`,`images`,`params`,`price`,`original_price`,`is_sku`,`likes`,`views`,`sales`,`size_country`,`size_guide`,`marketing_size_guide_id`,`show_sales`,`service_ids`,`shipping_type`,`shipping_ids`,`is_custom`,`custom_config`,`draft_product_id`,`seotitle`,`keywords`,`description`,`path`,`is_tob_sku`,`product_topic_style`,`createtime`,`updatetime`,`deletetime`,`is_custom_plus`,`is_additional_product`,`show_deleted_sku`,`gtin`,`lang` FROM `product` WHERE ( `id` = 7 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001453s/0.086441s=1.68%]
- 8/70 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1,4,3) ) AND `shipping_express`.`deletetime` IS NULL [0.001435s/0.086441s=1.66%]
- 9/70 . SELECT * FROM `product` WHERE ( `path` = 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001431s/0.086441s=1.66%]
- 10/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001411s/0.086441s=1.63%]
- 11/70 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001366s/0.086441s=1.58%]
- 12/70 . UPDATE `cart` SET `deletetime`=1771436018 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'i65t45pt9ievdo4tod5a6127kp' AND `createtime` > 1771176818 ) AND `cart`.`deletetime` IS NULL [0.001358s/0.086441s=1.57%]
- 13/70 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001325s/0.086441s=1.53%]
- 14/70 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001291s/0.086441s=1.49%]
- 15/70 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001281s/0.086441s=1.48%]
- 16/70 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (21,20,19,17,16) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,21,20,19,17,16) LIMIT 0,15 [0.001268s/0.086441s=1.47%]
- 17/70 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001268s/0.086441s=1.47%]
- 18/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (21,20,19,17,16) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001263s/0.086441s=1.46%]
- 19/70 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001238s/0.086441s=1.43%]
- 20/70 . SELECT `a`.`id`,`a`.`product_id`,`a`.`status`,`a`.`page_choose_one`,b.title as product_title FROM `product_customize` `a` LEFT JOIN `product` `b` ON `a`.`product_id`=`b`.`id` WHERE ( `a`.`product_id` = 7 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001223s/0.086441s=1.41%]
- 21/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL [0.001216s/0.086441s=1.41%]
- 22/70 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.001182s/0.086441s=1.37%]
- 23/70 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001182s/0.086441s=1.37%]
- 24/70 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001173s/0.086441s=1.36%]
- 25/70 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001155s/0.086441s=1.34%]
- 26/70 . SELECT * FROM `product` WHERE ( `path` = 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001155s/0.086441s=1.34%]
- 27/70 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001149s/0.086441s=1.33%]
- 28/70 . 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.001149s/0.086441s=1.33%]
- 29/70 . SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 2 AND `type` = 'percentage' [0.001135s/0.086441s=1.31%]
- 30/70 . SELECT `id` FROM `product` WHERE ( `id` <> 7 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `createtime` DESC LIMIT 5 [0.001134s/0.086441s=1.31%]
- 31/70 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1771436018 AND `status` = 'enable' AND `deletetime` IS NULL [0.001121s/0.086441s=1.30%]
- 32/70 . SELECT *
FROM
discuss
where status='show' and product_id = 7 and deletetime is null order by createtime desc, id desc [0.001120s/0.086441s=1.30%]
- 33/70 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001120s/0.086441s=1.30%]
- 34/70 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001112s/0.086441s=1.29%]
- 35/70 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001109s/0.086441s=1.28%]
- 36/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001103s/0.086441s=1.28%]
- 37/70 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001102s/0.086441s=1.27%]
- 38/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 20 LIMIT 1 [0.001099s/0.086441s=1.27%]
- 39/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [0.001097s/0.086441s=1.27%]
- 40/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001075s/0.086441s=1.24%]
- 41/70 . SELECT * FROM `activity` WHERE ( ( 1771436018 > starttime && 1771436018 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001072s/0.086441s=1.24%]
- 42/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001070s/0.086441s=1.24%]
- 43/70 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001068s/0.086441s=1.24%]
- 44/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001067s/0.086441s=1.23%]
- 45/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/a46331e0241640b4e0058465534baa36.jpg' LIMIT 1 [0.001039s/0.086441s=1.20%]
- 46/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001035s/0.086441s=1.20%]
- 47/70 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (21,20,19,17,16) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001031s/0.086441s=1.19%]
- 48/70 . 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` <= 1771436018
AND pcm.`ends_at` >= 1771436018
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001028s/0.086441s=1.19%]
- 49/70 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1771436018 AND `ends_at` >= 1771436018 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001028s/0.086441s=1.19%]
- 50/70 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [0.001027s/0.086441s=1.19%]
- 51/70 . SELECT @@session.sql_mode [0.001024s/0.086441s=1.18%]
- 52/70 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.001021s/0.086441s=1.18%]
- 53/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 5 AND `status` = '1' LIMIT 1 [0.001006s/0.086441s=1.16%]
- 54/70 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001005s/0.086441s=1.16%]
- 55/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000998s/0.086441s=1.15%]
- 56/70 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000995s/0.086441s=1.15%]
- 57/70 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL [0.000995s/0.086441s=1.15%]
- 58/70 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 21 LIMIT 1 [0.000982s/0.086441s=1.14%]
- 59/70 . 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.000978s/0.086441s=1.13%]
- 60/70 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 7 AND `themes_id` = 15 LIMIT 1 [0.000978s/0.086441s=1.13%]
- 61/70 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000973s/0.086441s=1.13%]
- 62/70 . SELECT `type_id` FROM `marketing_coupon_relation` WHERE `marketing_coupon_id` = 1 AND `type` = 'percentage' [0.000973s/0.086441s=1.13%]
- 63/70 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.000951s/0.086441s=1.10%]
- 64/70 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000948s/0.086441s=1.10%]
- 65/70 . set time_zone = '+08:00' [0.000937s/0.086441s=1.08%]
- 66/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 6 AND `status` = '1' LIMIT 1 [0.000928s/0.086441s=1.07%]
- 67/70 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000923s/0.086441s=1.07%]
- 68/70 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000842s/0.086441s=0.97%]
- 69/70 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000827s/0.086441s=0.96%]
- 70/70 . SELECT `id` FROM `custom_activity` WHERE `id` = 3 AND `status` = '1' LIMIT 1 [0.000794s/0.086441s=0.92%]
- 1/8. SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [5 times, 0.005389s/0.086441s=6.23%]
- 2/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 [3 times, 0.00801s/0.086441s=9.27%]
- 3/8. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267553438.webp' LIMIT 1 [2 times, 0.0022s/0.086441s=2.55%]
- 4/8. SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/c2fd4850da46a799/1727267554903.webp' LIMIT 1 [2 times, 0.002102s/0.086441s=2.43%]
- 5/8. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.002211s/0.086441s=2.56%]
- 6/8. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 7 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002446s/0.086441s=2.83%]
- 7/8. SELECT * FROM `product` WHERE ( `path` = 'copy-of-ipad-mini-5-2019-unicorn-beetle-royal-leather-case-blue' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002586s/0.086441s=2.99%]
- 8/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001897s/0.086441s=2.19%]