What are the types of Secondary key in DynamoDB

0 votes
Please explain me the different types of Secondary Keys in DynamoDB? Thank you in advance for helping.
Mar 5, 2019 in AWS by Shuvo
438 views

1 answer to this question.

0 votes

The primary key is used to uniquely identify an item in a table, and all the queries made against the table are using the primary key. However, sometimes you require additional access patterns that would be inefficient with just the primary key. DynamoDB has the notion of secondary indexes that enable user to access these additional access patterns.

There are two types of Secondary Index:

  1. Local Secondary Index: A local secondary index uses the same partition key as the underlying table but a different sort key.
  2. Global Secondary Index: A global secondary index can define an entirely different primary key for a table. 
answered Mar 5, 2019 by Pranav

Related Questions In AWS

0 votes
1 answer

What are the benefits of setting up systems manager in Hybrid Environment?

There are several benefits: It creates a secure ...READ MORE

answered Jan 11, 2019 in AWS by Ananya
505 views
0 votes
1 answer

What are the naming rules to be followed in DynamoDB?

There are certain rules that needs to ...READ MORE

answered Feb 15, 2019 in AWS by heena
9,198 views
0 votes
1 answer

What are the different types of sevices offered by AWS?

The services offered by AWS are as ...READ MORE

answered Mar 7, 2019 in AWS by Priyaj
• 58,090 points
447 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

What are the types of Expressions used in DynamoDb?

In DynamoDB expressions are the integral part ...READ MORE

answered Mar 5, 2019 in AWS by Ishaan
486 views
0 votes
1 answer

What are the main features of DynamoDB?

DynamoDB is a hosted NoSQL database that is ...READ MORE

answered Mar 5, 2019 in AWS by Esha
1,365 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP