Attachment support
Hello,
Is there support for attachment in the new Couchbase Server 2.0.
How do i attach and access the attachments to the document.
I have tried to find in the documentation but could not find it, although I have a feeling I have seen it somewhere.
Thanks.
Thanks for the reply. It is always good to know what is available and what is not. Could you please clarify whether the attachments feature is part of the roadmap for implementation or is it going to be totally removed.
Could you suggest a possible solution pattern to this issue, on how to approach the attachments. I could possibly mixin a disk based attachment with reference stored in the document. Is there an implementation reference in place for such.
Concept of attachments was also useful to keep the previous history of a document record.
Rgds,
Harjeet.
It's definitely on the roadmap as far as I know, but even when we do support attachments, that might not be the best use of your RAM (providing very low latency lookups, etc).
As a possible solution, you could keep attachments in a separate store (NFS mount, Couchbase Single Server, etc) and use the Couchbase Server to simply store the metadata that points to where the larger "attachment" is.
Attachments are particularly useful for keeping track of old versions, but there are other ways of doing that as well (keeping each one as a separate document for example and maintaining a linked-list throughout them).
Hope that helps...
Perry
I know that this post is quite old ... but still:
If someone searches for a similar solution, you should definitively take a look at cbfs (https://github.com/couchbaselabs/cbfs)
Sorry Sam, attachments are not currently supported with Couchbase Server.
Very large objects would somewhat undo the advantage of a very low latency lookup from the memory caching layer.
That said, we've got a long roadmap of compatibility and feature improvements in store for Couchbase Server...this is just the beginning.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!