1回答
- 新しい順
- 投票が多い順
- コメントが多い順
-1
According to AWS Document, Your data will be imported into a new DynamoDB table, which will be created when you initiate the import request. You can create this table with secondary indexes, then query and update your data across all primary and secondary indexes as soon as the import is complete. You can also add a global table replica after the import is complete.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataImport.HowItWorks.html
回答済み 1年前
関連するコンテンツ
- AWS公式更新しました 9ヶ月前
- AWS公式更新しました 1年前
Thank you very much for your quick reply! Both the documentation link and the video in it mention "secondary indexes" and do not distinguish between Global Secondary Indexes (GSIs) and Local Secondary Indexes (LSIs). I know for a fact that the import operation allows the specification of GSIs. Although, it does not seem to allow LSIs. Does this means that i should not be using LSIs at all and should be using GSIs instead? Thanks
I think this needs to be properly answered. I'm also trying to restore table with LSI from S3 backup. I'm using AWS SDK for JavaScript v3 and ImportTableCommand doesn't support LocalSecondaryIndexes in input, only GlobalSecondaryIndexes. And like said before after table has been created it's not possible to add LSI either.
I don't know if only option to also restore LSIs is to first create the table manually and then import data separately making the whole ImportTableCommand useless as it requires that the table does not exist!