从Oracle 11gR2数据库中获取数据非常慢。 [英] Fetching Data very Slow from Oracle 11gR2 Database.

查看:693
本文介绍了从Oracle 11gR2数据库中获取数据非常慢。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VB.Net和Framework 4.0使用oracle数据库开发一个Windows应用程序,我的应用程序使用OleDb Connection从Oracle 11g数据库中获取数据并将这些数据粘贴到Excel工作表中。



但我的问题是,从应用程序中获取数据需要花费太多时间,因为有大量数据。我使用10个表连接,每个表包含超过10000个记录。



请建议我如何快速获取数据。

I am developing a windows application using VB.Net with Framework 4.0 using oracle database and my application fetch data from Oracle 11g database using OleDb Connection and paste these data into excel sheet.

But My Problem is that the Fetching Data from Application take too much time because there are lot of data. I use join with 10 table and each table contain more than 10000 of record.

Please suggest me how I get data fast.

推荐答案

改善您的数据库设计(索引,键,关系和查询)几乎是您唯一的希望。当然你已经知道了htis,所以你的问题最终没有意义。
Improving your database design (indexes, keys, relationships, and queries) is pretty much your only hope. Of course you already knew htis, so your question ends up being pointless.


你好,



你也可以存档旧的数据如果不需要,也可以尝试去标准化。



谢谢

-amit。
Hi,

You can also archive your old data if not required and also try to De-normalize if possible.

thanks
-amit.


使用Microsoft.Practices.EnterpriseLibrary。它与oledb相比非常快..
Use Microsoft.Practices.EnterpriseLibrary. it is very fast compare with oledb..


这篇关于从Oracle 11gR2数据库中获取数据非常慢。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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