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

Change maximum item size

3 replies [Last post]
  • Login or register to post comments
Sat, 01/28/2012 - 17:35
lionelhutz
Offline
Joined: 01/20/2012
Groups: None

I understand that the default maximum item size is 20 megs. I have an item that is roughly 55 megs that I'd like to store. How can I change the maximum item size?

I also posted this question to stackoverflow here:
http://stackoverflow.com/questions/8933666/how-can-i-change-default-couc...

Top
  • Login or register to post comments
Sun, 01/29/2012 - 23:49
mikew
Offline
Joined: 03/14/2011
Groups:

This requires modifying a constant in the source code and building Couchbase yourself. I'm curious why you need to store such a large object?

Top
  • Login or register to post comments
Mon, 01/30/2012 - 05:38
lionelhutz
Offline
Joined: 01/20/2012
Groups: None

I'm using the .NET Couchbase Client API. It just turned out that an object that size was already being stored via built in ASP.NET caching previously. There is no functionality currently implemented in the API to break up an object into multiple smaller pieces (and merge back together in the Get) and I'm attempting to simply swap the caching mechanisms in the code.

I'll build something to split and merge this and see if there are performance issues with doing so. Obviously I'd much prefer either to be easily able to reconfigure the max item size or have this split/merge functionality built into the Couchbase API.

Top
  • Login or register to post comments
Fri, 02/03/2012 - 12:34
mikew
Offline
Joined: 03/14/2011
Groups:

I recently can across a stackoverflow question where someone was trying to something similar to what you are doing. Check out some of the answers and let me know if you have any other questions.

http://stackoverflow.com/questions/9127982/avoiding-memcache-1m-limit-of...

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