Copy DB2 data to MongoDB

Use Withdata DBToMongo as DB2 to MongoDB Copier (Converter / Transferor)

Easy, Fast, and Powerful.




Start Withdata DBToMongo.

Login to DB2.

Copy data from DB2 to MongoDB - Login to DB2

Login to MongoDB.

Copy data from DB2 to MongoDB - Login to MongoDB



Copy data from DB2 query to MongoDB collection

Click "Convert From Query" at task dialog.

Export data from DB2 query results to MongoDB collection - Task Window

then show the wizard.

1. Enter source DB2 query.

Convert data from DB2 query to MongoDB collection - enter query

2. Choose destination MongoDB collection and config fields.

Extract MongoDB query data to DB2 collection - select collection

3. Set rows options.

Load data from DB2 query to MongoDB collection - preview

4. Export DB2 query results to MongoDB collection.

Transfer data from DB2 query to MongoDB collection - export

Click "View", See MongoDB collection data.

Export data from DB2 to MongoDB - view collection



Copy data from DB2 table to MongoDB collection

Click "Convert From Table" at task dialog.

Import data from DB2 table to MongoDB collection - Task Window

then show the wizard.

1. Choose source DB2 table.

Convert data from DB2 table to MongoDB collection - open table

2. Choose destination MongoDB collection and config fields.

Extract DB2 table data to MongoDB collection - select collection

3. Set rows options.

Load data from DB2 table to MongoDB collection - summary

4. Copy DB2 table data to MongoDB collection.

Transfer data from DB2 table to MongoDB collection - Transfer

Click "View", See MongoDB collection data.

Export data from DB2 table to MongoDB collection - view collection



Copy data from DB2 table to MongoDB collection

Click "Convert Similar Tables" at task dialog.

Import data from multiple DB2 tables to 1 MongoDB collection - Task Window

then show the wizard.

1. Select source DB2 tables.

Convert data from multiple DB2 tables to 1 MongoDB collection - select tables

2. Choose a destination MongoDB collection and config fields.

Extract multiple DB2 tables data to 1 MongoDB collection - choose collection

3. Set rows options.

Load data from multiple DB2 tables to 1 MongoDB collection - preview

4. Copy data from DB2 to MongoDB.

Transfer data from multiple DB2 tables to 1 MongoDB collection - Transfer

Click "View", See MongoDB collection data.

Export data from multiple MongoDB collections to DB2 table - view collection



Batch copy data from DB2 tables to MongoDB collections

Click "Convert All Tables" at task dialog.

Import data from DB2 tables to MongoDB collections - Task Window

then show the wizard.

1. Select source tables.

Convert data from DB2 tables to MongoDB collections - open collection

2. Target collections, choice "Import Type".

Extract  DB2 tables data to MongoDB collections - select table

3. Map DB2 tables to MongoDB collections.

Import data from relational databases Tables To MongoDB Collections - select tables

4. Summary.

Load data from DB2 tables to MongoDB collections - preview

5. Batch copy DB2 data to MongoDB.

batch copy data from DB2 tables to MongoDB collections - batch copy

Click "View", See MongoDB collection data.

Export data from MongoDB collections to DB2 table - view collection

Set scheduled tasks for coping DB2 data to MongoDB

After coping DB2 data to MongoDB in Command Line, then you can schedule and automate "DB2 to MongoDB" conversion task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for "DB2 to MongoDB" conversion.
  2. Set scheduled task: On Linux/macOS, use Crontab. On Windows, use scheduled task.

FAQ

How long does it take to copy DB2 data to MongoDB?

Is it safe to copy DB2 data to MongoDB using DBToMongo?

Can I copy DB2 data to MongoDB on Linux, Mac OS?

Can I copy DB2 data to MongoDB in command line?

Can I batch copy data from DB2 tables to MongoDB collections?