DEV Community

Discussion on: DynamoDB Scan: the most efficient operation 😉

Collapse
 
franckpachot profile image
Franck Pachot AWS Heroes • Edited

Good point. With Single Table Design, it probably makes no sense to scan except when exporting the full datastore. The hash key should be designed so that Query is the "get a set of items" optimal operation. But a DynamoDB table should not be compared to a SQL tables but to a datastore. Thus a Scan is actually like scanning the whole database.