-1
在DynamoDB表,我有161712記錄當任何適用的過濾器,我已經收到掃描計數值只有10589蟒蛇DynamoDB掃描操作不會返回所有記錄
這是MYTABLE元
{
"AttributeDefinitions": [
{
"AttributeName": "question_id",
"AttributeType": "N"
},
{
"AttributeName": "timestamp",
"AttributeType": "S"
}
],
"TableName": "users_answers",
"KeySchema": [
{
"AttributeName": "timestamp",
"KeyType": "HASH"
},
{
"AttributeName": "question_id",
"KeyType": "RANGE"
}
],
"TableStatus": "ACTIVE",
"CreationDateTime": "2017-09-12T12:33:22.615Z",
"ProvisionedThroughput": {
"LastIncreaseDateTime": "2017-09-12T16:46:26.742Z",
"NumberOfDecreasesToday": 0,
"ReadCapacityUnits": 80,
"WriteCapacityUnits": 80
},
"TableSizeBytes": 16014441,
"ItemCount": 161712
}
當我這樣做掃描上面的表格操作將只得到10589條記錄
table = dynamo.get_table('answer_options')
x = table.scan()
請建議我如何從表中取整記錄
ENV:提前蟒蛇3.5.1,燒瓶dynamodb
感謝
感謝讓我查 – Robert