Elasticsearch upgrade from 1.7 to 2.2 write speed is very slow

Elasticsearch upgrade from 1.7 to 2.2 write speed is very slow????

I found that after the upgrade data is written to the elasticseach speed is very slow, slow to bear, but I don't know how to analyze the cause of the slow, look forward to your help。

If you use bulk, it should not be that slow.

But yes, in 2.x, we now:

  • fsync every request
  • write doc values

thanks
I hava not use bulk.

  • fsync every request ???

I hope you can speak more details. Thank you very much!!!

So. Use bulk.

And you could read this https://www.elastic.co/guide/en/elasticsearch/reference/2.3/index-modules-translog.html#_translog_settings

I don't understand the question

I had to go back to 1.7.3. I found 2.3 was just so slow, it was unusable. Creating shards and indices just took for ever. The write speed in bulk was also very slow. I could not use 2.2.3. 1,7,3 was the last best version.