Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way for the Oracle Data Integrator to extract data from MongoDB

I'm trying to move snapshots of data from our MongoDB into our Oracle BI data store.

From the BI team I've been asked to make the data available for ODI, but I haven't been able to find an example of that being done.

Is it possible and what do I need to implement it?

If there is a more generic way of getting MongoDB data into Oracle then I'm happy to propose that as well.

Versions

  • MongoDB: 2.0.1
  • ODI: 11.1.1.5
  • Oracle: 11.2g

Edit: This is something that will be queried once a day, maybe twice but at this stage the BI report granularity is daily

like image 639
Jiminy Avatar asked May 09 '12 01:05

Jiminy


People also ask

Can Oracle connect to MongoDB?

Now available for Oracle Autonomous JSON Database Developers can use both the API for MongoDB and Oracle SQL for accessing the same document data, avoiding the need to move data to a separate database for analytics, machine learning, spatial analysis, and more.

What is Oracle Data Integrator used for?

Oracle Data Integrator (ODI) loads and transforms data faster into data warehouses by leveraging the power of the target database instead of relying on a conventional ETL server. Pre-built connectors simplify integration by automating manual integration tasks needed to connect databases and big data.

Is Oracle similar to MongoDB?

Unlike Oracle and other relational databases, MongoDB is built on a distributed systems architecture, rather than a monolithic, single node design. As a result, MongoDB offers out-of-the-box scale-out and data localization with automatic sharding, and replica sets to maintain always-on availability.


2 Answers

In ODI, under the Topology tab and Physical Architecture sub-tab, you can see all technologies that are supported out of the box. MongoDB is not one of them. There are also no Knowledge Modules available for importing/exporting from/to MongoDB.

ODI supports implementing your own technologies and your own Knowledge Modules. This manual will get you started with developing your won Knowledge module, and in one of the other manuals i'm sure you can find an explanation on how to implement your own technologies. (Ctrl-F for "Data integrator")

If you're lucky, you might find someone else who has already implemented it. Your best places to look would be The Oracle Technology Network Forum, or a forum related to MongoDB.

Instead of creating a direct link, you could also take an easier workaround. Export the data from the MongoDB to a format that ODI supports, and MongoDB can extract to. CSV or XML maybe? Then load the data trough ODI into the oracle database. I think... that will be the best option, unless you have to do this frequently...

like image 68
Wouter Avatar answered Sep 30 '22 09:09

Wouter


Look at the blog post below for an option; https://blogs.oracle.com/dataintegration/entry/odi_mongodb_and_a_java

Cheers David

like image 33
David Avatar answered Sep 30 '22 09:09

David