简体   繁体   English

从Oracle触发SQL Server数据库更新

[英]Trigger SQL Server DB update from Oracle

I want to transfer data from Client's Oracle to my Sql Server db and keep that data up to date in the SQL Server DB. 我想将数据从客户端的Oracle传输到我的Sql Server数据库,并在SQL Server DB中保持该数据为最新。 The clients Oracle DB is event driven ie CRUD on specific rows, not full data table refreshes. 客户端Oracle DB是事件驱动的,即特定行上的CRUD,而不是完整数据表刷新。

If i simply set up a SQL Server Schedule task it will be out of date nearly all of the time. 如果我只是设置一个SQL Server Schedule任务,那么几乎所有时间都将过时。

Is it possible to have my SQL DB monitor my clients Oracle DB for updates to a specific set of tables? 我的SQL DB是否可以监视我的客户端Oracle DB以获取对特定表集的更新?

I only want to update my DB with every event, not do a full refresh whenever anything small changes in Oracle DB tables 我只想在每个事件中更新数据库,而不想在Oracle DB表中的任何细微变化时进行完全刷新

Any ideas? 有任何想法吗? I usually i use SSIS to do this but not sure it can help here. 我通常使用SSIS来执行此操作,但不确定它是否可以在此处提供帮助。

My first comment is that the databases do not know what you think is "small". 我的第一句话是数据库不知道您认为什么是“小”。

But, it sounds like you want transactional replication between heterogeneous servers. 但是,听起来您想要在异构服务器之间进行事务复制。 It turns out that SQL Server seems to support this (I hadn't known). 事实证明,SQL Server似乎支持此功能(我不知道)。 And specifically for your use-case: From Oracle to SQL Server. 专门针对您的用例:从Oracle到SQL Server。

The place to get started is the documentation . 开始的地方是文档

Note: I have not used this feature of SQL Server so I do not know how well it works in practice. 注意:我尚未使用SQL Server的此功能,因此我不知道它在实践中的效果如何。

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

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