oracle goldengate from mongodb to oracle的实时同步
oracle goldengate from mongodb to oracle的实时同步
近期因公司项目需要,需要将mongodb数据同步到oracle数据库,由于第一次接触到mongodb数据库同步到Oracle的项目,故没有主动获取数据,而且让对方工程师把mongodb数据同步到我方的mongodb数据库,为此新建了一个mongodb数据库。我方工程师把mongodb数据库同步到doris数据仓库。
考虑到oracle goldengate功能的强大,为此考虑使用ogg实现 mongodb 到oracle的实时同步。
经过一番查询,从mos找到文档与大伙分享:
Goldengate support for Mongo DB (Doc ID 2133316.1)
pplies to:
Oracle GoldenGate Big Data and Application Adapters - Version 10.4.0.50 to 12.1.2.1.6 [Release 10.4.0 to 12.1]
Information in this document applies to any platform.
Goal
Does Oracle Golden gate supports real time data replication from Mongo DB to Oracle DB?
Solution
Realtime capture from Mongo DB is currently suported via Goldengate.
Supported Operations
INSERT
UPDATE
DELETE
Unsupported Operations
The following MongoDB source DDL operations are not supported:
CREATE collection
RENAME collection
DROP collection
On detecting these unsupported operations, extract can be configured to either ABEND or skip these operations and continue processing the next operation
Oracle GoldenGate for Big Data 21.5.0.0.0
Reference : https://docs.oracle.com/en/middleware/goldengate/big-data/21.1/gadbd/using-oracle-goldengate-capture-mongodb.html#GUID-DA514915-15D0-4E5F-AAFD-149227044516
For delivery to MondoDB, Oracle GoldenGate can now integrate with Mongo DB using the GoldenGate Adapter v12.3 for MongoDB. GoldenGate Adapter for MongoDB can run on the latest Java based Replicat available with Oracle GoldenGate for Big Data 12.3. It uses high performance native Java driver to MongoDB. It can handle automatic DDL replication and supports inserts, updates and deletes from MongoDB.
后续将继续进行测试环境的验证,保持持续关注中。