amazon web services - Does AWS DynamoDB API pose a limit to number of records returned in a secondary index query? -
i'm woking dynamodb using java sdk. case here is, i've secondary index when queried might contain 1000+ records in returned result. i'm not sure if dynamodb returns result in paginated form or records @ once?
thanks.
dynamodb paginates results
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/queryandscan.html#pagination
dynamodb paginates results query , scan operations. pagination, query , scan results divided distinct pieces; application can process first page of results, second page, , on. data returned query or scan operation limited 1 mb; means if result set exceeds 1 mb of data, you'll need perform query or scan operation retrieve next 1 mb of data.
if query or scan specific attributes match values amount more 1 mb of data, you'll need perform query or scan request next 1 mb of data. this, take lastevaluatedkey value previous request, , use value exclusivestartkey in next request. approach let progressively query or scan new data in 1 mb increments.
Comments
Post a Comment