从DynamoDB数据导出 [英] Export data from DynamoDB

查看:2068
本文介绍了从DynamoDB数据导出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能将数据从DynamoDB表中的一些格式导出?

Is it possible to export data from DynamoDB table in some format?

具体使用情况是,我想将数据从我的生产dynamodb数据库中导出和导入数据到我的地方dynamodb实例,这样我的应用程序可以使用数据,而不是生产数据的本地副本。

The concrete use case is that I want to export data from my production dynamodb database and import that data into my local dynamodb instance so my application can work with local copy of data instead of production data.

我用链接作为DynamoDB的本地实例。

I use link as a local instance of DynamoDB.

推荐答案

有一个名为工具 DynamoDBtoCSV

这可用于出口​​的所有数据到CSV文件。然而,对于周围的其他方法,你必须建立自己的工具。我的建议是,你添加此功能的工具,它contribuite到Git仓库。

that can be used for export all the data to a CSV file. However, for the other way around you will have to build your own tool. My suggestion is that you add this functionality to the tool, and contribuite it to the Git repository.

另一种方式是使用AWS数据管道这个任务(您将节省从AWS infraestructure之外读取数据的所有费用)。该方法是相似的:

Another way is use AWS Data Pipeline for this task (you will save all the costs of reading the data from outside AWS infraestructure). The approach is similar:

  1. 生成管道输出
  2. 下载文件。
  3. 与自定义读者解析它。

这篇关于从DynamoDB数据导出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆