基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-10-28 17:46:24 HTTP/1.1 GET : spdz001.test3.shoppaas.co/product/pea-wash-cup-brush-2412301803558360-192.html
- 运行时间 : 0.282689s [ 吞吐率:3.54req/s ] 内存消耗:22,573.74kb 文件加载:358
- 查询信息 : [耗时:0.086835s/0.282689 30.72% ] 58 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=gb6anjp44pnksmc39sgeh3i2bj
- [ 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.000038s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'view',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'spdz001.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.158',
'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' => 'spdz001.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'pea-wash-cup-brush-2412301803558360-192',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004129s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ]
- [ 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.003315s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001997s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001764s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001875s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001903s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001325s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003034s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000078s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000006s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000042s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004032s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001047s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.006161s ]
- [ 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.047756s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000089s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.003363s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001092s ]
- 1/26 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.047756s ] [0.047756s/0.083555s=57.16%]
- 2/26 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.006161s ] [0.006161s/0.083555s=7.37%]
- 3/26 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004129s ] [0.004129s/0.083555s=4.94%]
- 4/26 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.004032s ] [0.004032s/0.083555s=4.83%]
- 5/26 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.003363s ] [0.003363s/0.083555s=4.02%]
- 6/26 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003315s ] [0.003315s/0.083555s=3.97%]
- 7/26 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.003034s ] [0.003034s/0.083555s=3.63%]
- 8/26 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001997s ] [0.001997s/0.083555s=2.39%]
- 9/26 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001903s ] [0.001903s/0.083555s=2.28%]
- 10/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001875s ] [0.001875s/0.083555s=2.24%]
- 11/26 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001764s ] [0.001764s/0.083555s=2.11%]
- 12/26 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001325s ] [0.001325s/0.083555s=1.59%]
- 13/26 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001092s ] [0.001092s/0.083555s=1.31%]
- 14/26 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.001047s ] [0.001047s/0.083555s=1.25%]
- 15/26 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000248s ] [0.000248s/0.083555s=0.30%]
- 16/26 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000089s ] [0.000089s/0.083555s=0.11%]
- 17/26 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000088s ] [0.000088s/0.083555s=0.11%]
- 18/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000078s ] [0.000078s/0.083555s=0.09%]
- 19/26 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000053s ] [0.000053s/0.083555s=0.06%]
- 20/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000047s ] [0.000047s/0.083555s=0.06%]
- 21/26 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000042s ] [0.000042s/0.083555s=0.05%]
- 22/26 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000038s ] [0.000038s/0.083555s=0.05%]
- 23/26 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000034s ] [0.000034s/0.083555s=0.04%]
- 24/26 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.083555s=0.03%]
- 25/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.083555s=0.01%]
- 26/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000006s ] [0.000006s/0.083555s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.001844s ] 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.000810s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000896s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001223s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001019s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000888s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000780s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000875s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1761644784 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gb6anjp44pnksmc39sgeh3i2bj' AND `createtime` > 1761385584 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001224s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000659s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000707s ]
- [ 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` = 'gb6anjp44pnksmc39sgeh3i2bj' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001555s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000675s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001016s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000979s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301803558360-192' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001390s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000940s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1761644784 > starttime && 1761644784 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000849s ]
- [ 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.000789s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 192 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000914s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 192 [ RunTime:0.005274s ]
- [ 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.002256s ]
- [ 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` = 192 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002166s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.002816s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001930s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.002326s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [ RunTime:0.001024s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761644784 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001310s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 192 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.002835s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001342s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301803558360-192' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001509s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001127s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001152s ]
- [ 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` <= 1761644784
AND pcm.`ends_at` >= 1761644784
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001160s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001016s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431553715.jpg' LIMIT 1 [ RunTime:0.001174s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431553550.jpg' LIMIT 1 [ RunTime:0.002485s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554585.jpg' LIMIT 1 [ RunTime:0.001139s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554938.jpg' LIMIT 1 [ RunTime:0.001186s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554328.jpg' LIMIT 1 [ RunTime:0.001032s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554206.jpg' LIMIT 1 [ RunTime:0.001848s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554107.jpg' LIMIT 1 [ RunTime:0.001206s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761644784 AND `ends_at` >= 1761644784 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.002570s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001971s ]
- [ 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` = 192 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001193s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 192 and deletetime is null order by createtime desc, id desc [ RunTime:0.001012s ]
- [ SQL ] SELECT `id`,`title` FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301803558360-192' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001131s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 192 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001192s ]
- [ 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.001158s ]
- [ 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.001250s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001007s ]
- [ 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.001136s ]
- [ 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.001342s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [ RunTime:0.001192s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [ RunTime:0.000860s ]
- [ 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.000800s ]
- [ 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.000864s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.001040s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.000962s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [ RunTime:0.001010s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.000877s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.002876s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [ RunTime:0.001093s ]
- 1/64 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 192 [0.005274s/0.086835s=6.07%]
- 2/64 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.002876s/0.086835s=3.31%]
- 3/64 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 192 AND `themes_id` = 15 LIMIT 1 [0.002835s/0.086835s=3.26%]
- 4/64 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.002816s/0.086835s=3.24%]
- 5/64 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761644784 AND `ends_at` >= 1761644784 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.002570s/0.086835s=2.96%]
- 6/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431553550.jpg' LIMIT 1 [0.002485s/0.086835s=2.86%]
- 7/64 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.002326s/0.086835s=2.68%]
- 8/64 . 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.002256s/0.086835s=2.60%]
- 9/64 . 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` = 192 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.002166s/0.086835s=2.49%]
- 10/64 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001971s/0.086835s=2.27%]
- 11/64 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001930s/0.086835s=2.22%]
- 12/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554206.jpg' LIMIT 1 [0.001848s/0.086835s=2.13%]
- 13/64 . CONNECT:[ UseTime:0.001844s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1696643044252;charset=utf8mb4 [0.001844s/0.086835s=2.12%]
- 14/64 . 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` = 'gb6anjp44pnksmc39sgeh3i2bj' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001555s/0.086835s=1.79%]
- 15/64 . SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301803558360-192' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001509s/0.086835s=1.74%]
- 16/64 . SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301803558360-192' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001390s/0.086835s=1.60%]
- 17/64 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001342s/0.086835s=1.55%]
- 18/64 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL [0.001342s/0.086835s=1.55%]
- 19/64 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761644784 AND `status` = 'enable' AND `deletetime` IS NULL [0.001310s/0.086835s=1.51%]
- 20/64 . 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.001250s/0.086835s=1.44%]
- 21/64 . UPDATE `cart` SET `deletetime`=1761644784 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'gb6anjp44pnksmc39sgeh3i2bj' AND `createtime` > 1761385584 ) AND `cart`.`deletetime` IS NULL [0.001224s/0.086835s=1.41%]
- 22/64 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001223s/0.086835s=1.41%]
- 23/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554107.jpg' LIMIT 1 [0.001206s/0.086835s=1.39%]
- 24/64 . 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` = 192 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001193s/0.086835s=1.37%]
- 25/64 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [0.001192s/0.086835s=1.37%]
- 26/64 . SELECT `id` FROM `product` WHERE ( `id` <> 192 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001192s/0.086835s=1.37%]
- 27/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554938.jpg' LIMIT 1 [0.001186s/0.086835s=1.37%]
- 28/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431553715.jpg' LIMIT 1 [0.001174s/0.086835s=1.35%]
- 29/64 . 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` <= 1761644784
AND pcm.`ends_at` >= 1761644784
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001160s/0.086835s=1.34%]
- 30/64 . 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.001158s/0.086835s=1.33%]
- 31/64 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001152s/0.086835s=1.33%]
- 32/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554585.jpg' LIMIT 1 [0.001139s/0.086835s=1.31%]
- 33/64 . 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.001136s/0.086835s=1.31%]
- 34/64 . SELECT `id`,`title` FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301803558360-192' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001131s/0.086835s=1.30%]
- 35/64 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001127s/0.086835s=1.30%]
- 36/64 . SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [0.001093s/0.086835s=1.26%]
- 37/64 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.001040s/0.086835s=1.20%]
- 38/64 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431554328.jpg' LIMIT 1 [0.001032s/0.086835s=1.19%]
- 39/64 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2) LIMIT 1 [0.001024s/0.086835s=1.18%]
- 40/64 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001019s/0.086835s=1.17%]
- 41/64 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL [0.001016s/0.086835s=1.17%]
- 42/64 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001016s/0.086835s=1.17%]
- 43/64 . SELECT *
FROM
discuss
where status='show' and product_id = 192 and deletetime is null order by createtime desc, id desc [0.001012s/0.086835s=1.17%]
- 44/64 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [0.001010s/0.086835s=1.16%]
- 45/64 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [0.001007s/0.086835s=1.16%]
- 46/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000979s/0.086835s=1.13%]
- 47/64 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.000962s/0.086835s=1.11%]
- 48/64 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000954s/0.086835s=1.10%]
- 49/64 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000940s/0.086835s=1.08%]
- 50/64 . SELECT * FROM `discuss` WHERE ( `product_id` = 192 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.000914s/0.086835s=1.05%]
- 51/64 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.000896s/0.086835s=1.03%]
- 52/64 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000888s/0.086835s=1.02%]
- 53/64 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.000877s/0.086835s=1.01%]
- 54/64 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000875s/0.086835s=1.01%]
- 55/64 . 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.000864s/0.086835s=0.99%]
- 56/64 . SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [0.000860s/0.086835s=0.99%]
- 57/64 . SELECT * FROM `activity` WHERE ( ( 1761644784 > starttime && 1761644784 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000849s/0.086835s=0.98%]
- 58/64 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000810s/0.086835s=0.93%]
- 59/64 . 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.000800s/0.086835s=0.92%]
- 60/64 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000789s/0.086835s=0.91%]
- 61/64 . set time_zone = '+08:00' [0.000780s/0.086835s=0.90%]
- 62/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000707s/0.086835s=0.81%]
- 63/64 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000675s/0.086835s=0.78%]
- 64/64 . SELECT @@session.sql_mode [0.000659s/0.086835s=0.76%]
- 1/5. 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.00392s/0.086835s=4.51%]
- 2/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.002358s/0.086835s=2.72%]
- 3/5. SELECT * FROM `product` WHERE ( `path` = 'pea-wash-cup-brush-2412301803558360-192' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002899s/0.086835s=3.34%]
- 4/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 192 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002067s/0.086835s=2.38%]
- 5/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001382s/0.086835s=1.59%]