简体   繁体   English

将数据从 RDBMS 迁移到 Arango DB:批量上传

[英]Migrating data from RDBMS to Arango DB: Bulk upload

Iam trying to move data from RDBMS to ArangoDB.我正在尝试将数据从 RDBMS 移动到 ArangoDB。 I wanted to know if there are any tools for transforming the RDBMS data to collections and edges to do a bulk upload to ArangoDB.我想知道是否有任何工具可以将 RDBMS 数据转换为 collections 和边缘以批量上传到 ArangoDB。 I could also see that ArangoDB bulk upload API allows only one type of collection to be uploaded at a time.我还可以看到 ArangoDB 批量上传 API 一次只允许上传一种类型的集合。 Is there anyway to upload collections and edges at the same time?有没有同时上传 collections 和边缘?

The only way to upload both at the same time would be to run multiple instances of your import program/script (eg arangoimport or JavaScript/Python/PowersHell script).同时上传两者的唯一方法是运行导入程序/脚本的多个实例(例如 arangoimport 或 JavaScript/Python/PowersHell 脚本)。 But realistically, there aren't many situations when you need to do this simultaneously, and attempting to do so might cause problems).但实际上,您需要同时执行此操作的情况并不多,尝试这样做可能会导致问题)。

As for data transformation, that is a different topic, and the answer depends wholly on your level of comfort with various technologies.至于数据转换,那是一个不同的话题,答案完全取决于您对各种技术的熟悉程度。 Personally, I use several tools but mainly rely on Pentaho Data Integration ( info and download ) to export data and JS and Python scripts to import, leveraging the ArangoDB API.就个人而言,我使用了几种工具,但主要依靠 Pentaho 数据集成( 信息下载)来导出数据和 JS 和 Python 脚本来导入,利用 ArangoDB API。

Because DB platform transition is SO individualized, you won't find a tool to quickly do this, especially when you're moving from RDBMS to document/graph.因为 DB 平台转换是非常个性化的,所以您不会找到快速执行此操作的工具,尤其是当您从 RDBMS 迁移到文档/图形时。 Normalization requirements between the two can be quite different, usually requiring you to re-work the data model.两者之间的规范化要求可能完全不同,通常需要您重新处理数据 model。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM