I am seeing the refresh interval of 5 seconds instead of 1 second that
I thought was the default. However, I want to change it to 1 second -
I was wondering if there is a way to do it without bringing any of the
nodes down. I have a cluster with 4 nodes and 1 index. Here is the
status from 1 of the 4 nodes:
On Fri, 2011-06-03 at 10:59 -0700, Manish Pandit wrote:
I am seeing the refresh interval of 5 seconds instead of 1 second that
I thought was the default. However, I want to change it to 1 second -
I was wondering if there is a way to do it without bringing any of the
nodes down. I have a cluster with 4 nodes and 1 index. Here is the
status from 1 of the 4 nodes:
Thats the refresh interval for the os stats, not the index refresh interval :). If you get the settings for the index and you don't see any refresh interval setting, then its using the default.
On Friday, June 3, 2011 at 8:59 PM, Manish Pandit wrote:
I am seeing the refresh interval of 5 seconds instead of 1 second that
I thought was the default. However, I want to change it to 1 second -
I was wondering if there is a way to do it without bringing any of the
nodes down. I have a cluster with 4 nodes and 1 index. Here is the
status from 1 of the 4 nodes:
which should help my io-waits if it is due to lots of (re)indexing?
refresh_interval or index.translog.flush_threshold fields?
I would assume the translog settings, but merge settings have a lot more to
do with that. You can limit the impact of merging via store
throttlinghttp://www.elasticsearch.org/guide/reference/index-modules/store/,
which will make your merges take longer, but with less load.
However, in my experience, increasing refresh_interval had the biggest
impact on indexing performance (after using the bulk
apihttp://www.elasticsearch.org/guide/reference/api/bulk/).
So I guess there's no getting away from benchmarking and monitoring to see
what fits you best.
Incidentally, do you happen to know where I can find index.translog
defaults?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.