Maximum size of bulk create (or update) for Cloudant?

▼魔方 西西 提交于 2019-12-11 04:08:41

问题


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.



来源:https://stackoverflow.com/questions/33937631/maximum-size-of-bulk-create-or-update-for-cloudant

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!