Interview Prep/AWS/Databases (Aurora, ElastiCache, DynamoDB design)

What are DynamoDB GSIs and LSIs?

IntermediateConceptDatabases (Aurora, ElastiCache, DynamoDB design)
Answer

A global secondary index has a different partition and sort key, can be added any time and has its own throughput. A local secondary index shares the table's partition key with a different sort key, must be created with the table and shares the partition's limits. GSIs are used far more often.

aws All AWS questions

More on Databases (Aurora, ElastiCache, DynamoDB design)