4

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?

Christian P
  • 12,032
  • 6
  • 60
  • 71
helvar
  • 133
  • 2
  • 7

1 Answers1

9

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

John Petrone
  • 26,943
  • 6
  • 63
  • 68