aws lambda - DynamoDb : Scan query does not return all the data -


i have dynamodb table thousands of data. scanning table using scan function , have applied "between" filterexpression. , query response gives 3 records whereas should return 100 records.

i have created lambda function using node js.

the other common issue whether scan executed until lastevaluatedkey empty.

if doing , still not getting items, please show code @ in detail.

if total number of scanned items exceeds maximum data set size limit of 1 mb, scan stops , results returned user lastevaluatedkey value continue scan in subsequent operation. results include number of items exceeding limit. scan can result in no table data meeting filter criteria.

if lastevaluatedkey empty, "last page" of results has been processed , there no more data retrieved.

if lastevaluatedkey not empty, not mean there more data in result set. way know when have reached end of result set when lastevaluatedkey empty.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -