Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a questions about couchbase bucket. Is there anyway to change the number of vbuckets of a bucket. By default, it is 1024. Anyone know, pls tell me. Thank you

share|improve this question

vBuckets are an internal representation of Buckets (and are not visible to the application) that allow Couchbase to shard data evenly across the cluster. The quantity of vBuckets is not configurable, but also is factored into the key hashing algorithm that determines which vBucket a k/v pair lives on (which is why it isn't configurable). Is there a reason you wanted to change this?

share|improve this answer

If you have issues trying to do cbrestore between environments (say Linux to Mac) due to the difference in vbuckets (linux has 1024, mac has 64 or 256), then read this article:

Specifically, use the memcached protocol instead:

cbrestore /linuxbackup/today memcached://mac:11211 -b default -B default
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.