I am designing a DynamoDB database tables. In one table, say test_table
, I have defined a composite key with the combination of a partition key , say partition_id
and a sort key, say sort_id
. Both partition_id
and sort_id
may be have some duplicate values in their entries but the combination of both partition_id
and sort_id
together will always be unique.
I am interested to know, how efficient is the retrieval of total records having some partition_id
, say partition_id = x
?