dbeast-co / Reindex

Reindex - application for visualize, optimize and automate your Elasticsearch reindex process
https://dbeast.co/reindex-for-elasticsearch
Apache License 2.0
11 stars 0 forks source link

[SERVER] Speed up the reindex process with remove refresh_interval #6

Open dbeast-co opened 2 years ago

dbeast-co commented 2 years ago

Reindex to the index with default refresh_interval (null) could speedup reindex speed and decrease CPU usage. Could be implemented as automation for the following steps:

  1. Start reindex
  2. Check the refresh_interval in the destintaion index settings
  3. If refresh_interval exists -> set refresh_interval to null
  4. After the end of the proccess return the refresh_interval to original value