# Increasing primary shards number

**URL:** <https://discuss.elastic.co/t/increasing-primary-shards-number/232539>\
**Category:** Elasticsearch\
**Created:** [May 14, 2020, 3:27am UTC](https://discuss.elastic.co/t/increasing-primary-shards-number/232539 "2020-05-14T03:27:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hilo21](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilo21/32/66272_2.png) [@hilo21](https://discuss.elastic.co/u/hilo21)\
**Post date:** [May 14, 2020, 3:27am UTC](https://discuss.elastic.co/t/increasing-primary-shards-number/232539/1 "2020-05-14T03:27:29Z")

</div>

Hello,

I have a three nodes cluster: one dedicated master no data, and two others are data nodes one for HOT and the second one for Warm data. In my use case having replicas isn't necessary so I have one shard per index. My question is:  
increasing primary shards on the same node increases the indexing throughput but how does it affect search speed ?

Thank you

---

<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:** [May 14, 2020, 4:18am UTC](https://discuss.elastic.co/t/increasing-primary-shards-number/232539/2 "2020-05-14T04:18:51Z")

</div>

As a rule of thumb, more shards mean faster indexing, less means faster querying.

If you have hot/warm data tiering, consider using ILM to manage it, as you can shrink warm indices down to a single shard.

---

<div class="post-metadata">

**Author:** ![hilo21](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilo21/32/66272_2.png) [@hilo21](https://discuss.elastic.co/u/hilo21)\
**Post date:** [May 14, 2020, 4:58am UTC](https://discuss.elastic.co/t/increasing-primary-shards-number/232539/3 "2020-05-14T04:58:17Z")

</div>

Thank a lot  
Have a nice day

---

<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:** [June 11, 2020, 4:58am UTC](https://discuss.elastic.co/t/increasing-primary-shards-number/232539/4 "2020-06-11T04:58:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
