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

Set Over Existing Keys in 90% Full Bucket

1 reply [Last post]
  • Login or register to post comments
Wed, 02/27/2013 - 08:49
kneeoh
Offline
Joined: 02/19/2013
Groups: None

I am unable to reset keys in a bucket that is 90% full. Is this because it doesn't actually reset keys, it writes new keys taking up twice as much space then moves the pointer? When do the old keys expire? I've got a large data set I need to update daily. I can't afford to have 2 to 3x the size of the data set in free ram allocated just to accommodate the set operation. Is there another way to achieve what I'm trying to do? Ideally overwriting keys in real time in a ram neutral way? I don't care if I use extra disk space.

Top
  • Login or register to post comments
Thu, 02/28/2013 - 10:59
mikew
Offline
Joined: 03/14/2011
Groups:

We never rewrite any keys, but each time you add a new key Couchbase requires the key and meta data to stay in memory. Old values are also removed from memory when you add a new value for a given key. If you call flush on a cluster then all keys should be deleted.

What are your cluster specs and can you explain your use case in more detail?

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