Want to copy data from multiple DB2 tables to a single MongoDB collection?
Try Withdata DBToMongo, a DB2 to MongoDB converter for Windows, MacOS, and Linux, Copy DB2 data to MongoDB, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
Copy data from multiple DB2 tables to one MongoDB collection
Login to DB2.
Login to MongoDB.
Click “Convert Similar Tables” at task dialog.
then show the wizard.
1. Select source DB2 tables.
2. Choose a destination MongoDB collection and config fields.
3. Set rows options.
4. Copy data from DB2 to MongoDB.
Click “View”, See MongoDB collection data.
Copy multiple DB2 tables to one MongoDB collection in command line
Save “DB2 to MongoDB” session, then you can:
- Copy multiple DB2 tables to one MongoDB collection in Windows command line.
- Copy multiple DB2 tables to one MongoDB collection in Linux command line.
- Copy multiple DB2 tables to one MongoDB collection in macOS command line.
Set scheduled tasks for coping DB2 data to MongoDB
You can schedule and automate this converting task by:
- Save session and create .bat (Windows) or .sh (Linux/macOS) file for “DB2 to MongoDB” conversion.
- Set scheduled task for “DB2 to MongoDB” conversion.
FAQ
More about Withdata DBToMongo – DB2 to MongoDB Converter
See also: