基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-10-28 07:36:18 HTTP/1.1 GET : spdz001.test3.shoppaas.co/product/2021-new-womens-three-in-one-leather-bag-1-2-4-259.html
- 运行时间 : 0.288142s [ 吞吐率:3.47req/s ] 内存消耗:22,589.72kb 文件加载:358
- 查询信息 : [耗时:0.092879s/0.288142 32.23% ] 59 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=8ni92j6buh77g5slau49ugq6ab
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000008s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000258s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000044s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000076s ]
- [ 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.57',
'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' => '2021-new-womens-three-in-one-leather-bag-1-2-4-259',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004725s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000120s ]
- [ 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.003154s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001742s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001673s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001625s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.010103s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001166s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001332s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ]
- [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000040s ]
- [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003388s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000972s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005165s ]
- [ 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.044762s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000061s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001875s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001079s ]
- 1/26 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.044762s ] [0.044762s/0.083528s=53.59%]
- 2/26 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.010103s ] [0.010103s/0.083528s=12.10%]
- 3/26 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005165s ] [0.005165s/0.083528s=6.18%]
- 4/26 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004725s ] [0.004725s/0.083528s=5.66%]
- 5/26 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.003388s ] [0.003388s/0.083528s=4.06%]
- 6/26 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.003154s ] [0.003154s/0.083528s=3.78%]
- 7/26 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001875s ] [0.001875s/0.083528s=2.24%]
- 8/26 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001742s ] [0.001742s/0.083528s=2.09%]
- 9/26 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001673s ] [0.001673s/0.083528s=2.00%]
- 10/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001625s ] [0.001625s/0.083528s=1.95%]
- 11/26 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001332s ] [0.001332s/0.083528s=1.59%]
- 12/26 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001166s ] [0.001166s/0.083528s=1.40%]
- 13/26 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001079s ] [0.001079s/0.083528s=1.29%]
- 14/26 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000972s ] [0.000972s/0.083528s=1.16%]
- 15/26 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000258s ] [0.000258s/0.083528s=0.31%]
- 16/26 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000120s ] [0.000120s/0.083528s=0.14%]
- 17/26 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000076s ] [0.000076s/0.083528s=0.09%]
- 18/26 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000061s ] [0.000061s/0.083528s=0.07%]
- 19/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000045s ] [0.000045s/0.083528s=0.05%]
- 20/26 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.083528s=0.05%]
- 21/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000044s ] [0.000044s/0.083528s=0.05%]
- 22/26 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000040s ] [0.000040s/0.083528s=0.05%]
- 23/26 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ] [0.000036s/0.083528s=0.04%]
- 24/26 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000029s ] [0.000029s/0.083528s=0.03%]
- 25/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000008s ] [0.000008s/0.083528s=0.01%]
- 26/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ] [0.000005s/0.083528s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.002967s ] 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.001478s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001694s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001309s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001154s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001131s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001122s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001119s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1761608178 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8ni92j6buh77g5slau49ugq6ab' AND `createtime` > 1761348978 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001331s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001030s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000889s ]
- [ 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` = '8ni92j6buh77g5slau49ugq6ab' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.003092s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000811s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001069s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002183s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '2021-new-womens-three-in-one-leather-bag-1-2-4-259' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001728s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001596s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1761608178 > starttime && 1761608178 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001020s ]
- [ 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.001303s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 259 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001551s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 259 [ RunTime:0.006163s ]
- [ 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.002035s ]
- [ 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.001214s ]
- [ 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.001248s ]
- [ 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` = 259 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001099s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.000952s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001159s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.001212s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,4,5) LIMIT 1 [ RunTime:0.001388s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761608178 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001195s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 259 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.001029s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001150s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = '2021-new-womens-three-in-one-leather-bag-1-2-4-259' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001233s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001216s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001029s ]
- [ 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` <= 1761608178
AND pcm.`ends_at` >= 1761608178
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001114s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001069s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431616648.jpg' LIMIT 1 [ RunTime:0.000959s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431616116.jpg' LIMIT 1 [ RunTime:0.001017s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431616140.jpg' LIMIT 1 [ RunTime:0.001070s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617402.jpg' LIMIT 1 [ RunTime:0.000986s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617716.jpg' LIMIT 1 [ RunTime:0.001059s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617434.jpg' LIMIT 1 [ RunTime:0.000912s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617523.jpg' LIMIT 1 [ RunTime:0.001272s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617540.jpg' LIMIT 1 [ RunTime:0.000976s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761608178 AND `ends_at` >= 1761608178 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001042s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001454s ]
- [ 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` = 259 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001324s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 259 and deletetime is null order by createtime desc, id desc [ RunTime:0.001125s ]
- [ SQL ] SELECT `id`,`title` FROM `product` WHERE ( `path` = '2021-new-womens-three-in-one-leather-bag-1-2-4-259' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001405s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 259 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001262s ]
- [ 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.001877s ]
- [ 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.001337s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001409s ]
- [ 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.001499s ]
- [ 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.001049s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [ RunTime:0.001245s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [ RunTime:0.001370s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.001285s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.000926s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [ RunTime:0.001224s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.001405s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.004927s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [ RunTime:0.001364s ]
- 1/65 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 259 [0.006163s/0.092879s=6.64%]
- 2/65 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.004927s/0.092879s=5.30%]
- 3/65 . 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` = '8ni92j6buh77g5slau49ugq6ab' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.003092s/0.092879s=3.33%]
- 4/65 . CONNECT:[ UseTime:0.002967s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1696643044252;charset=utf8mb4 [0.002967s/0.092879s=3.19%]
- 5/65 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002183s/0.092879s=2.35%]
- 6/65 . 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.002035s/0.092879s=2.19%]
- 7/65 . 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.001877s/0.092879s=2.02%]
- 8/65 . SELECT * FROM `product` WHERE ( `path` = '2021-new-womens-three-in-one-leather-bag-1-2-4-259' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001728s/0.092879s=1.86%]
- 9/65 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001694s/0.092879s=1.82%]
- 10/65 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001596s/0.092879s=1.72%]
- 11/65 . SELECT * FROM `discuss` WHERE ( `product_id` = 259 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.001551s/0.092879s=1.67%]
- 12/65 . 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.001499s/0.092879s=1.61%]
- 13/65 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001478s/0.092879s=1.59%]
- 14/65 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001454s/0.092879s=1.57%]
- 15/65 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [0.001409s/0.092879s=1.52%]
- 16/65 . SELECT `id`,`title` FROM `product` WHERE ( `path` = '2021-new-womens-three-in-one-leather-bag-1-2-4-259' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001405s/0.092879s=1.51%]
- 17/65 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.001405s/0.092879s=1.51%]
- 18/65 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,4,5) LIMIT 1 [0.001388s/0.092879s=1.49%]
- 19/65 . SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [0.001370s/0.092879s=1.48%]
- 20/65 . SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [0.001364s/0.092879s=1.47%]
- 21/65 . 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.001337s/0.092879s=1.44%]
- 22/65 . UPDATE `cart` SET `deletetime`=1761608178 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = '8ni92j6buh77g5slau49ugq6ab' AND `createtime` > 1761348978 ) AND `cart`.`deletetime` IS NULL [0.001331s/0.092879s=1.43%]
- 23/65 . 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` = 259 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001324s/0.092879s=1.43%]
- 24/65 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001309s/0.092879s=1.41%]
- 25/65 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001303s/0.092879s=1.40%]
- 26/65 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.001285s/0.092879s=1.38%]
- 27/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617523.jpg' LIMIT 1 [0.001272s/0.092879s=1.37%]
- 28/65 . SELECT `id` FROM `product` WHERE ( `id` <> 259 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001262s/0.092879s=1.36%]
- 29/65 . 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.001248s/0.092879s=1.34%]
- 30/65 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [0.001245s/0.092879s=1.34%]
- 31/65 . SELECT * FROM `product` WHERE ( `path` = '2021-new-womens-three-in-one-leather-bag-1-2-4-259' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001233s/0.092879s=1.33%]
- 32/65 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [0.001224s/0.092879s=1.32%]
- 33/65 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001216s/0.092879s=1.31%]
- 34/65 . 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.001214s/0.092879s=1.31%]
- 35/65 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.001212s/0.092879s=1.30%]
- 36/65 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761608178 AND `status` = 'enable' AND `deletetime` IS NULL [0.001195s/0.092879s=1.29%]
- 37/65 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001159s/0.092879s=1.25%]
- 38/65 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001154s/0.092879s=1.24%]
- 39/65 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL [0.001150s/0.092879s=1.24%]
- 40/65 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001131s/0.092879s=1.22%]
- 41/65 . SELECT *
FROM
discuss
where status='show' and product_id = 259 and deletetime is null order by createtime desc, id desc [0.001125s/0.092879s=1.21%]
- 42/65 . set time_zone = '+08:00' [0.001122s/0.092879s=1.21%]
- 43/65 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001119s/0.092879s=1.20%]
- 44/65 . 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` <= 1761608178
AND pcm.`ends_at` >= 1761608178
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001114s/0.092879s=1.20%]
- 45/65 . 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` = 259 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001099s/0.092879s=1.18%]
- 46/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431616140.jpg' LIMIT 1 [0.001070s/0.092879s=1.15%]
- 47/65 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001069s/0.092879s=1.15%]
- 48/65 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL [0.001069s/0.092879s=1.15%]
- 49/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617716.jpg' LIMIT 1 [0.001059s/0.092879s=1.14%]
- 50/65 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001049s/0.092879s=1.13%]
- 51/65 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761608178 AND `ends_at` >= 1761608178 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001042s/0.092879s=1.12%]
- 52/65 . SELECT @@session.sql_mode [0.001030s/0.092879s=1.11%]
- 53/65 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 259 AND `themes_id` = 15 LIMIT 1 [0.001029s/0.092879s=1.11%]
- 54/65 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001029s/0.092879s=1.11%]
- 55/65 . SELECT * FROM `activity` WHERE ( ( 1761608178 > starttime && 1761608178 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001020s/0.092879s=1.10%]
- 56/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431616116.jpg' LIMIT 1 [0.001017s/0.092879s=1.09%]
- 57/65 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001017s/0.092879s=1.09%]
- 58/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617402.jpg' LIMIT 1 [0.000986s/0.092879s=1.06%]
- 59/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617540.jpg' LIMIT 1 [0.000976s/0.092879s=1.05%]
- 60/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431616648.jpg' LIMIT 1 [0.000959s/0.092879s=1.03%]
- 61/65 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.000952s/0.092879s=1.02%]
- 62/65 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.000926s/0.092879s=1.00%]
- 63/65 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431617434.jpg' LIMIT 1 [0.000912s/0.092879s=0.98%]
- 64/65 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000889s/0.092879s=0.96%]
- 65/65 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000811s/0.092879s=0.87%]
- 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.004497s/0.092879s=4.84%]
- 2/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.002219s/0.092879s=2.39%]
- 3/5. SELECT * FROM `product` WHERE ( `path` = '2021-new-womens-three-in-one-leather-bag-1-2-4-259' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.002961s/0.092879s=3.19%]
- 4/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 259 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.002812s/0.092879s=3.03%]
- 5/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.0017s/0.092879s=1.83%]