Oracle Gateway products are based on Heterogeneous Services and allow access to non-Oracle databases from Oracle products.
Heterogeneous
Services provides the generic technology for connecting to non-Oracle
systems. As an integrated component of the database, Heterogeneous
Services can exploit features of the database, such as the powerful SQL
parsing and distributed optimization capabilities.
Heterogeneous Services can be used for select, insert, update and delete statements against non-Oracle databases.
Heterogeneous
Services extend the Oracle SQL engine to recognize the SQL and
procedural capabilities of the remote non-Oracle system and the mappings
required to obtain necessary data dictionary information.
以下是引用网友zion的解释:原文地址-http://zionw.blog.163.com/blog/static/9985959200991010479632/
透明网关其实是一种代理机制,通过它可以实现Oracle数据库对非Oracle 数据库的透明访问(‘透明’可理解为用户感受不到当前
数据库是非Oracle数据库)。透明网关可以装在独立的一台的机器上,同样的道理透明网关可以安装在Oracle Server端 或非Oracle Server端,这时候Server自身担当两种角色:服务器和透明网关代理。
在这里我按照自己的思维逻辑描述一下透明网关的实现机制,希望能有助于大家的理解:
当在Oracle 环境下通过透明网关建立一个对SQL Server 的连接时,要用到如下的语句,
Create database link test connect to user identified by password using ‘TG4MSQL’;
在上面的语句里user 和 password是SQL Server 合法的用户登录名和密码,TG4MSQL则是Oracle Server端的TNS_NAMES 文件里已经配置好的服务名,服务器在处理上面的语句时会通过这个服务名
(TG4SMQL)访问透明网关所在的代理机器(因为透明网关可以安装在Server端,所以可能就是本地服务名)。接下来,透明网关
所在的代理机器通过监听器接收到Oracle
Server端的连接请求,运行程序tg4msql.exe实现到SQL Server的访问。
我的理解也是跟网友的大概相同,之前有个需求,希望在Oracle数据库上去访问db2数据库上的数据,SR上说就的是使用透明网关来实现。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29123031/viewspace-2123714/ ,如需转载,请注明出处,否则将追究法律责任。