Search not load balance


(Zjzhiqian) #1

I have 7 elasticsearch instances , 2 of them are coordination nodes, I send many queries to coordination nodes, but the query loads not balanced. node 1 IO much nearly 200~300MB/s ,but other nodes IO nearly 0 . the replication position balanced,the configuration of the indices are all default ; any one could help me? if you need more configuration info ,just ask.


(Thiago Souza) #2

Queries will be forwarded to the nodes where the shards are. So if your index has just 1 shard and 0 replica, it will be assigned to just one node, so that node will receive all the queries. If this is your case, then you need to set replicas to a number higher then 0 to effectively load balance.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.