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?

demandé il y a 2 ans235 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions