Setting bucket priority

To set the disk I/O priority for a bucket, use the couchbase-cli tool bucket-create or bucket-edit command and the --bucket-priority=[low|high] option.

Creating a bucket and setting high priority

To create a new couchbase bucket with high priority:


couchbase-cli bucket-create -c 192.168.0.1:8091 \\	
 --bucket=test_bucket \\	
 --bucket-type=couchbase \\	
 --bucket-port=11222 \\	
 --bucket-ramsize=200 \\	
 --bucket-replica=1 \\	
 --bucket-priority=high \\	
 -u Administrator -p password   
   

Setting high priority

To modify a bucket to high priority:


couchbase-cli bucket-edit -c 192.168.0.1:8091 \\	
 --bucket=test_bucket \\	
 --bucket-priority=high \\	
 -u Administrator -p password