Reputation: 674
Does adding GSIs to a DynamoDB slow down write performance? For instance, if I create a DynamoDB table with 5 GSIs, are writes slower than writing to a table with no GSIs? (Assuming GSI updates are eventually consistent).
Upvotes: 0
Views: 1213
Reputation: 23793
No. DDB writes to the to both the table and the GSI asynchronously, thus the eventual consistency.
You can request strongly consistent read of the table itself.
However, GSI don't support strongly consistent reads.
Strongly consistent reads are not supported on global secondary indexes.
Upvotes: 1