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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南