Temporarily disable a bucket?


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.

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.

1 Like

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