Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Attachment support

4 replies [Last post]
  • Login or register to post comments
Fri, 09/02/2011 - 04:02
sam7
Offline
Joined: 09/01/2011
Groups: None

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.

Top
  • Login or register to post comments
Sat, 09/03/2011 - 17:20
perry
Offline
Joined: 10/11/2010
Groups:

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!

Top
  • Login or register to post comments
Sun, 09/04/2011 - 03:26
sam7
Offline
Joined: 09/01/2011
Groups: None

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.

Top
  • Login or register to post comments
Tue, 09/06/2011 - 18:22
perry
Offline
Joined: 10/11/2010
Groups:

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

__________________

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!

Top
  • Login or register to post comments
Sun, 11/04/2012 - 23:50
SimonSimCity
Offline
Joined: 11/02/2012
Groups: None

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)

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker