# Need help with performance

**URL:** <https://discuss.elastic.co/t/need-help-with-performance/225910>\
**Category:** Elasticsearch\
**Created:** [March 31, 2020, 4:18pm UTC](https://discuss.elastic.co/t/need-help-with-performance/225910 "2020-03-31T16:18:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felipe](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@Felipe](https://discuss.elastic.co/u/Felipe)\
**Post date:** [March 31, 2020, 4:18pm UTC](https://discuss.elastic.co/t/need-help-with-performance/225910/1 "2020-03-31T16:18:57Z")

</div>

Hey guys, i have been trying to make some improvements on my elasticsearch to make my graylog answer quickly with searchs and queries, but i'm having troubles with my index and shards sizes. I saw the video and the old and new documentantion and couldn't really grab the concept.  
So, i have two nodes with 32 GB RAM, 62 GB of Heap and 500 GB of Disk in both nodes. We are using 50 index with 4 shards, each index gather 30M documents with and average of 12GB. Our objective is to retain the maximum logs possible, respecting the 75% disk space usage limit.  
With all that said, should i have less index and more shards? I'm really lost and in need of help to make this performance improvement.

I appreciate for all of you reading and taking your time with this topic, have a great day everybody!  
Based on this data,

---

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [March 31, 2020, 7:56pm UTC](https://discuss.elastic.co/t/need-help-with-performance/225910/2 "2020-03-31T19:56:53Z")

</div>

I recommend you check out my video on installing the Elastic Stack. I cover hardware sizing and the reason why in the first part of the video.

[![0003_es_install](https://us1.discourse-cdn.com/elastic/original/3X/c/c/ccbcee7f758ba007958a0e75c8b673ef0fea4b16.png)](https://www.youtube.com/watch?v=gZb7HpVOges)

You also don't mention what kind of storage you are using. SSDs or HDDs? RAID? Local or network attached? I do a deep dive on the best storage for Elasticsearch in this video. (TL;DR use local SSDs... PERIOD!)

[![0001_es_storage](https://us1.discourse-cdn.com/elastic/original/3X/8/c/8cdfc8ac4a634eb7028a385f43c6211db1316edd.png)](https://www.youtube.com/watch?v=nKUpfJCBiS4)

Rob

[![GitHub](https://us1.discourse-cdn.com/elastic/original/3X/6/f/6f8ae834f16b1a02d31607317669716807844d84.png)](https://github.com/robcowart) [![YouTube](https://us1.discourse-cdn.com/elastic/original/3X/4/3/43b9b81a8c93786219985aeb5335c1c323449053.png)](https://www.youtube.com/channel/UCivWvTx1DwrWNcDLV58kmOg) [![LinkedIn](https://us1.discourse-cdn.com/elastic/original/3X/6/7/674f3370d0f0542ddc5e408516beb1b7edd6c1bf.png)](https://www.linkedin.com/in/robertcowart/)  
**[How to install Elasticsearch & Kibana on Ubuntu - incl. hardware recommendations](https://www.youtube.com/watch?v=gZb7HpVOges)**  
**[What is the best storage technology for Elasticsearch?](https://www.youtube.com/watch?v=nKUpfJCBiS4)**

---

<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:** [April 28, 2020, 7:57pm UTC](https://discuss.elastic.co/t/need-help-with-performance/225910/3 "2020-04-28T19:57:00Z")

</div>

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