应用程序运行缓慢 [英] application running slow
问题描述
我已经开发了vb.net应用程序.有些报告显示超过100页.加载时间要比在我的系统上长.
我正在使用Server 2008 R2(64位),并且已经安装了sql 2005 32bit Service Pack4.
我已经检查过安装Visual Studio 64bit了,但是没有任何改善.
从我的系统(xp 32bit和sql 2005 32bit)加载同一份报告需要花费一半的时间.
我正在使用共享文件夹来运行应用程序.
如此.告诉我如何减少时间.
I had developed vb.net application. some reports displays more than 100 pages. that takes very long time to load than on my system.
I am using Server 2008 R2 (64 bit) and i had installed sql 2005 32bit service pack 4.
I had checked with installing visual studio 64bit but there is no improvement.
the same report takes half time to load from my system (xp 32bit and sql 2005 32bit).
I am using shared folder for running application.
So pls. tell me how to reduce the time.
推荐答案
通过网络传递较少的数据.
尝试仅传递一组特定的数据,一次传递10页.
用户转到第11页后,请访问数据库以获取10-20页的数据.
Pass less data over the network.
Try to pass only a certain set of data, say 10 pages at a time.
Once the user goes to the 11th page hit the database to fetch data for 10-20 pages.
这篇关于应用程序运行缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!