单个文档CouchDb的大小有什么限制 [英] What is a limit to the size of a single document CouchDb

查看:197
本文介绍了单个文档CouchDb的大小有什么限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对文档存储复杂的数据结构有疑问,该结构可能会有所不同。文档需要整体存储和检索。需要提供文件搜索字段。
我开始在MongoBb中存储文档,但是该文档的大小限制为16 MB,这对我来说还不够。
CouchDb允许的单个文档的最大大小是多少?

I have a problem with document storage complex data structure, which may vary. Document need to store and retrieve whole. Need to provide a document search fields. I began to store documents in MongoBb, but the size of the document there is limited to 16 MB, which is not enough for me. What is the maximum size of a single document allows CouchDb?

推荐答案

CouchDB的最大文档大小是通过您的实例的.ini文件中的max_document_size参数。默认值

The CouchDB maximum document size is set via the max_document_size parameter in the .ini file for your instance. The defaults

max_document_size = 4294967296 ; 4 GB
max_attachment_chunk_size = 4294967296 ; 4GB

表示文档和附件的默认最大大小为4 GB。我不确定是否可以将其提高到该值以上。

mean that for both documents and attachments the default maximum size is 4 GB. I am uncertain if you can raise it above that value.

http://docs.couchdb.org/en/latest/config/couchdb.html?highlight=max_document_size
http://wiki.apache.org/couchdb/Configurationfile_couch.ini

这篇关于单个文档CouchDb的大小有什么限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆