不同物理服务器上的oracle数据库和postgresql数据库之间是否可以使用数据库链接

发布于 2024-07-25 00:26:48 字数 400 浏览 5 评论 0原文

我试图简化一个内联网应用程序,其中一些数据本地存储在内网服务器的postgresql数据库上,其他相关数据存储在我们的企业oracle 10g2r2数据库中。

我想做的是在任一数据库框上创建一个视图并不重要,为了简单起见,将每个数据库中的一个表组合成两个数据库的平面视图。 这将允许我从 Intranet 应用程序中进行简单的查询。

目前,我必须将两个数据库中的数据提取到对象结构中,然后对这些对象运行查找/搜索。 我真的不喜欢这样做,并且希望能够创建一个视图。

如果这是不可能的,那么也许有一些关于处理这种情况的最佳方法的建议。

我的内联网堆栈有 Linux、postgresql、tomcat (java)、apache。 同样,oracle db 是 10gr2

tim

I've trying to streamline an intranet application where some of the data is stored locally on the postgresql database of the intranet server and other related data is stored in our enterprise oracle 10g2r2 database.

What I would like to do is create a view on either database box wouldn't really matter that combines for simplicity sake one table from each database into a flat view of both. This would allow me to then make simple queries from within the intranet application.

Currently I'm having to pull in the data from both db's into an object structure and then run finds/searches against these objects. I really don't like doing it this way and would love to be able to create a view.

If this isn't possible, then maybe some suggestions on the best way to handle this situation.

My intranet stack s Linux, postgresql, tomcat (java), apache. And again the oracle db is a 10gr2

tim

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文