Setting Disk I/O Priority
The disk I/O priority for a bucket is set with the/pools/default/buckets/[bucket-name]
URI and thethreadNumber
setting.
HTTP method and URI
To set the maximum of thread workers, use the threadsNumber
option.
To specify high priority, assign eight (8) threads.
To specify low priority, assign three (3) threads.
Default: threadsNumber=3
.
Only high or low priority are allowed.
POST /pools/default/buckets/[bucket_name]
The threadNumber
parameter is used to specify disk I/O priority for a bucket.
When editing bucket properties, be sure to specify all bucket properties. If a bucket property is not specified (whether or not you are changing the existing value), Couchbase Server may reset the property to the default. Even if you do not intend to change a certain property, re-specify the existing value to avoid this behavior. |