[
https://issues.apache.org/jira/browse/COUCHDB-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659369#action_12659369
]
Maximillian Dornseif commented on COUCHDB-61:
---------------------------------------------
This is not only the issue of hardware costs but also of absolute performance.
Access patterns for Documents and attachments are very different to my
understanding:
The documents need random access (for http://localhost:5984/test/some_doc_id)
and "traversal" access for view generation. Huge binary attachments in the
document file make this operations more expensive and render os level caching
less effective.
So at least for the use case big attatchments and few changes to the
attatchments but small(ish) documents many changes to the documents having
documents out of the main database file would be very helpful.
> Separate storage of attachments from the main database file
> -----------------------------------------------------------
>
> Key: COUCHDB-61
> URL: https://issues.apache.org/jira/browse/COUCHDB-61
> Project: CouchDB
> Issue Type: New Feature
> Components: Database Core
> Environment: All
> Reporter: Jan Lehnardt
> Priority: Minor
>
> At the moment all document- and attachment-data go into the same database
> file. It would be nice if the attachments could be saved in a different file.
> This would enable the use of slower and cheaper hardware for attachment
> storage and faster hardware for the document and index data storage.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.