Hello,
On Wed, Jul 3, 2013 at 4:51 PM, eranid eranid@gmail.com wrote:
My cluster shows a lot of io-waits (about 50%).
I do a lot of indexing and reindexing.
I'm not terribly bothered with consistency, but more with "eventual"
consistency. I can go as long as 5 minutes before data needs to be
consistent.
I thought maybe the re-indexing of lucene is the cause of much IO. Thought
of maybe upping the refresh_interval or maybe the index.translog options -
is that the right way to go?
Should be. Another way to go is might be to increase
indices.memory.index_buffer_size:
http://www.elasticsearch.org/guide/reference/modules/indices/
Another way to go is to tweak merge policies (usually there's a trade-off
between search performance and CPU+I/O load here):
http://www.elasticsearch.org/guide/reference/index-modules/merge/
To get a more clear idea of where your ES cluster is busy, I'd say you
should monitor it with something like SPM:
http://sematext.com/spm/elasticsearch-performance-monitoring/
My main problem is I do not know how to find out what my setting are. In
http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings/
it lists alot of options, none of which are available when I use:
curl -xget 'http://localhost:9200/my_index/_settings'
I only get the number of shards, replicas. The elasticsearch.yml file does
not tell what the defaults are. How would I know my changes took places,
and
what are the values now?
You should see there the settings you changed by using the Update Settings
API. If settings are not there, they should either be in the configuration
file or ES is using the defaults.
To find the defaults, you need to look in the documentation for each
option. For example, indices.memory.index_buffer_size defaults to 10% (from
the heap of the node). refresh_interval defaults to 1s, and index.translog
options are shown here:
http://www.elasticsearch.org/guide/reference/index-modules/translog/
Best regards,
Radu
http://sematext.com/ -- ElasticSearch -- Solr -- Lucene
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.