回溯(控制台的最后一次输出):
File "batchpy.py", line 61, in <module>
obj.batch_w1()
File "batchpy.py", line 49, in batch_w1
batch.put_item(data=item)
File "/usr/local/lib/python2.7/dist-packages/boto/dynamodb2/table.py", line 1641, in __exit__
self.resend_unprocessed()
File "/
对于如何检查Dynamo客户端在putItemAsync上是否成功,我有些困惑。我正在使用.NET库。
var res = _dynamoClient.PutItemAsync(request).Result;
if(res.HttpStatusCode != HttpStatusCode.OK)
{
_logger.Error($"Error {res.HttpStatusCode} with putting to DynamoDB for {request.Item} to {request.TableName}");
我正在以每秒3000次请求加载测试服务。每个请求从一个DynamoDB表中获取数据。该表的规定读取容量为每秒10,000次。但是,我得到了以下例外:
com.amazonaws.services.dynamodbv2.model.ProvisionedThroughputExceededException: The level of configured provisioned throughput for the table was exceede d. Consider increasing your provisioning level with the UpdateTable A
我已经创建了一个具有容量模式DynamoDB的On-demand表。
我正在对表的全局辅助索引执行几个查询,这会给我带来错误:An error occurred (ThrottlingException) when calling the Query operation (reached max retries: 2): Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so please t