Temporarily disable a bucket?


#1

Hi,

Is there a way to disable a bucket temporarily? I don’t have any production use cases for this, it would be nice to disable a bucket to free memory in dev boxes time to time.


#2

Good question. For single node cluster instances such as those running in OSX, “quitting” Couchbase server disables the service altogether and consumes no memory. Stopping the service in linux platforms has the same effect.

You can also switch from value eviction (keys remain resident up to memory quota) to full eviction (keys are ejected from memory along with values), and set a lower memory quota.


#3

@tgreenstein Thank you so much. Full eviction would be enough :smile: