Created
March 22, 2017 12:25
-
-
Save jolestar/ad4fde140e903fc671aeb57aa47752fb to your computer and use it in GitHub Desktop.
elasticsearch recovery speed up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -XGET 'localhost:9200/_cat/recovery?v' | |
curl -XPUT localhost:9200/_cluster/settings -d '{ | |
"persistent" : { | |
"cluster.routing.allocation.node_concurrent_recoveries" : "10", | |
"indices.recovery.max_bytes_per_sec": "250mb", | |
"indices.recovery.concurrent_streams": 10 | |
} | |
}' | |
curl -s -XGET 'localhost:9200/_cat/recovery?v' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment