网页速度慢 [英] Slow web page

查看:82
本文介绍了网页速度慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我有一个网页,用来加载大约需要6秒钟。现在是

需要24秒

发回的最大记录数为200.

SQL SP在3-4秒内执行并且从不超过6秒。


这发生在一夜之间,没有代码被更改,没有sql sps已经改变了,b $ b已经改变,没有更改网页

即使我在网站上只有一个用户,也会发生这种情况。


我应该寻找什么?

感谢任何帮助。这不是一个公共网站,我不能分享这个URL的价值。对不起。

如果我要使用PerfMon而且我做了我应该具体看的...

感谢您的帮助,想法,链接等。


SA

Hello,

I have a web page that use to take about 6 seconds to load. Now it is
taking 24 seconds
The maximum number of records sending back is 200.
The SQL SP is executing in 3-4 seconds and never more than 6 seconds.

This happened overnight, no code has been changed, no sql sps has been
changed, no web pages has been changed
This also happens even if I have only 1 user on the web site.

What should I be looking for??
Any help is appreciated. This is not a public web site and I can not share
the URL. Sorry.
If I am to use PerfMon and I did what should I be looking at specifically...
Thank you for any help, Ideas, Links, etc..

SA

推荐答案

MSDN,

直到你发布足够的样本工作代码能够复制

问题,我怀疑你能得到的远远超过一些在黑暗中拍摄

来自读者的想法这个。关于连接的东西,为什么Stored

proc需要这么长时间,等等。

Peter


-

联合创始人,Eggheadcafe.com开发者门户网站:
http:// www.eggheadcafe.com

UnBlog:
http ://petesbloggerama.blogspot.com


" MSDN"写道:
MSDN,
Until you post sufficient sample working code to be able to replicate the
issue, I doubt you''ll be able to get much more than some "shoot in the dark"
ideas from readers on this. Stuff about connections, why does the Stored
proc take so long, and so on.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"MSDN" wrote:
你好,

我有一个网页,用来加载大约需要6秒钟。现在它需要24秒
回送的最大记录数为200.
SQL SP在3-4秒内执行,且不会超过6秒。
<这发生在一夜之间,没有代码被更改,没有更改sql sps,没有更改网页
即使我在网站上只有一个用户,也会发生这种情况。 br />
我应该寻找什么?
任何帮助表示赞赏。这不是一个公共网站,我不能分享这个URL。对不起。
如果我要使用PerfMon并且我做了我应该具体看的...

感谢您的帮助,想法,链接等..

SA
Hello,

I have a web page that use to take about 6 seconds to load. Now it is
taking 24 seconds
The maximum number of records sending back is 200.
The SQL SP is executing in 3-4 seconds and never more than 6 seconds.

This happened overnight, no code has been changed, no sql sps has been
changed, no web pages has been changed
This also happens even if I have only 1 user on the web site.

What should I be looking for??
Any help is appreciated. This is not a public web site and I can not share
the URL. Sorry.
If I am to use PerfMon and I did what should I be looking at specifically...
Thank you for any help, Ideas, Links, etc..

SA



你自己做了什么来解决问题吗?如果是这样的帖子

吧。


-

温馨的问候,

Alvin Bruney [ MVP ASP.NET]


[无耻的作者插件]

带有.NET的Microsoft Office Web Components黑皮书

现已推出@ www.lulu.com/owc

专业版VSTO 2005年 - Wrox / Wiley 2006

博客: http:// msmvps .com / blogs / Alvin /

------------------------------- ------------------------


" MSDN" <平方********** @ hotmail.com>在消息中写道

新闻:eA ************** @ TK2MSFTNGP09.phx.gbl ...
have you done anything on your own to trouble-shoot the problem? If so post
it here.

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

"MSDN" <sq**********@hotmail.com> wrote in message
news:eA**************@TK2MSFTNGP09.phx.gbl...
你好,
我有一个网页,用来加载大约需要6秒钟。现在它需要24秒
回送的最大记录数为200.
SQL SP在3-4秒内执行,且不会超过6秒。
<这发生在一夜之间,没有代码被更改,没有更改sql sps,没有更改网页
即使我在网站上只有一个用户,也会发生这种情况。 br />
我应该寻找什么?
任何帮助表示赞赏。这不是一个公共网站,我不能
共享该URL。对不起。
如果我要使用PerfMon,我应该特别注意
...

感谢您的帮助,想法,链接等。

SA
Hello,

I have a web page that use to take about 6 seconds to load. Now it is
taking 24 seconds
The maximum number of records sending back is 200.
The SQL SP is executing in 3-4 seconds and never more than 6 seconds.

This happened overnight, no code has been changed, no sql sps has been
changed, no web pages has been changed
This also happens even if I have only 1 user on the web site.

What should I be looking for??
Any help is appreciated. This is not a public web site and I can not share the URL. Sorry.
If I am to use PerfMon and I did what should I be looking at specifically...

Thank you for any help, Ideas, Links, etc..

SA



将页面复制到新页面,并删除除SQL逻辑以外的所有内容,

并从那里开始。重新添加代码,直到找到问题为止。基本

故障排除技术。

Copy the page to a new one, and remove everything except the SQL logic,
and go from there. Add code back in until you find the problem. Basic
troubleshooting technique.


这篇关于网页速度慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆