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?

feita há 2 anos236 visualizações
1 Resposta
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas