# Is there some tests/articles to describe the relation between index performance/shard number and search performance/shard number under certain resource?

**URL:** <https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254>\
**Category:** Elasticsearch\
**Created:** [September 12, 2016, 6:13am UTC](https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254 "2016-09-12T06:13:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)\
**Post date:** [September 12, 2016, 6:13am UTC](https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254/1 "2016-09-12T06:13:01Z")

</div>

given certaion resource, what the index/search performnce when shard number are changed?

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [September 12, 2016, 8:05am UTC](https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254/2 "2016-09-12T08:05:52Z")

</div>

I am not aware of any article. If there were any, they would be about some specific usecase though. Reality is that there is no single/definitive answer to this question. It depends on a lot of factors: how many documents you have, their size, what features you use (query, aggs, suggestions, highlighting...).

I think the correct answer is test, test, test...with your own real data and queries. That will give you much better answers than any article you can find 🙂

---

<div class="post-metadata">

**Author:** ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)\
**Post date:** [September 12, 2016, 9:25am UTC](https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254/3 "2016-09-12T09:25:36Z")

</div>

I don't agree with u complete.  
Although index perfromance is heavily related to document, still u guys give us a benchmark.  
the same thing, all I need is a Qualitative conclusions， not Quantitative conclusions

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [September 12, 2016, 9:29am UTC](https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254/4 "2016-09-12T09:29:26Z")

</div>

What benchmark are you referring to?

Well in general "more shards may mean more index performance/ search performance", but you got to have enough nodes to allocates the shards into. And you need to find a good compromise cause if you go with too many the cost of sharding is more than the gain. These generic answers can be interpreted in some many ways. Really, if you want a good answer that works for you, test it with your data 🙂

---

<div class="post-metadata">

**Author:** ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)\
**Post date:** [September 12, 2016, 10:47am UTC](https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254/5 "2016-09-12T10:47:22Z")

</div>

the benchmark:  
[https://benchmarks.elastic.co/index.html](https://benchmarks.elastic.co/index.html)

---

<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 5, 2017, 10:21pm UTC](https://discuss.elastic.co/t/is-there-some-tests-articles-to-describe-the-relation-between-index-performance-shard-number-and-search-performance-shard-number-under-certain-resource/60254/6 "2017-07-05T22:21:09Z")

</div>


