Maximum size of bulk create (or update) for Clouda

2019-07-13 21:24发布

问题:

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)?

回答1:

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.



标签: rest cloudant