ConsistentRead with Local Secondary Index?

0

Currently the team I am on is using ConsistentRead=true for our main table primary/sort key and we have another query that is currently a GSI that we want to use with ConsistentRead=true. I understand GSI isn't supported but it doesn't say anything about LSI. Is LSI supported by DynamoDB with ConsistentRead=true?

質問済み 2年前235ビュー
1回答
0

Yes, you can do a ConsistentRead from an LSI. This is really the only advantage of an LSI.

The docs explain it here: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LSI.html

AWS
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ