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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.