In the web console click on buckets and then the little arrow next to the bucket name you want to increase. Clicking on this button should cause a drop down page of bucket information. In that drop down on the top right click the edit button. A screen should pop up that has the bucket quota. Simple increase the quota and click ok at the bottom of the screen.
But I want to change the cluster quota so I can increase the bucket. I originally setup the cluster quota to 512MB (2 x 256mb) and now I have two buckets each with 128MB so I’m using all the allocation. How can I change the cluster allocation?
/opt/couchbase/bin/couchbase-cli
should let you do that.
Change the username, password, port and ram quota:
couchbase-cli cluster-init -c 192.168.0.1:8091
–cluster-init-username=Administrator
–cluster-init-password=password
–cluster-init-port=8080
–cluster-init-ramsize=300
So the command to change the cluster quota to 1024mb would be something like:
/opt/couchbase/bin/couchbase-cli cluster-init -c -u -p --cluster-init-ramsize=1024
Originally I had it setup to 256MB but that only let’s me have 2 buckets. How can I increase the cluster memory size?