English 中文(简体)
CSV file to AWS Dynamo DB Design
原标题:CSV file to AWS Dynamo DB design

我对美国妇女论坛来说是新鲜事,即将通过美国妇女论坛扩大网站。 我的卷宗中有一些数据(约200万个)。 我每个月都得到新的数据。 新浏览器更新了以前各行和新增新行。 单项卷宗中各行没有独一无二的识别标志,因为任何一栏都可以在新的更新版目录中加以调整。 我想将数据储存在一个妇科病房表中,但我确实不知道如何更新数据。

我所审议的两个备选办法:

  1. deleting the previous dynamo db table and creating a new one with the new csv file (not sure about the logistics for this one)
  2. don t use dynamo db and just read from the csv stored in s3 (not sure about the performance implications of reading from a csv each time I need to access the data)
  3. compare the new csv with old data in dynamo db, remove entries in dynamo db that do not occur in new csv, add all entries in new csv that do not occur in dynamo db (seems like way too many comparisons given the size of my dataset)
  4. just add new rows from the csv to dynamo db and ignore changes to previous rows (last resort)

我愿意接受任何建议。

我尚未尝试任何已考虑的备选办法。

问题回答

如果新设立的特别志愿人员没有任何指标显示增长的变化,那么 yourself(增长已经改变)的构造就是一种相当昂贵的行动。 在这种情况下,选项1(重复和重述一切)似乎是你案件的最佳选择。





相关问题
what is wrong with this mysql code

$db_user="root"; $db_host="localhost"; $db_password="root"; $db_name = "fayer"; $conn = mysqli_connect($db_host,$db_user,$db_password,$db_name) or die ("couldn t connect to server"); // perform query ...

Users asking for denormalized database

I am in the early stages of developing a database-driven system and the largest part of the system revolves around an inheritance type of relationship. There is a parent entity with about 10 columns ...

Easiest way to deal with sample data in Java web apps?

I m writing a Java web app in my free time to learn more about development. I m using the Stripes framework and eventually intend to use hibernate and MySQL For the moment, whilst creating the pages ...

join across databases with nhibernate

I am trying to join two tables that reside in two different databases. Every time, I try to join I get the following error: An association from the table xxx refers to an unmapped class. If the ...

How can I know if such value exists in database? (ADO.NET)

For example, I have a table, and there is a column named Tags . I want to know if value programming exists in this column. How can I do this in ADO.NET? I did this: OleDbCommand cmd = new ...

Convert date to string upon saving a doctrine record

I m trying to migrate one of my PHP projects to Doctrine. I ve never used it before so there are a few things I don t understand. In my current code, I have a class similar to this: class ...

热门标签