dynamoDB Global Tables Flashcards
What does DynamoDB Global Tables allow you to do?
DynamoDB Global Tables allows you to automatically replicate tables across AWS regions.
How are tables synchronized in DynamoDB Global Tables?
Tables are synchronized via DynamoDB Streams.
What Streams view type should be enabled to use Global Tables?
To use global tables, enable the NEW_AND_OLD_IMAGES Streams view type.
What conflict resolution strategy does DynamoDB use?
DynamoDB uses LAST WRITER WINS to resolve conflicts.
Is failover automatic in DynamoDB Global Tables?
No, failover is not automatic. If a region goes down, you need to implement failover in your application.
What should be considered when selecting regions in DynamoDB Global Tables?
You still need to consider latency. Latency will be higher the further away data has to be replicated.
What is PartiQL used for in DynamoDB?
PartiQL allows you to run SQL queries on DynamoDB tables.
What are the requirements for running queries with PartiQL?
Table and column names need to match case when using PartiQL.
Can WHERE clauses be used on non-partitioned key columns in DynamoDB PartiQL?
Yes, WHERE clauses can be used on non-partitioned key columns, but under the covers, PartiQL will just run a full SCAN and filter the results.
What should be used to keep DynamoDB PartiQL queries efficient?
Use indexes to keep DynamoDB PartiQL queries efficient.