# Shards per Host / Cores

**URL:** <https://discuss.elastic.co/t/shards-per-host-cores/161839>\
**Category:** Elasticsearch\
**Created:** [December 21, 2018, 11:50am UTC](https://discuss.elastic.co/t/shards-per-host-cores/161839 "2018-12-21T11:50:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fa\_Da](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@Fa\_Da](https://discuss.elastic.co/u/Fa_Da)\
**Post date:** [December 21, 2018, 11:50am UTC](https://discuss.elastic.co/t/shards-per-host-cores/161839/1 "2018-12-21T11:50:17Z")

</div>

Hi,

We have a 184 nodes Elastic 6.4 cluster, with each node having 16 cores and 64 GB of memory. We have around 270 shards (in total), totaling 17 Billion documents indexed (including Replicas). We have 3 replicas per shard.

The issue is when we run ETL processes on other databases to update the elastic cluster we use to struggle a lot on search latencies and response time to our site users. When that happen only 5-10% of the nodes suffer CPU constraints (cpu usage + iowait) and the rest of the keep calm.

MY question is, with so much cores per machine, should we increase the number of shards per machine? We only have 3 indexes in the cluster, with the greatest one representing more than 85% of the total documents.

The issue is that when we have problems on a small number of nodes, and for instance some weeks ago we had one node down that almost took it down our site.

What are the suggestions that you have for us?

Regards  
Fabrice

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 21, 2018, 12:25pm UTC](https://discuss.elastic.co/t/shards-per-host-cores/161839/2 "2018-12-21T12:25:52Z")

</div>

Why do you have so many nodes for "only" 17m documents?  
What is the average byte size of a shard?

---

<div class="post-metadata">

**Author:** ![Fa\_Da](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@Fa\_Da](https://discuss.elastic.co/u/Fa_Da)\
**Post date:** [December 22, 2018, 9:30am UTC](https://discuss.elastic.co/t/shards-per-host-cores/161839/3 "2018-12-22T09:30:58Z")

</div>

Sorry. It was a typo. I mean 17 Billion.

Regards  
Fabrice

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 3, 2019, 12:45pm UTC](https://discuss.elastic.co/t/shards-per-host-cores/161839/4 "2019-01-03T12:45:45Z")

</div>

What is the average byte size of a shard?

And the max size?

---

<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:** [January 31, 2019, 12:45pm UTC](https://discuss.elastic.co/t/shards-per-host-cores/161839/5 "2019-01-31T12:45:50Z")

</div>

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