绑定巨大数据时网格的性能问题 [英] performance issue of grid while binding Huge Data

查看:59
本文介绍了绑定巨大数据时网格的性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从数据库中获取大量条目并将其绑定到gridview,这使得我的网站性能非常低。



任意建议?

推荐答案

不要这样做。



使用分页/过滤在显示数据时。



在数据库方面

SQL Server 2005分页结果 [ ^ ]



在前端

GridView多重过滤器AJAX控件 [ ^ ]

具有分页和排序功能的中继器 [< a href =http://www.codeproject.com/KB/webforms/ExtendedRepeater.aspxtarget =_ blanktitle =New Window> ^ ]



检查此系列以进行数据库优化

优化数据的十大步骤访问SQL Server:第一部分(使用索引) [ ^ ]

在SQL Server中优化数据访问的十大步骤:第二部分(重新考虑TSQL并应用最佳实践) [ ^ ]

在SQL Server中优化数据访问的十大步骤:第III部分(应用高级索引和非规范化) [ ^ ]

优化SQL Server中数据访问的十大步骤:第四部分(诊断数据库性能问题) [ ^ ]

优化SQL Server中数据访问的十大步骤:第五部分(优化数据库文件并应用分区) [ ^ ]
Don't do that way.

Use paging/filtering while displaying the data.

In database side
SQL Server 2005 Paging Results[^]

In frontend
GridView Multiple Filter AJAX Control[^]
Repeater with Paging and Sorting Features[^]

Check this series for database optimization
Top 10 steps to optimize data access in SQL Server: Part I (use indexing)[^]
Top 10 steps to optimize data access in SQL Server: Part II (Re-factor TSQL and apply best practices)[^]
Top 10 steps to optimize data access in SQL Server: Part III (Apply advanced indexing and denormalization)[^]
Top 10 steps to optimize data access in SQL Server: Part IV (Diagnose database performance problems)[^]
Top 10 steps to optimize data access in SQL Server: Part V (Optimize database files and apply partitioning)[^]


分页将解决您的问题..

thatraja 解决方案有用的链接,你可以查看它...



试试这些

http://msdn.microsoft.co m / en-us / library / aa479347.aspx [ ^ ]

在ASP.NET中使用GridView控件进行有效的分页 [ ^ ]
Pagination will solve your issue..
thatraja solution has useful links you can check it...

Try these
http://msdn.microsoft.com/en-us/library/aa479347.aspx[^]
Effective Paging with GridView Control in ASP.NET[^]


这篇关于绑定巨大数据时网格的性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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