使用asp查询执行时间慢 [英] Slow queries execution time with asp

查看:63
本文介绍了使用asp查询执行时间慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在同一个虚拟专用服务器上有sql server和IIS。我在同一个数据库上运行asp和asp.net应用程序。

Asp.net应用程序正在按预期工作,但我在使用asp应用程序执行查询时遇到问题。一些查询执行速度比预期慢得多。即使我只使用asp也没什么变化。任何人都知道是什么原因造成这种情况?

I have sql server and IIS on the same virtual private server. I am running both asp and asp.net applications over same database.
Asp.net application is working as expected, but I have problems executing queries with asp application. Some of the queries are executing much slower than expected. Even when I am using only asp nothing changes. Anyone knows what can cause this?

推荐答案

如果没有提供任何查询代码,它会无济于事,但有时您只需要进行实验。尝试更改引用实例以使用IP地址而不是服务器名称,或者只是将所有内容移动到asp.net。
Can’t help much without any query code provided but sometimes you just need to experiment. Try changing referencing instances to use IP address instead of server name or just move everything to asp.net.


这篇关于使用asp查询执行时间慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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