- Change num_writer_threads from command-line
curl --user Administrator:asdasd -X POST --data "num_writer_threads=disk_io_optimized" http://localhost:9000/pools/default/settings/memcached/global
(Can also use num_reader_threads
, and specify an exact number)
- Change number of shards from command-line:
curl -i -u Administrator:asdasd --data 'ns_bucket:update_bucket_props("default", [{extra_config_string, "max_num_shards=64"}]).' http://localhost:9000/diag/eval