Search⌘ K

How Keys Work

Explore how keys operate in DynamoDB focusing on primary, partition, and sort keys. Understand how these keys determine data placement, enable efficient searches, and ensure unique record identification in different partitions.

When talking about NoSQL terminology, we may come across some terms from the SQL world. However, such terms function slightly differently in NoSQL databases. One of these is regarding keys, how they allow us to search for a piece of data and how they influence the performance of storing and querying operations. Let’s review how keys are implemented in DynamoDB.

Primary keys

DynamoDB locates information by using a primary keyThe key to look for a record in DynamoDB.. Those keys can be formed by one or two columns of a table. Depending on its ...