CreateBatchWrite() 是否有批量大小限制

Is there a batch size limit to CreateBatchWrite()

当尝试使用适用于 .net 的 Amazon.DynamoDBv2 包装器将约 30,000 名用户上传到 dynamodb table 时,并非所有记录都成功,但也没有例外。

 var userBatch = _context.CreateBatchWrite<Authentication_User>();
 userBatch.AddPutItems(users);
 userBatch.ExecuteAsync();

大约 2,500 条记录被写入 table。有没有人发现批量插入的数量或大小有限制?

我在 ExecuteAsync() return 之后退出了进程。这就是问题所在。当我让它 运行 时,我可以看到数据慢慢积累。但是,在批量插入中,我使用了 Task.Wait() 因为在加载记录之前无事可做。但是,Iridium 上面的回答帮助我解决了围绕 ProvisionedThroughput 异常的第二个问题。

来自 the documentation(强调我的):

When using the object persistence model, you can specify any number of operations in a batch.