# Shard per index on non-clustered elasticsearch instance

**URL:** <https://discuss.elastic.co/t/shard-per-index-on-non-clustered-elasticsearch-instance/22340>\
**Category:** Elasticsearch\
**Created:** [February 23, 2015, 9:05pm UTC](https://discuss.elastic.co/t/shard-per-index-on-non-clustered-elasticsearch-instance/22340 "2015-02-23T21:05:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sagar\_Shah](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@Sagar\_Shah](https://discuss.elastic.co/u/Sagar_Shah)\
**Post date:** [February 23, 2015, 9:05pm UTC](https://discuss.elastic.co/t/shard-per-index-on-non-clustered-elasticsearch-instance/22340/1 "2015-02-23T21:05:16Z")

</div>

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?

Please advise.  
Appreciate your inputs!

Regards,  
Sagar Shah

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 23, 2015, 9:49pm UTC](https://discuss.elastic.co/t/shard-per-index-on-non-clustered-elasticsearch-instance/22340/2 "2015-02-23T21:49:06Z")

</div>

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.

On 24 February 2015 at 08:05, Sagar Shah [sagarshah1983@gmail.com](mailto:sagarshah1983@gmail.com) wrote:

> 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?
> 
> Please advise.  
> Appreciate your inputs!
> 
> Regards,  
> Sagar Shah
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8koyzAeckxb9NDWSjzf7g73qmQKtWsgaAoEJQiYwJbVA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8koyzAeckxb9NDWSjzf7g73qmQKtWsgaAoEJQiYwJbVA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Sagar\_Shah](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@Sagar\_Shah](https://discuss.elastic.co/u/Sagar_Shah)\
**Post date:** [February 23, 2015, 11:35pm UTC](https://discuss.elastic.co/t/shard-per-index-on-non-clustered-elasticsearch-instance/22340/3 "2015-02-23T23:35:35Z")

</div>

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.

On Mon, Feb 23, 2015 at 3:49 PM, Mark Walkom [markwalkom@gmail.com](mailto:markwalkom@gmail.com) wrote:

> 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.
> 
> On 24 February 2015 at 08:05, Sagar Shah [sagarshah1983@gmail.com](mailto:sagarshah1983@gmail.com) wrote:
> 
> > 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?
> > 
> > Please advise.  
> > Appreciate your inputs!
> > 
> > Regards,  
> > Sagar Shah
> > 
> > --  
> > 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b20c463f-eb85-4d02-827b-117c1bbe33f8%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/n8\_c8RHuLxQ/unsubscribe](https://groups.google.com/d/topic/elasticsearch/n8_c8RHuLxQ/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8koyzAeckxb9NDWSjzf7g73qmQKtWsgaAoEJQiYwJbVA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8koyzAeckxb9NDWSjzf7g73qmQKtWsgaAoEJQiYwJbVA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8koyzAeckxb9NDWSjzf7g73qmQKtWsgaAoEJQiYwJbVA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8koyzAeckxb9NDWSjzf7g73qmQKtWsgaAoEJQiYwJbVA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--

Regards,  
Sagar Shah

Too many people think more of security instead of opportunity. They seem  
more afraid of life than death!!!

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CANZnv5iSoZbf5a-Ag%2BP-e4%3DXnJZg2CJ5BQEXsKcFbLhCcqRNgg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANZnv5iSoZbf5a-Ag%2BP-e4%3DXnJZg2CJ5BQEXsKcFbLhCcqRNgg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:30am UTC](https://discuss.elastic.co/t/shard-per-index-on-non-clustered-elasticsearch-instance/22340/4 "2017-07-06T00:30:37Z")

</div>


