helvar
helvar

Reputation: 133

What is a limit to the size of a single document 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?

Upvotes: 4

Views: 11377

Answers (1)

John Petrone
John Petrone

Reputation: 27517

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

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

Upvotes: 10

Related Questions