[
https://issues.apache.org/jira/browse/COUCHDB-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244934#comment-15244934
]
ASF GitHub Bot commented on COUCHDB-2992:
-----------------------------------------
GitHub user tonysun83 opened a pull request:
https://github.com/apache/couchdb-chttpd/pull/114
Add support for single_max_doc
Users have been complaining about performance issues as well as indexing
timeout issues. Some of these issues are due to large documents. Currently,
our only limitation is the max_document_size parameter that is set to 64 MB.
With this enhancement, the goal is to provider some finer grained control over
single document sizes and provide some more error info. The max_document_size
still takes precedence. The default max size for a single doc is 1 MB.
During bulk requests, when one of the documents exceeds the
single_doc_max_size value, it will not be created/updated. The error message
will simply be "too_large" for that document. Other documents under the limit
will be created/updated normally.
COUCHDB-2992
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb-chttpd 2992-limit-doc-size
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-chttpd/pull/114.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #114
----
commit f7affd0d276e12b29e930666dd36ff7b9fdd8e5d
Author: Tony Sun <[email protected]>
Date: 2016-04-17T02:42:46Z
Add support for single_max_doc
This adds support for a new configuration param single_max_doc_size.
Single documents that exceed this document will receive a too_large
error.
COUCHDB-2992
----
> Add additional support for document size
> ----------------------------------------
>
> Key: COUCHDB-2992
> URL: https://issues.apache.org/jira/browse/COUCHDB-2992
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core
> Reporter: Tony Sun
>
> Currently, only max_document_size of 64 GB is the restriction for users
> creating documents. Large documents often leads to issues with our indexers.
> This feature will allow users more finer grain control over document size.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)