简体   繁体   English

Oracle Client vs ODP.NET是ASP.NET应用程序

[英]Oracle Client vs ODP.NET is ASP.NET Application

We've developed an ASP.net application using Oracle Client for database connection, 我们已经使用Oracle Client开发了用于数据库连接的ASP.net应用程序,

Our application is running on Windows Server 2003 server 我们的应用程序正在Windows Server 2003服务器上运行

Now we want to move to Windows Server 2008 server and change the driver to ODP.NET, 现在,我们要移至Windows Server 2008服务器,并将驱动程序更改为ODP.NET,

I have noticed using some loadtest, that with ODP.NET, the application consumes more memory than with Oracle Client, for a test with 230 users and Oracle client the average memory used is 793 MB 我注意到使用一些负载测试,与ODP.NET相比,该应用程序消耗的内存要比与Oracle Client消耗的内存更多,对于有230个用户和Oracle Client的测试,平均使用的内存为793 MB

With ODP.NET, for the same loadtest configuration, the average memory used is 871 MB 使用ODP.NET,对于相同的负载测试配置,使用的平均内存为871 MB

My question is why with ODP.NET we consume more memory than with Oracle Client? 我的问题是,为什么使用ODP.NET会比使用Oracle Client消耗更多的内存?

Some search on the Internet indicates that ODP.NET puts the schema information in the cache, can you confirm that? Internet上的一些搜索表明ODP.NET将架构信息放入缓存中,您可以确认吗?

Oracle version : 11.2.0 Oracle版本:11.2.0

Technical Comparison: ODP.NET Versus Microsoft OracleClient 技术比较:ODP.NET与Microsoft OracleClient

...the schema information in the cache, ...缓存中的架构信息,

It is not listed but it does cache your statement. 它没有列出,但确实可以缓存您的语句。

...many of the classes in the System.Data.OracleClient namespace are marked as obsolete. ... System.Data.OracleClient命名空间中的许多类都标记为过时的。 Microsoft no longer is going to keep working on them in the future. 微软以后将不再继续努力。

and from this post , it says that microsoft won't maintaining the driver anymore. 并且从这篇文章中说,微软将不再维护驱动程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM