问题标签 [oracle-golden-gate]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
26 浏览

oracle - pre/postUpdate 和 pre/postPersist 在代码中的使用而不是数据库中的触发器

我们在 Oracle 数据库中有一些触发器,用于审计目的并用于更新/插入操作之前。

我们需要用代码替换所有触发器。

是否可以使用 pre/postUpdate 和 pre/postPersist 生命周期方法将对象保存在表中,如 audit_table1 或 audit_table2。

我的偏好是使用 post 方法来捕获旧对象(如果可以在 @PostUpdate 方法中获取旧对象;以避免任何额外的审计,以防任何更新失败)

让我知道是否可能。

谢谢你。

0 投票
1 回答
553 浏览

apache-kafka - 用于 Kafka 处理程序的 Oracle GoldenGate 大数据适配器

我的问题是关于使用副本的 Kafka 检查点,例如,在 Kafka 生产者异步模式下,副本移动到 1 到 100 个操作,假设 kakfka 处理了 80 个操作,在 81 时 Kafka 停机了一个小时。Kafka 启动后,replicat 必须从第 81 次操作重新定位。Kafka 处理程序是如何发生的,因为我在 GG 大数据适配器 Oracle 网站的任何地方都没有看到任何检查点和比较逻辑。从第 81 次操作开始重新启动副本和适配器的保证是什么。

0 投票
1 回答
133 浏览

google-cloud-platform - 通过java读取AVRO文件并作为JSON传递

问是 GoldenGate 将推送(Kafka)AVRO 文件,需要读取并转换为 JSON 格式推送到谷歌扳手。(AVRO 新手,谷歌扳手)寻求如何开始?

0 投票
1 回答
187 浏览

oracle-golden-gate - Sizing requirements for Oracle downstream mining database while using Oracle Golden gate Downstream Integrated Capture

I just want to know role of oracle downstream mining database machine in OGG downstream integrated capture mode. To be specific, I want to know whether the mining db also stores data or it only process the archive logs received from source and forward processed data to target without storing?

For example, if I have 1000 tables having size of 15TB in source system and I just want to replicate one table having size 1MB to the target, whether all the 1000 table having size of 15TB need to exist in downstream mining db, or none of the 1000 tables need to be exists in downstream mining DB, or only the interested table having size 1MB need to be exists in downstream mining DB.

Thanks

0 投票
1 回答
326 浏览

sql-server - 在 Goldengate 中配置 SQL Server 到 Oracle 初始数据加载

根据我在 Oracle Goldengate 中设置事务复制之前的理解,我们必须设置初始数据加载。在我的情况下,源是 SQL Server 2012,目标是 Oracle 12,两者都驻留在同一个系统中。现在我的问题是 1. 设置初始负载的最佳方法是什么?我的意思是使用一些 SQL Server 实用程序,例如 SSIS 或使用 Goldengate 的“直接批量加载”功能?2. 虽然我的源数据库和目标数据库位于同一台机器上,但我是否仍需要使用 Goldengate 的两个安装(一个用于源,另一个用于目标)进行事务复制?

0 投票
1 回答
1170 浏览

oracle-golden-gate - 转换 Oracle GoldenGate 的日期字段

我有一个 Oracle GoldenGate 设置,其中 Oracle 数据库作为我的源和一个非 Oracle 目标。我的源数据库位于时区 A。有没有办法配置我的提取/复制,以便我的目标中的所有数据都在 UTC 或某些可自定义的时区 B 中?

为了更清楚,假设我在 EST 中有一个数据库,其中我有一个日期列,2018-11-26 17:01:49我希望将数据转换为 UTC,复制的值将是2018-11-26 22:01:49. 有没有一种干净的(或任何)方法来实现这一目标?

0 投票
1 回答
264 浏览

python - 由于新的应用程序执行,Python 操作系统命令不起作用

我需要检查 GoldenGate 进程的滞后。为此,我执行 Goldengate,而不是尝试运行 GoldenGate 自己的命令“info all”。

然而,当我执行 GoldenGate 时,它​​会打开一个新的 GoldenGate 自己的外壳。所以,我认为正因为如此,Python 无法运行“info all”命令。我怎么解决这个问题?如果缺少信息,请通知我。

先感谢您,

0 投票
1 回答
595 浏览

json - 设置金门复制过程时出错,用于将 JSON 文档转换为 rdbms 表

我正在尝试使用 oracle goldengate 将存储在 oracle 表(源)中的 json 文档作为 clob 值转换并复制到目标数据库(oracle)作为 rdbms 表:

错误信息:

源表:

源表上的示例数据:

目标表:

0 投票
1 回答
78 浏览

oracle - Oracle金门复制主控表

这是同一个帖子

https://community.oracle.com/thread/4194263

我们有这样的设计。

应用服务请求的锁服务锁记录。

并且锁定服务锁定两个节点中的记录。

为了释放两个节点中的锁。

  1. ETL 必须完成。
  2. 金门同步必须完成。

我们可以在 ETL 节点中有一个主控制表,以有一个时空签名来判断 ETL 流程是否完成。

但是,我们如何保证 master-control-signature 是最后一个被复制的数据元素?

因为这是一个全有或全无的原子操作??

当锁被释放时,它会释放两个节点。

在此处输入图像描述

0 投票
0 回答
527 浏览

mysql - How to replicate and sync a MySQL to graph database

I need to replicate and continuously sync a MySQL database to a graph database, to further query and analyze data from an eCommerce application.

Came across DZone Article which talks about syncing data between oracle and Neo4J. They are using Oracle GoldenGate and Apache Kafka for this.

However, I have a few questions on how this would be implemented -

  1. What about the graph data model? Can I generate graph data model from existing RDBMS data model? Are there any open source ETL solutions to map data models between source and target?

  2. The RDBMS data model may change as part of new features. How to keep data models in sync between a source RDBMS and target graph database?

  3. Are there any other approaches to make this work?

I'm fairly new to SQL to NoSQL replication. Any inputs?