# Index\_buffer\_size settings for static indices

**URL:** <https://discuss.elastic.co/t/index-buffer-size-settings-for-static-indices/13282>\
**Category:** Elasticsearch\
**Created:** [August 21, 2013, 9:34am UTC](https://discuss.elastic.co/t/index-buffer-size-settings-for-static-indices/13282 "2013-08-21T09:34:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Schulz](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@J\_Schulz](https://discuss.elastic.co/u/J_Schulz)\
**Post date:** [August 21, 2013, 9:34am UTC](https://discuss.elastic.co/t/index-buffer-size-settings-for-static-indices/13282/1 "2013-08-21T09:34:12Z")

</div>

Hi,

do you have some experience in setting up min\_index\_buffer\_size  
and max\_index\_buffer\_size for static indices?

In my setup 1 index per month is created:

/data-2013-01  
/data-2013-02  
/data-2013-03  
/data-2013-04  
/data-2013-05  
/data-2013-06  
/data-2013-07  
/data-2013-08

ES is running is a cluster with 4 servers and each index has 4 shards.  
Currently there exists 30 indices, 240 shards (including replicas).

Each ES instance has 16GB memory.

If I understand the docs right  
([http://www.elasticsearch.org/guide/reference/modules/indices/](http://www.elasticsearch.org/guide/reference/modules/indices/)),  
index\_buffer\_size is set to 10% by default and this 10% is divided to all  
shards.

That means: 10% of 16GB = 1,6GB / 240 shards = ~7MB per shard

Now the older indices are static and don't need too much memory. Is it a  
good idea to increase - if possible - the index buffer size for the latest  
index and decrease the index buffer size for static indices?

Cheers  
Jonny

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:20am UTC](https://discuss.elastic.co/t/index-buffer-size-settings-for-static-indices/13282/2 "2017-07-06T02:20:23Z")

</div>


