如何增加gridview perforamce加载数据 [英] how increse gridview perforamce load data

查看:52
本文介绍了如何增加gridview perforamce加载数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,





数据少于20行,

则大约需要10行加载数据的秒数。如果数据大约是500行,那么
则需要大约3分钟来加载数据。我正在使用分页50页

但它将加载3分钟当我按名称搜索

我正在使用商店处理

我想知道为什么需要2分钟才能在网格中加载500行。

我我对这个网格的性能表示不满意。

请尽快回复我。





plz告诉如何减少在gridview中加载数据的时间

Hello ,


the data is less than 20 rows,
then it takes about 10 seconds to load data. If the data is about 500 rows,
then it takes about 3mins to load the data .and i am using paging for 50 pages
but it will load 3min take when i serach by name
and i am using store procudures
I am wondering why takes 2 mins to load just 500 rows in the grid.
I am in bad shap with the performance of this grid.
Please getback to me asap.


plz tell how to reduce time to load data in the gridview

推荐答案

您的查询是什么样的?我要和你的DBA讨论,看看查询是否会导致'全表'扫描 - 然后检查表上的索引,看看你的查询使用的搜索键是否有匹配的索引(我在猜测'不是')



如果没有索引,请让DBA创建合适的索引(或烫发自己动手)
what does your query look like ? I'd be talking to your DBA to see if the query results in a 'full table' scan - then check the indexes on the table and see if there's a matching index for the search keys used by your query (I'm guessing 'Not')

If there's no index(es), get the DBA to create appropriate ones (or perms to do it yourself)


这篇关于如何增加gridview perforamce加载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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