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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠