couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximillian Dornseif (JIRA)" <>
Subject [jira] Commented: (COUCHDB-61) Separate storage of attachments from the main database file
Date Sat, 27 Dec 2008 19:32:44 GMT


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:
>             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.

View raw message