![]() |
VOOZH | about |
Informatica provides a powerful, elegant means of transporting and transforming your data. By utilizing the CData ODBC Driver for MongoDB, you are gaining access to a driver based on industry-proven standards that integrates seamlessly with Informatica's powerful data transportation and manipulation features. This tutorial shows how to transfer and browse MongoDB data in Informatica PowerCenter.
Accessing and integrating live data from MongoDB has never been easier with CData. Customers rely on CData connectivity to:
MongoDB's flexibility means that it can be used as a transactional, operational, or analytical database. That means CData customers use our solutions to integrate their business data with MongoDB or integrate their MongoDB data with their data warehouse (or both). Customers also leverage our live connectivity options to analyze and report on MongoDB directly from their preferred tools, like Power BI and Tableau.
For more details on MongoDB use case and how CData enhances your MongoDB experience, check out our blog post: The Top 10 Real-World MongoDB Use Cases You Should Know in 2024.
Information for connecting to MongoDB follows, along with different instructions for configuring a DSN in Windows and Linux environments.
Set the Server, Database, User, and Password connection properties to connect to MongoDB. To access MongoDB collections as tables you can use automatic schema discovery or write your own schema definitions. Schemas are defined in .rsd files, which have a simple format. You can also execute free-form queries that are not tied to the schema.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
If you are installing the CData ODBC Driver for MongoDB in a Linux environment, the driver installation predefines a system DSN. You can modify the DSN by editing the system data sources file (/etc/odbc.ini) and defining the required connection properties.
[CData MongoDB Source] Driver = CData ODBC Driver for MongoDB Description = My Description Server = MyServer Port = 27017 Database = test User = test Password = Password
For specific information on using these configuration files, please refer to the help documentation (installed and found online).
Follow the steps below to create a linked table, which enables you to access live restaurants data.
Follow the steps below to connect to MongoDB in Informatica PowerCenter:
NOTE: If you are working in a Linux operating system, set the Driver Manager for Linux property to unixODBC 2.3.x.
After you have created an ODBC connection to MongoDB, you can now access MongoDB entities in Informatica. Follow the steps below to add restaurants entities to your project.
You can now browse the table in the Data Viewer: Right-click the node for the table and then click Open. On the Data Viewer view, click Run.
๐ Table data and metadata in the Data Viewer. (Salesforce is shown.)Follow the steps below to add the MongoDB source to a mapping:
Follow the steps below to map MongoDB columns to a flat file:
To transfer MongoDB data, right-click in the workspace and then click Run Mapping.
๐ The completed mapping. (Salesforce is shown.)Download a free trial of the MongoDB ODBC Driver to get started:
Download NowLearn more:
๐ MongoDB IconThe MongoDB ODBC Driver is a powerful tool that allows you to connect with live MongoDB document databases, directly from any applications that support ODBC connectivity.
Access MongoDB like you would a database - read, write, and update through a standard ODBC Driver interface.