# How big is your cluster state? How much is too much?

**URL:** https://discuss.elastic.co/t/how-big-is-your-cluster-state-how-much-is-too-much/59407
**Category:** Elasticsearch
**Created:** [August 31, 2016, 9:44am UTC](https://discuss.elastic.co/t/how-big-is-your-cluster-state-how-much-is-too-much/59407 "2016-08-31T09:44:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hgfxng](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@hgfxng](https://discuss.elastic.co/u/hgfxng)
#### Post date: [August 31, 2016, 9:44am UTC](https://discuss.elastic.co/t/how-big-is-your-cluster-state-how-much-is-too-much/59407/1 "2016-08-31T09:44:31Z")

</div>

Everyone knows that a big cluster state might be a problem, bug how big it can safely go? How much is "too big" and how much is "ok"?

I guess this depends a lot in the network bandwidth between the nodes, but I would like to find some sort of formula that can answer the first question here.

So, I would like contributions to collect some performance numbers using the following command-line. Maybe we can find some sort of general threshold:

My reference cluster has 10 nodes with 7GB heap, and SSDs, all nodes are connected with gigabit interface. The current performance is good.

```
ES=es-node:9200 time curl -s http://$ES/_cluster/state?pretty | wc -lc
  62955 2540673

real 0m0.087s
user 0m0.000s
sys 0m0.008s

ES=es-node:9200 curl -s http://$ES/_cat/shards | wc -l
364
```

---

<div class="post-metadata">

### Author: ![1222kkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/1222kkk/32/23635_2.png) [@1222kkk](https://discuss.elastic.co/u/1222kkk)
#### Post date: [August 31, 2016, 9:49am UTC](https://discuss.elastic.co/t/how-big-is-your-cluster-state-how-much-is-too-much/59407/2 "2016-08-31T09:49:47Z")

</div>

I have read some information about this topic at somewhere in the official guidance.

---

<div class="post-metadata">

### Author: ![hgfxng](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@hgfxng](https://discuss.elastic.co/u/hgfxng)
#### Post date: [August 31, 2016, 10:19am UTC](https://discuss.elastic.co/t/how-big-is-your-cluster-state-how-much-is-too-much/59407/3 "2016-08-31T10:19:27Z")

</div>

Where? (off course I already searched for it)

---

<div class="post-metadata">

### Author: ![1222kkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/1222kkk/32/23635_2.png) [@1222kkk](https://discuss.elastic.co/u/1222kkk)
#### Post date: [September 1, 2016, 1:50am UTC](https://discuss.elastic.co/t/how-big-is-your-cluster-state-how-much-is-too-much/59407/4 "2016-09-01T01:50:09Z")

</div>

Oh, I may make a mistake. I can't find them in the official guidance.  
I have recently read this in this blog

> **[And the big one said "Rollover" — Managing Elasticsearch time-based indices...](https://www.elastic.co/blog/managing-time-based-indices-efficiently)**
>
> Introducing the new Rollover Pattern, and the APIs which support it, which is a simpler, more efficient way of managing time-based indices in Elasticsearch.

---

<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:23pm UTC](https://discuss.elastic.co/t/how-big-is-your-cluster-state-how-much-is-too-much/59407/5 "2017-07-05T22:23:26Z")

</div>


