You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
We're starting to see problems (timeouts and other problems) with our DynamoDB usage, and a lot of that stems from how we migrated from MongoDB, I think. Stuff that worked well in Mongo may not be working well with DynamoDB.
Seems we still need the all() feature, it will make sure that we will continue the operation to find the data if we got operation limit.
A single Query operation will read up to the maximum number of items set (if using the Limit parameter) or a maximum of 1 MB of data and then apply any filtering to the results using FilterExpression. If LastEvaluatedKey is present in the response, you will need to paginate the result set. For more information, see Paginating the Results in the Amazon DynamoDB Developer Guide.
We're starting to see problems (timeouts and other problems) with our DynamoDB usage, and a lot of that stems from how we migrated from MongoDB, I think. Stuff that worked well in Mongo may not be working well with DynamoDB.
Specifically:
scanOne
a lot whenquery
may be betterall()
here, which is likely not the best approach.We need to look into how we use DynamoDB and optimise it.
The text was updated successfully, but these errors were encountered: