基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-10-28 07:39:02 HTTP/1.1 GET : spdz001.test3.shoppaas.co/product/hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268.html
- 运行时间 : 0.482674s [ 吞吐率:2.07req/s ] 内存消耗:23,476.02kb 文件加载:358
- 查询信息 : [耗时:0.247514s/0.482674 51.28% ] 66 queries ,5 writes
- 缓存信息 : 12 reads,2 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=k1rsb5q9d1crq25vg7sdmk32jn
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000246s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ]
- [ 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',
'cookie' => 'currency=%7B%22id%22%3A1%2C%22title%22%3A%22%E7%BE%8E%E5%85%83%EF%BC%88USD%EF%BC%89%22%2C%22code%22%3A%22USD%22%2C%22symbol_left%22%3A%22%24%22%2C%22symbol_right%22%3Anull%2C%22decimal_place%22%3A%222%22%2C%22value%22%3A%221.0000%22%2C%22status%22%3A1%2C%22icon%22%3A%22assets%5C%2Fshop%5C%2Fflag-icons%5C%2Fflags%5C%2F4x3%5C%2Fus.svg%22%2C%22updatetime%22%3A1717449634%2C%22is_default%22%3A1%2C%22sort%22%3A200%7D; PHPSESSID=k1rsb5q9d1crq25vg7sdmk32jn; currency_code=USD',
'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' => 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004391s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000053s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000047s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000103s ]
- [ 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.004594s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001940s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001702s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001690s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001698s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001654s ]
- [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001530s ]
- [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000051s ]
- [ 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.005795s ]
- [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000945s ]
- [ VIEW ] /wwwroot/addons/discuss/view/discuss_power.html [ array (
0 => 'data',
1 => 'product_info',
) ]
- [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005061s ]
- [ 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.038269s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000057s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002821s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001042s ]
- 1/26 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.038269s ] [0.038269s/0.073881s=51.80%]
- 2/26 . [ BEHAVIOR ] Run addons\marketingform\Hook @product_view_add_to_cart_button [ RunTime:0.005795s ] [0.005795s/0.073881s=7.84%]
- 3/26 . [ BEHAVIOR ] Run addons\discuss\Hook @product_discuss [ RunTime:0.005061s ] [0.005061s/0.073881s=6.85%]
- 4/26 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.004594s ] [0.004594s/0.073881s=6.22%]
- 5/26 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004391s ] [0.004391s/0.073881s=5.94%]
- 6/26 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.002821s ] [0.002821s/0.073881s=3.82%]
- 7/26 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001940s ] [0.001940s/0.073881s=2.63%]
- 8/26 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001702s ] [0.001702s/0.073881s=2.30%]
- 9/26 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001698s ] [0.001698s/0.073881s=2.30%]
- 10/26 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001690s ] [0.001690s/0.073881s=2.29%]
- 11/26 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001654s ] [0.001654s/0.073881s=2.24%]
- 12/26 . [ BEHAVIOR ] Run addons\marketingcoupon\Hook @product_marketingcoupon [ RunTime:0.001530s ] [0.001530s/0.073881s=2.07%]
- 13/26 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.001042s ] [0.001042s/0.073881s=1.41%]
- 14/26 . [ BEHAVIOR ] Run addons\listener\listener\PlatformButton @product_view_add_to_cart_button [ RunTime:0.000945s ] [0.000945s/0.073881s=1.28%]
- 15/26 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000246s ] [0.000246s/0.073881s=0.33%]
- 16/26 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000103s ] [0.000103s/0.073881s=0.14%]
- 17/26 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000057s ] [0.000057s/0.073881s=0.08%]
- 18/26 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000053s ] [0.000053s/0.073881s=0.07%]
- 19/26 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000052s ] [0.000052s/0.073881s=0.07%]
- 20/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activity_seckill [ RunTime:0.000051s ] [0.000051s/0.073881s=0.07%]
- 21/26 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000047s ] [0.000047s/0.073881s=0.06%]
- 22/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000045s ] [0.000045s/0.073881s=0.06%]
- 23/26 . [ BEHAVIOR ] Run addons\productcustom\Hook @product_custom [ RunTime:0.000040s ] [0.000040s/0.073881s=0.05%]
- 24/26 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000036s ] [0.000036s/0.073881s=0.05%]
- 25/26 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ] [0.000014s/0.073881s=0.02%]
- 26/26 . [ BEHAVIOR ] Run addons\activitybar\Hook @product_activitybar_ella [ RunTime:0.000005s ] [0.000005s/0.073881s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.004792s ] 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.001157s ]
- [ SQL ] SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002335s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.009324s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.009340s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.008733s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001186s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001465s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001458s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1761608342 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'k1rsb5q9d1crq25vg7sdmk32jn' AND `createtime` > 1761349142 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.002171s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001270s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.019434s ]
- [ 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` = 'k1rsb5q9d1crq25vg7sdmk32jn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.021418s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.004920s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.009171s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001472s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002856s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.004477s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1761608342 > starttime && 1761608342 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.014044s ]
- [ 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.002279s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `product_id` = 268 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.013526s ]
- [ SQL ] UPDATE `product` SET `views`=`views`+1 WHERE `id` = 268 [ RunTime:0.047882s ]
- [ 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.003397s ]
- [ 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.001380s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001149s ]
- [ SQL ] SELECT `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` = 268 ) AND `a`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001195s ]
- [ SQL ] SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [ RunTime:0.001067s ]
- [ SQL ] SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [ RunTime:0.001041s ]
- [ SQL ] SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [ RunTime:0.000995s ]
- [ SQL ] SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,4,5) LIMIT 1 [ RunTime:0.001230s ]
- [ SQL ] SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761608342 AND `status` = 'enable' AND `deletetime` IS NULL [ RunTime:0.001147s ]
- [ SQL ] SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 268 AND `themes_id` = 15 LIMIT 1 [ RunTime:0.000867s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.001342s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `path` = 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001482s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002086s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001544s ]
- [ 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` <= 1761608342
AND pcm.`ends_at` >= 1761608342
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [ RunTime:0.001239s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL [ RunTime:0.002384s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431630219.jpg' LIMIT 1 [ RunTime:0.001030s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631532.jpg' LIMIT 1 [ RunTime:0.001525s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631243.jpg' LIMIT 1 [ RunTime:0.001044s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631943.jpg' LIMIT 1 [ RunTime:0.001153s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631974.jpg' LIMIT 1 [ RunTime:0.001610s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631342.jpg' LIMIT 1 [ RunTime:0.001386s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631392.jpg' LIMIT 1 [ RunTime:0.001107s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631505.jpg' LIMIT 1 [ RunTime:0.000902s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631383.jpg' LIMIT 1 [ RunTime:0.001390s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631646.jpg' LIMIT 1 [ RunTime:0.000990s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631207.jpg' LIMIT 1 [ RunTime:0.001266s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632596.jpg' LIMIT 1 [ RunTime:0.001024s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632901.jpg' LIMIT 1 [ RunTime:0.001629s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632476.jpg' LIMIT 1 [ RunTime:0.000893s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632350.jpg' LIMIT 1 [ RunTime:0.000890s ]
- [ SQL ] SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761608342 AND `ends_at` >= 1761608342 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [ RunTime:0.001206s ]
- [ SQL ] SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [ RunTime:0.001751s ]
- [ 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` = 268 ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001231s ]
- [ SQL ] SELECT *
FROM
discuss
where status='show' and product_id = 268 and deletetime is null order by createtime desc, id desc [ RunTime:0.001199s ]
- [ SQL ] SELECT `id`,`title` FROM `product` WHERE ( `path` = 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001071s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 268 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001159s ]
- [ 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.000946s ]
- [ 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.001224s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000856s ]
- [ 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.001344s ]
- [ 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.001022s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [ RunTime:0.001153s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [ RunTime:0.000879s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [ RunTime:0.001138s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.000999s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [ RunTime:0.001053s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.000845s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [ RunTime:0.001425s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [ RunTime:0.000919s ]
- 1/72 . UPDATE `product` SET `views`=`views`+1 WHERE `id` = 268 [0.047882s/0.247514s=19.35%]
- 2/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` = 'k1rsb5q9d1crq25vg7sdmk32jn' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.021418s/0.247514s=8.65%]
- 3/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.019434s/0.247514s=7.85%]
- 4/72 . SELECT * FROM `activity` WHERE ( ( 1761608342 > starttime && 1761608342 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.014044s/0.247514s=5.67%]
- 5/72 . SELECT * FROM `discuss` WHERE ( `product_id` = 268 AND `status` = 'show' ) AND `discuss`.`deletetime` IS NULL [0.013526s/0.247514s=5.46%]
- 6/72 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.009340s/0.247514s=3.77%]
- 7/72 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.009324s/0.247514s=3.77%]
- 8/72 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.009171s/0.247514s=3.71%]
- 9/72 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.008733s/0.247514s=3.53%]
- 10/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.004920s/0.247514s=1.99%]
- 11/72 . CONNECT:[ UseTime:0.004792s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1696643044252;charset=utf8mb4 [0.004792s/0.247514s=1.94%]
- 12/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.004477s/0.247514s=1.81%]
- 13/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.003397s/0.247514s=1.37%]
- 14/72 . SELECT * FROM `product` WHERE ( `path` = 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.002856s/0.247514s=1.15%]
- 15/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL [0.002384s/0.247514s=0.96%]
- 16/72 . SELECT * FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.002335s/0.247514s=0.94%]
- 17/72 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (4) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.002279s/0.247514s=0.92%]
- 18/72 . UPDATE `cart` SET `deletetime`=1761608342 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'k1rsb5q9d1crq25vg7sdmk32jn' AND `createtime` > 1761349142 ) AND `cart`.`deletetime` IS NULL [0.002171s/0.247514s=0.88%]
- 19/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002086s/0.247514s=0.84%]
- 20/72 . SELECT * FROM `marketing_form` WHERE `status` = 'enable' ORDER BY `id` DESC,`tob` [0.001751s/0.247514s=0.71%]
- 21/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632901.jpg' LIMIT 1 [0.001629s/0.247514s=0.66%]
- 22/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631974.jpg' LIMIT 1 [0.001610s/0.247514s=0.65%]
- 23/72 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001544s/0.247514s=0.62%]
- 24/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631532.jpg' LIMIT 1 [0.001525s/0.247514s=0.62%]
- 25/72 . SELECT * FROM `product` WHERE ( `path` = 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001482s/0.247514s=0.60%]
- 26/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001472s/0.247514s=0.59%]
- 27/72 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001465s/0.247514s=0.59%]
- 28/72 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001458s/0.247514s=0.59%]
- 29/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 9 LIMIT 1 [0.001425s/0.247514s=0.58%]
- 30/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631383.jpg' LIMIT 1 [0.001390s/0.247514s=0.56%]
- 31/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631342.jpg' LIMIT 1 [0.001386s/0.247514s=0.56%]
- 32/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.001380s/0.247514s=0.56%]
- 33/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.001344s/0.247514s=0.54%]
- 34/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL [0.001342s/0.247514s=0.54%]
- 35/72 . SELECT @@session.sql_mode [0.001270s/0.247514s=0.51%]
- 36/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631207.jpg' LIMIT 1 [0.001266s/0.247514s=0.51%]
- 37/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` <= 1761608342
AND pcm.`ends_at` >= 1761608342
AND pcm.`status` = 'enable'
AND pcm.`deletetime` IS NULL [0.001239s/0.247514s=0.50%]
- 38/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` = 268 ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001231s/0.247514s=0.50%]
- 39/72 . SELECT group_concat(name) names FROM `category` WHERE `id` IN (2,4,5) LIMIT 1 [0.001230s/0.247514s=0.50%]
- 40/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.001224s/0.247514s=0.49%]
- 41/72 . SELECT * FROM `marketing_coupon` WHERE ( `starts_at` <= 1761608342 AND `ends_at` >= 1761608342 AND `is_show` = 1 AND ( quantity_total = -1 or (quantity_total > 0) ) ) AND `marketing_coupon`.`deletetime` IS NULL ORDER BY `id` DESC [0.001206s/0.247514s=0.49%]
- 42/72 . SELECT *
FROM
discuss
where status='show' and product_id = 268 and deletetime is null order by createtime desc, id desc [0.001199s/0.247514s=0.48%]
- 43/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` = 268 ) AND `a`.`deletetime` IS NULL LIMIT 1 [0.001195s/0.247514s=0.48%]
- 44/72 . set time_zone = '+08:00' [0.001186s/0.247514s=0.48%]
- 45/72 . SELECT `id` FROM `product` WHERE ( `id` <> 268 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001159s/0.247514s=0.47%]
- 46/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001157s/0.247514s=0.47%]
- 47/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 10 LIMIT 1 [0.001153s/0.247514s=0.47%]
- 48/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631943.jpg' LIMIT 1 [0.001153s/0.247514s=0.47%]
- 49/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.001149s/0.247514s=0.46%]
- 50/72 . SELECT * FROM `marketing_product_combination` WHERE `ends_at` > 1761608342 AND `status` = 'enable' AND `deletetime` IS NULL [0.001147s/0.247514s=0.46%]
- 51/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 7 LIMIT 1 [0.001138s/0.247514s=0.46%]
- 52/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631392.jpg' LIMIT 1 [0.001107s/0.247514s=0.45%]
- 53/72 . SELECT `id`,`title` FROM `product` WHERE ( `path` = 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268' AND `status` = 'up' ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001071s/0.247514s=0.43%]
- 54/72 . SELECT `type_ids` FROM `shipping` WHERE ( `type` = 'express' ) AND `shipping`.`deletetime` IS NULL [0.001067s/0.247514s=0.43%]
- 55/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 8 LIMIT 1 [0.001053s/0.247514s=0.43%]
- 56/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631243.jpg' LIMIT 1 [0.001044s/0.247514s=0.42%]
- 57/72 . SELECT * FROM `shipping_express` WHERE ( `id` IN (1) ) AND `shipping_express`.`deletetime` IS NULL [0.001041s/0.247514s=0.42%]
- 58/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431630219.jpg' LIMIT 1 [0.001030s/0.247514s=0.42%]
- 59/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632596.jpg' LIMIT 1 [0.001024s/0.247514s=0.41%]
- 60/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.001022s/0.247514s=0.41%]
- 61/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.000999s/0.247514s=0.40%]
- 62/72 . SELECT * FROM `area` WHERE `code` = 'US' AND `level` = 2 LIMIT 1 [0.000995s/0.247514s=0.40%]
- 63/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631646.jpg' LIMIT 1 [0.000990s/0.247514s=0.40%]
- 64/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.000946s/0.247514s=0.38%]
- 65/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 20 AND `status` = '1' LIMIT 1 [0.000919s/0.247514s=0.37%]
- 66/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431631505.jpg' LIMIT 1 [0.000902s/0.247514s=0.36%]
- 67/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632476.jpg' LIMIT 1 [0.000893s/0.247514s=0.36%]
- 68/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/e45be1b531ada21e/1736431632350.jpg' LIMIT 1 [0.000890s/0.247514s=0.36%]
- 69/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 22 AND `status` = '1' LIMIT 1 [0.000879s/0.247514s=0.36%]
- 70/72 . SELECT `themes_view_config_id` FROM `product_template_page` WHERE `product_id` = 268 AND `themes_id` = 15 LIMIT 1 [0.000867s/0.247514s=0.35%]
- 71/72 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,7,8,6,9) ) AND `discuss`.`deletetime` IS NULL [0.000856s/0.247514s=0.35%]
- 72/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.000845s/0.247514s=0.34%]
- 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.005926s/0.247514s=2.39%]
- 2/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL [2 times, 0.003726s/0.247514s=1.51%]
- 3/5. SELECT * FROM `product` WHERE ( `path` = 'hot-sale-50-off-quick-dry-athletic-skort-running-skirt-buy-4-free-shipping-1-93-268' ) AND `product`.`deletetime` IS NULL LIMIT 1 [2 times, 0.004338s/0.247514s=1.75%]
- 4/5. SELECT * FROM `product_sku_price` WHERE ( `product_id` = 268 ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [2 times, 0.006563s/0.247514s=2.65%]
- 5/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.024354s/0.247514s=9.84%]