Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Bucket Options

5 replies [Last post]
  • Login or register to post comments
Wed, 07/11/2012 - 02:04
sjpark9
Offline
Joined: 03/01/2012
Groups: None

When setting up a bucket, I can see an option of "memcached" and "couchDB"

What are the difference between these two options?

Top
  • Login or register to post comments
Wed, 07/11/2012 - 21:34
mikew
Offline
Joined: 03/14/2011
Groups:

The memcached bucket is just plain memcached with some nice clustering features. The other bucket is the Couchabse bucket, not couchDB bucket. This bucket provides persistence as well as caching and in 2.0 it will have support for views. I recommend using the Couchbase bucket unless you want Couchbase Server to mimic memcached behavior.

Top
  • Login or register to post comments
Wed, 07/11/2012 - 22:29
sjpark9
Offline
Joined: 03/01/2012
Groups: None

I see...

I can see that after a while , the data goes to the disk. I ain't sure about this...

if so, what is the time interval ? and what is the circumstance to make this happen?

Top
  • Login or register to post comments
Thu, 07/12/2012 - 10:29
mikew
Offline
Joined: 03/14/2011
Groups:

All data is written to disk as soon as possible. Once an item is set in Couchbase it is immediately put into a replication and persistence queue. Their is no specific time interval for data to be persisted to disk since and the only factor that changes the persistence latency is how heavy your workload is.

Top
  • Login or register to post comments
Thu, 07/12/2012 - 17:55
sjpark9
Offline
Joined: 03/01/2012
Groups: None

So using Couchbase option means that it automatically back-ups data on disk as soon as possible?

Is this to prevent failover?

Thank you

Top
  • Login or register to post comments
Thu, 07/12/2012 - 18:26
mikew
Offline
Joined: 03/14/2011
Groups:

Couchbase is a database. We provide two ways to run. The first is as a cache. If you want to do this you use the memcached bucket. The second way is as a database which is through the use of the Couchbase bucket. Please take a look at our white paper and let me know if you have any other questions.

http://www.couchbase.com/sites/default/files/uploads/all/whitepapers/Cou...

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