Hello everyone,
Will it matter configuring some 'x' number of shards per index, if I am
using single instance/node of elastic search.
I have a single box that has elastic search instance on it (no cluster).
Will it have any implications, when using default 5 (or maybe just 1)
shards per index?
Creating an index with more number of shards without a cluster or more node
will help in anyway in terms of performance or scalability?
Not unless you are creating a lot of indies on that node, remember that a
shard is a lucene instance and take up a certain amount of resources.
Generally it's a good idea to create multiple shards if you expect to add
more nodes, that way it's easier to spread the data across the new nodes
without having to reindex. But for dev purposes on a single node, having a
single shard index is fine.
Hello everyone,
Will it matter configuring some 'x' number of shards per index, if I am
using single instance/node of Elasticsearch.
I have a single box that has Elasticsearch instance on it (no cluster).
Will it have any implications, when using default 5 (or maybe just 1)
shards per index?
Creating an index with more number of shards without a cluster or more
node will help in anyway in terms of performance or scalability?
Appreciate your input Mark.
So my understanding was correct, that on a single node (without cluster)
having single shard per index will work almost the same as having default 5
shards per index.
Not unless you are creating a lot of indies on that node, remember that
a shard is a lucene instance and take up a certain amount of resources.
Generally it's a good idea to create multiple shards if you expect to add
more nodes, that way it's easier to spread the data across the new nodes
without having to reindex. But for dev purposes on a single node, having a
single shard index is fine.
Hello everyone,
Will it matter configuring some 'x' number of shards per index, if I am
using single instance/node of Elasticsearch.
I have a single box that has Elasticsearch instance on it (no cluster).
Will it have any implications, when using default 5 (or maybe just 1)
shards per index?
Creating an index with more number of shards without a cluster or more
node will help in anyway in terms of performance or scalability?
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.