Skip to main content

A tool to migrate data from MongoDB to ArangoDB.

Project description

mongo2arango

mongo2arango is a CLI tool designed to facilitate the migration of data from MongoDB to ArangoDB. It provides an efficient and user-friendly way to transfer your data between these two databases.

Why mongo2arango?

Seamless Migration: Easily migrate your data from MongoDB to ArangoDB without the hassle.
Multi-threading Support: Optimize the migration process with multi-threaded data processing.
Real-time Progress Tracking: Stay informed with a real-time progress bar during the migration.

Prerequisites

Ensure you have exported your MongoDB data using mongoexport. Note: Declarative types from Studio 3T export will not work with this tool. We require standard .json data.

Why simplejson and ijson?

simplejson: We use simplejson for its speed in encoding and decoding JSON data. It's especially beneficial when dealing with large datasets, ensuring the migration process is as fast as possible.

ijson: ijson is utilized for its ability to parse large JSON files iteratively, without loading the entire file into memory. This means even if you have a massive MongoDB export, mongo2arango can handle it without consuming all of your system's memory.

How to Use

Installation:

``` bash
pip install mongo2arango
```

Setting Up ArangoDB Credentials: Before migrating data, you need to set up your ArangoDB credentials. Run:

``` bash
mongo2arango login
```

You will be prompted to enter your ArangoDB host, user, and password. These credentials will be stored securely for future migrations.

Migrating Data: To migrate data, use the migrate command. You can specify options like the target database, collection, input JSON file, and more. For example:

``` bash
mongo2arango migrate --db mydatabase --col mycollection --input /path/to/exported_data.json
```

If you don't specify the options, the tool will prompt you for the necessary information.

Feel free to modify or expand upon this draft to better suit your needs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mongo2arango-0.2.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mongo2arango-0.2.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file mongo2arango-0.2.2.tar.gz.

File metadata

  • Download URL: mongo2arango-0.2.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Darwin/22.5.0

File hashes

Hashes for mongo2arango-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3c97bd9fa3202918f637a96f733468b194ea4a23353c86429193e169c4b05cd0
MD5 547b8e3665cc6bccf587c95915365ae9
BLAKE2b-256 7db903e2db7e6eb6d8a95d5b0285793a2f33151ed1cd28546c8d35f735809db3

See more details on using hashes here.

File details

Details for the file mongo2arango-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: mongo2arango-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.16 Darwin/22.5.0

File hashes

Hashes for mongo2arango-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74993eedf07300e1d8efc72e8072645192a3b7572d06a8104de48387bf2c830d
MD5 c557e61ebae2ef3f6206159649955f71
BLAKE2b-256 9dd145df5061ef567874558e94f2d120878419f7db7145675687579611dc9f1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page