[英]What is the best method of .Net for access very large database?
Suppose that, I use Oracle database. 假设,我使用Oracle数据库。 If my table have a lot of data about 10k records. 如果我的表中有很多关于1万条记录的数据。 When I use OleDB to select data from that table in ASP.NET. 当我使用OleDB从ASP.NET中的表中选择数据时。 It's very slow. 非常慢
Is there any methods that better than OleDB Oracle client? 有没有比OleDB Oracle客户端更好的方法?
Accessing 10k rows is not much. 访问1万行并不多。 If it is for analytical reasons that you want to make calculations based on the data, use Oracle Analytical functions. 如果出于分析原因,您希望基于数据进行计算,请使用Oracle Analytical函数。 They are VERY powerfull. 他们非常强大。 By the time you accessed all rows and passed them to the client to have the analysis done on the client, the analysis has already been done by Oracle. 当您访问所有行并将它们传递给客户端以在客户端上进行分析时,Oracle已经完成了分析。 Do the analysis as close to where your data is as possible: in the rdbms. 在rdbms中尽可能靠近数据的位置进行分析。
See Dan's library Oracle documentation ask Tom 参见Dan的图书馆 Oracle文档 询问Tom
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.