Searching Fast and Slow
- What if you need to query multiple items?
- Dynamo is able to search for records other than the Primary Key...
- ...but the search might be very slow
- A "Scan" looks at all records in the table and pulls the ones you want
- A "Query" uses an index and then potentially filters
- To do a Query, you need to have an index set up
- You need to know how you're going to query your data
- You pay for indices. Need to allocate resources
22 / 25