Maximum size of bulk create (or update) for Clouda

2019-07-13 20:38发布

When using bulk operation with Cloudant. Is there a "hard" limit (size of all documents / number of documents)?

Also: is there a best practice setting? (size of all documents / number of documents per request)?

标签: rest cloudant
1条回答
一夜七次
2楼-- · 2019-07-13 21:34

I understand there is a 65Mb limit in the size of individual documents in Cloudant. Having said that, I would try to avoid getting anywhere near that size of document.

A rule of thumb would be if the size of your documents is over a few tens of kilobytes, you might be better creating more documents and retrieving them using a view.

In terms of bulk operations, I tend to use batches of 500 documents. Bulk operations are a much more efficient way of transferring data between your client software and Cloudant and a 500 document batch size (as long as your document size is reasonable) is a good rule of thumb.

查看更多
登录 后发表回答