基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-02-09 18:06:55 HTTP/1.1 GET : zhouxinspdz001.saascdn.co/product/pea-wash-cup-brush-2412301742047492-100.html
- 运行时间 : 0.250074s [ 吞吐率:4.00req/s ] 内存消耗:22,661.01kb 文件加载:363
- 查询信息 : [耗时:0.083981s/0.250074 33.58% ] 66 queries ,5 writes
- 缓存信息 : 12 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=su82et54lvjs048ur5ths8v6pq
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000382s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000062s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000075s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000087s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zhouxinspdz001.saascdn.co',
'x-forwarded-for' => '216.73.216.29',
'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' => 'zhouxinspdz001.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'pea-wash-cup-brush-2412301742047492-100',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005698s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1696643044252:',
'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.003204s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001766s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001667s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001748s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002115s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001020s ]
- [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001631s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001031s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001153s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000046s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ]
- [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000963s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.002824s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000936s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.004659s ]
- [ 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.042482s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001737s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003017s ]
- 1/29 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.042482s ] [0.042482s/0.078556s=54.08%]
- 2/29 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.005698s ] [0.005698s/0.078556s=7.25%]
- 3/29 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.004659s ] [0.004659s/0.078556s=5.93%]
- 4/29 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003204s ] [0.003204s/0.078556s=4.08%]
- 5/29 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.003017s ] [0.003017s/0.078556s=3.84%]
- 6/29 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.002824s ] [0.002824s/0.078556s=3.59%]
- 7/29 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002115s ] [0.002115s/0.078556s=2.69%]
- 8/29 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001766s ] [0.001766s/0.078556s=2.25%]
- 9/29 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001748s ] [0.001748s/0.078556s=2.23%]
- 10/29 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001737s ] [0.001737s/0.078556s=2.21%]
- 11/29 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001667s ] [0.001667s/0.078556s=2.12%]
- 12/29 . [ BEHAVIOR ] Run addons\conversionassistantswiper\Hook @conversion_assistant_swiper [ RunTime:0.001631s ] [0.001631s/0.078556s=2.08%]
- 13/29 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001153s ] [0.001153s/0.078556s=1.47%]
- 14/29 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.001031s ] [0.001031s/0.078556s=1.31%]
- 15/29 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001020s ] [0.001020s/0.078556s=1.30%]
- 16/29 . [ BEHAVIOR ] Run addons\conversionassistant\Hook @conversion_assistant [ RunTime:0.000963s ] [0.000963s/0.078556s=1.23%]
- 17/29 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000936s ] [0.000936s/0.078556s=1.19%]
- 18/29 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000382s ] [0.000382s/0.078556s=0.49%]
- 19/29 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000087s ] [0.000087s/0.078556s=0.11%]
- 20/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000075s ] [0.000075s/0.078556s=0.10%]
- 21/29 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000065s ] [0.000065s/0.078556s=0.08%]
- 22/29 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000062s ] [0.000062s/0.078556s=0.08%]
- 23/29 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000054s ] [0.000054s/0.078556s=0.07%]
- 24/29 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000047s ] [0.000047s/0.078556s=0.06%]
- 25/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000046s ] [0.000046s/0.078556s=0.06%]
- 26/29 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000035s ] [0.000035s/0.078556s=0.04%]
- 27/29 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ] [0.000032s/0.078556s=0.04%]
- 28/29 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000015s ] [0.000015s/0.078556s=0.02%]
- 29/29 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ] [0.000005s/0.078556s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002169s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1696643044252;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000961s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001142s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000906s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001715s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001942s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001153s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000917s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1770631615 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'su82et54lvjs048ur5ths8v6pq' AND `createtime` > 1770372415 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001364s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001017s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000638s ]
- [ 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` = 'su82et54lvjs048ur5ths8v6pq' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002270s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000733s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001319s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001224s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301742047492-100' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001696s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001371s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1770631615 > starttime && 1770631615 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000933s ]
- [ 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.000800s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 100 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000889s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 100 [ RunTime:0.003863s ]
- [ 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.001531s ]
- [ 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` = 100 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000981s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000869s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.000927s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.000953s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.000958s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1770631615 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.000904s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 100 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000828s ]
- [ SQL ] SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [ RunTime:0.000825s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.000976s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301742047492-100' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001773s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000976s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000913s ]
- [ 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` <= 1770631615
AND pcm.`ends_at` >= 1770631615
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.000948s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.000878s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001473s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791350.jpg' LIMIT 1 [ RunTime:0.000873s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791498.jpg' LIMIT 1 [ RunTime:0.003368s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791253.jpg' LIMIT 1 [ RunTime:0.001019s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791791.jpg' LIMIT 1 [ RunTime:0.000830s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791945.jpg' LIMIT 1 [ RunTime:0.001238s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791384.jpg' LIMIT 1 [ RunTime:0.001103s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430792968.jpg' LIMIT 1 [ RunTime:0.001152s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000911s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1770631616 AND `ends_at` >= 1770631616 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.000865s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000882s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.000835s ]
- [ 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` FROM `product` WHERE ( `id` = 100 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001035s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 100 and deletetime is null order by createtime desc, id desc [ RunTime:0.001042s ]
- [ SQL ] SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301742047492-100' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002055s ]
- [ SQL ] SELECT `id`,`pid`,`path`,`name` FROM `category` [ RunTime:0.000974s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 100 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001230s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001516s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,7,8,6,9) LIMIT 0,15 [ RunTime:0.001431s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000863s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,7,8,6,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001045s ]
- [ 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.000952s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [ RunTime:0.000935s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [ RunTime:0.000774s ]
- [ 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.000886s ]
- [ 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.000921s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.000948s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.000959s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [ RunTime:0.001041s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.000950s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.000995s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [ RunTime:0.000830s ]
- [ SQL ] SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001060s ]
- [ SQL ] SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000821s ]
- 1/72 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 100 [0.003863s/0.083981s=4.60%]
- 2/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791498.jpg' LIMIT 1 [0.003368s/0.083981s=4.01%]
- 3/72 . 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` = 'su82et54lvjs048ur5ths8v6pq' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002270s/0.083981s=2.70%]
- 4/72 . CONNECT:[ UseTime:0.002169s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1696643044252;charset=utf8mb4 [0.002169s/0.083981s=2.58%]
- 5/72 . SELECT `id`,`title`,`category_ids` FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301742047492-100' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.002055s/0.083981s=2.45%]
- 6/72 . set time_zone = '+08:00' [0.001942s/0.083981s=2.31%]
- 7/72 . SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301742047492-100' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001773s/0.083981s=2.11%]
- 8/72 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001715s/0.083981s=2.04%]
- 9/72 . SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301742047492-100' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001696s/0.083981s=2.02%]
- 10/72 . 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.001531s/0.083981s=1.82%]
- 11/72 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001516s/0.083981s=1.81%]
- 12/72 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.001473s/0.083981s=1.75%]
- 13/72 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,7,8,6,9) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,7,8,6,9) LIMIT 0,15 [0.001431s/0.083981s=1.70%]
- 14/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001371s/0.083981s=1.63%]
- 15/72 . UPDATE `cart` SET `deletetime`=1770631615 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'su82et54lvjs048ur5ths8v6pq' AND `createtime` > 1770372415 ) AND `cart`.`deletetime` IS NULL [0.001364s/0.083981s=1.62%]
- 16/72 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001319s/0.083981s=1.57%]
- 17/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791945.jpg' LIMIT 1 [0.001238s/0.083981s=1.47%]
- 18/72 . SELECT `id` FROM `product` WHERE ( `id` <> 100 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001230s/0.083981s=1.46%]
- 19/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001224s/0.083981s=1.46%]
- 20/72 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001153s/0.083981s=1.37%]
- 21/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430792968.jpg' LIMIT 1 [0.001152s/0.083981s=1.37%]
- 22/72 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001142s/0.083981s=1.36%]
- 23/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791384.jpg' LIMIT 1 [0.001103s/0.083981s=1.31%]
- 24/72 . SELECT `template` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001060s/0.083981s=1.26%]
- 25/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,7,8,6,9) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001045s/0.083981s=1.24%]
- 26/72 . SELECT *
FROM
discuss
where status='show' and product_id = 100 and deletetime is null order by createtime desc, id desc [0.001042s/0.083981s=1.24%]
- 27/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [0.001041s/0.083981s=1.24%]
- 28/72 . 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` FROM `product` WHERE ( `id` = 100 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001035s/0.083981s=1.23%]
- 29/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791253.jpg' LIMIT 1 [0.001019s/0.083981s=1.21%]
- 30/72 . SELECT @@session.sql_mode [0.001017s/0.083981s=1.21%]
- 31/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000998s/0.083981s=1.19%]
- 32/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.000995s/0.083981s=1.18%]
- 33/72 . 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` = 100 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.000981s/0.083981s=1.17%]
- 34/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000976s/0.083981s=1.16%]
- 35/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL [0.000976s/0.083981s=1.16%]
- 36/72 . SELECT `id`,`pid`,`path`,`name` FROM `category` [0.000974s/0.083981s=1.16%]
- 37/72 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.000961s/0.083981s=1.14%]
- 38/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.000959s/0.083981s=1.14%]
- 39/72 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.000958s/0.083981s=1.14%]
- 40/72 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.000953s/0.083981s=1.13%]
- 41/72 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.000952s/0.083981s=1.13%]
- 42/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.000950s/0.083981s=1.13%]
- 43/72 . 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` <= 1770631615
AND pcm.`ends_at` >= 1770631615
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.000948s/0.083981s=1.13%]
- 44/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.000948s/0.083981s=1.13%]
- 45/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [0.000935s/0.083981s=1.11%]
- 46/72 . SELECT * FROM `activity` WHERE ( ( 1770631615 > starttime && 1770631615 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000933s/0.083981s=1.11%]
- 47/72 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.000927s/0.083981s=1.10%]
- 48/72 . 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.000921s/0.083981s=1.10%]
- 49/72 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000917s/0.083981s=1.09%]
- 50/72 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000913s/0.083981s=1.09%]
- 51/72 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000911s/0.083981s=1.08%]
- 52/72 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.000909s/0.083981s=1.08%]
- 53/72 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000906s/0.083981s=1.08%]
- 54/72 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1770631615 AND `status` = 'enable' AND `deletetime` IS NULL [0.000904s/0.083981s=1.08%]
- 55/72 . SELECT * FROM `discuss` WHERE ( `product_id` = 100 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000889s/0.083981s=1.06%]
- 56/72 . 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.000886s/0.083981s=1.06%]
- 57/72 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000882s/0.083981s=1.05%]
- 58/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL [0.000878s/0.083981s=1.05%]
- 59/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791350.jpg' LIMIT 1 [0.000873s/0.083981s=1.04%]
- 60/72 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000869s/0.083981s=1.03%]
- 61/72 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1770631616 AND `ends_at` >= 1770631616 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.000865s/0.083981s=1.03%]
- 62/72 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [0.000863s/0.083981s=1.03%]
- 63/72 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.000835s/0.083981s=0.99%]
- 64/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736430791791.jpg' LIMIT 1 [0.000830s/0.083981s=0.99%]
- 65/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [0.000830s/0.083981s=0.99%]
- 66/72 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 100 AND `themes_id` = 15 LIMIT 1 [0.000828s/0.083981s=0.99%]
- 67/72 . SELECT * FROM `payment` WHERE `code` = 'oceanpaymentklarna' AND `status` = '1' LIMIT 1 [0.000825s/0.083981s=0.98%]
- 68/72 . SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [0.000821s/0.083981s=0.98%]
- 69/72 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000800s/0.083981s=0.95%]
- 70/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [0.000774s/0.083981s=0.92%]
- 71/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000733s/0.083981s=0.87%]
- 72/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000638s/0.083981s=0.76%]
- 1/6. SELECT `config` FROM `convert_helper` WHERE ( `template` = 'ella' AND `status` = 1 ) AND `convert_helper`.`deletetime` IS NULL LIMIT 1 [5 times, 0.005s/0.083981s=5.95%]
- 2/6. 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.003338s/0.083981s=3.97%]
- 3/6. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.001854s/0.083981s=2.21%]
- 4/6. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 100 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002347s/0.083981s=2.79%]
- 5/6. SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301742047492-100' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.003469s/0.083981s=4.13%]
- 6/6. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001371s/0.083981s=1.63%]