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 in AWS by Shuvo
15 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 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 10 in AWS by Ananya
8 views
0 votes
1 answer
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 in AWS by Priyaj
• 56,120 points
10 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer
0 votes
1 answer

What are the main features of DynamoDB?

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

answered Mar 5 in AWS by Esha
47 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.