简体   繁体   English

.NET访问大型数据库的最佳方法是什么?

[英]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客户端更好的方法?

Oracle Data Provider for .NET是本机实现。

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.

相关问题 使用MVC 4和Entity Framework 6访问大型数据库的最佳方法是什么 - What is the best method to access a large database using MVC 4 and Entity Framework 6 LINQ to Entities无法识别该方法(访问非常大的数据库) - LINQ to Entities does not recognize the method(Access to very large database) 在 .NET 6 中访问配置的最佳方法是什么? - What's the best method to access configuration in .NET 6? 如何最好地在.NET中使用XPath和非常大的XML文件? - How best to use XPath with very large XML files in .NET? 如何最好地在 .Net Core 中加密/解密非常大的文件 - How best to encrypt/decrypt very large files in .Net Core ASP.NET中重用MS Access迁移到SQL Server的数据库连接的最佳做法是什么? - What is the best practice in ASP.NET for re-using a database connection for MS Access migrating to SQL server? 限制对继承属性的访问的最佳方法是什么? - What is the best method for restricting access to an inherited property? .NET 的最佳 DLL-Base 数据库是什么? - What is the best DLL-Base Database for .NET? 下载和处理要在Oracle中加载的超大型压缩MS Access文件的最佳方法 - Best way to download and process a Very Large Compressed MS Access File to be loaded in Oracle 在.net中处理大量 - Handling very large number in .net
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM