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

questions about couchbase.

4 replies [Last post]
  • Login or register to post comments
Wed, 10/12/2011 - 22:44
ismtlee
Offline
Joined: 10/12/2011
Groups: None

Hi,

I'm using couchbase server 2.0 preview and confused about some questions.

1. Does the key with expired time be persisted to disk?
I set a key 'key1' expired in 30 seconds and restart the couchbase server before 'key1' expired.
When server started, 'key1' can be retrived, and never expired anymore. However I expected couchbase
should not only save the value but also the expired info.

2. Should we create another memcached type bucket just for the keys with expired time?
To avoid these keys persisting forever as above.

3. I confused about how couchbase works for hot and cold data?
Our previous project use mysql as a storage. So we first get data from memcache, when missed,then mysql.

4. When bucket RAM quota runs out, should the old data be swapped from RAM to disk?
Does couchbase hold all data in memory just like redis?

Should anyone give me some suggestions using couchbase in practise, Thanks a lot.

ismtlee@gmail.com

Top
  • Login or register to post comments
Thu, 10/13/2011 - 17:36
ismtlee
Offline
Joined: 10/12/2011
Groups: None

Ya, issue3 and 4 can get the answer here: http://www.couchbase.org/wiki/display/membase/Growing+Data+Sets+Beyond+M...

Top
  • Login or register to post comments
Mon, 10/17/2011 - 04:29
jan
Offline
Joined: 02/15/2011
Groups: None

Hi ismtlee,

Thanks for your report. 1/2 seem like a bug, I raised an issue here: http://couchbase.org/issues/browse/MB-4362

Cheers
Jan
--

Top
  • Login or register to post comments
Sun, 10/23/2011 - 19:08
ismtlee
Offline
Joined: 10/12/2011
Groups: None

Thanks, jan.

Top
  • Login or register to post comments
Wed, 06/20/2012 - 23:19
ismtlee
Offline
Joined: 10/12/2011
Groups: None

Issue 1 has been resolved. I just tested on cb server version 1.8.0 & php client with version 1.1.0-dp1.

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