- 最新
- 投票最多
- 评论最多
You should be very careful with this pattern - it is open-ended on throughput consumption. Note that the limit relates to items evaluated - not items returned.
Hello, Thank you for reaching out with DynamoDB query.
From the issue, I understand that you're receiving null prematurely in the LastEvaluatedKey property.
With pagination, the Scan results are divided into "pages" of data that are 1 MB in size (or less). An application can process the first page of results, then the second page, and so on. A single Scan only returns a result set that fits within the 1 MB size limit. However, in your case even though your item total 33 records from the max item count received is less than 1MB in total size, items are not retrieved in a single payload.
Since this issues needs further deep dive on the code that you're using and settings, I would suggestyou please reach out to AWS Support[1], along with your issue/use case in detail and share relevant AWS table resource names. So that we can deep dive into the issue further to gain more insights.
Thank you!
相关内容
- AWS 官方已更新 9 个月前