1

I am migrating my app from mysql to DynamoDB, I have a table where i match 5 non key attribute based on certain conditions. This table will have lots of read operations(scan)

Question:Is there are any possible ways that i design a table in such a way that i don't have to scan the table

Any Light on the path would be helpful. Thanks

Harshal Bulsara
  • 7,898
  • 4
  • 43
  • 61

1 Answers1

2

I believe the recently announced Global Secondary Indexes is what you need.

As with Local Secondary Indexes - you can't you have than one index when querying.

This means you will probably have to move some of that logic into the application layer.

Chen Harel
  • 9,684
  • 5
  • 44
  • 58