AWS Dynamodb Error
Increate the throughput rate:
Error: PutItem [400]: The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API
client > db.describeTable('s2-event', function(err, res){console.log(res)});
client > { CreationDateTime: 1437661404.404,
ItemCount: 79055,
KeySchema: { HashKeyElement: { AttributeName: 'ACTIVITYID', AttributeType: 'N' } },
ProvisionedThroughput:
{ LastDecreaseDateTime: 1437667880.514,
LastIncreaseDateTime: 1437742235.744,
NumberOfDecreasesToday: 0,
ReadCapacityUnits: 4,
WriteCapacityUnits: 4 },
TableName: 's2-event',
TableSizeBytes: 21046796,
TableStatus: 'ACTIVE' }
db.updateTable('s2-event', {write:5, read:4}, print)
client > { CreationDateTime: 1437661404.404,
ItemCount: 79055,
KeySchema: { HashKeyElement: { AttributeName: 'ACTIVITYID', AttributeType: 'N' } },
ProvisionedThroughput:
{ LastDecreaseDateTime: 1437667880.514,
LastIncreaseDateTime: 1437744620.53,
NumberOfDecreasesToday: 0,
ReadCapacityUnits: 4,
WriteCapacityUnits: 4 },
TableName: 's2-event',
TableSizeBytes: 21046796,
TableStatus: 'UPDATING' }
client > db.describeTable('s2-event', print)
undefined
client > { CreationDateTime: 1437661404.404,
ItemCount: 79055,
KeySchema: { HashKeyElement: { AttributeName: 'ACTIVITYID', AttributeType: 'N' } },
ProvisionedThroughput:
{ LastDecreaseDateTime: 1437667880.514,
LastIncreaseDateTime: 1437744626.765,
NumberOfDecreasesToday: 0,
ReadCapacityUnits: 4,
WriteCapacityUnits: 5 },
TableName: 's2-event',
TableSizeBytes: 21046796,
TableStatus: 'ACTIVE' }