How to increase Elasticsearch Shard recovery Speed

To Increase Shard recovery speed do this:


Increase node recovery speed


PUT http://es:9200/_cluster/settings

{
"persistent" : {
"indices.recovery.max_bytes_per_sec": "200mb",
"indices.recovery.max_concurrent_file_chunks": 5,
"cluster.routing.allocation.node_concurrent_recoveries" : 5
}
}


Links:

https://www.elastic.co/guide/en/elasticsearch/reference/current/shards-allocation.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/recovery.html


Comments

nduytg said…
Thanks Srikanth, this helps me a lot

Popular posts from this blog

Install Cpanm module error : No such file or directory opening compressed index

Getting started with Python Flask application with MVC structure