# How to verify the index is stored in memory?

**URL:** <https://discuss.elastic.co/t/how-to-verify-the-index-is-stored-in-memory/12947>\
**Category:** Elasticsearch\
**Created:** [July 25, 2013, 11:55pm UTC](https://discuss.elastic.co/t/how-to-verify-the-index-is-stored-in-memory/12947 "2013-07-25T23:55:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Connie\_Yang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/connie_yang/32/1167_2.png) [@Connie\_Yang](https://discuss.elastic.co/u/Connie_Yang)\
**Post date:** [July 25, 2013, 11:55pm UTC](https://discuss.elastic.co/t/how-to-verify-the-index-is-stored-in-memory/12947/1 "2013-07-25T23:55:24Z")

</div>

Hi,

I would like to switch my ES cluster to store our index in memory. So, I've  
added the following to elasticsearch.yml

index.storage.type: memory  
cache.memory.small\_buffer\_size: 1mb  
cache.memory.large\_buffer\_size: 10mb  
cache.memory.small\_cache\_size: 1000mb  
cache.memory.large\_cache\_size: 2000mb

as well as in elasticsearch.conf

wrapper.java.additional.14=-Des.index.store.type=memory

How do I verify that? Is there a REST API that I use for that?

Thanks,  
Connie

--  
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:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [July 26, 2013, 2:48pm UTC](https://discuss.elastic.co/t/how-to-verify-the-index-is-stored-in-memory/12947/2 "2013-07-26T14:48:23Z")

</div>

Hi Connie,

Not sure if there is a more direct way, but you can check your monitoring  
tool of choice and look at disk IO while querying your index, or use any of  
the command-line tools like vmstat or iostat under UNIX.

## Otis

ELASTICSEARCH Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)

On Friday, July 26, 2013 1:55:24 AM UTC+2, Connie Yang wrote:

> Hi,
> 
> I would like to switch my ES cluster to store our index in memory. So, I've  
> added the following to elasticsearch.yml
> 
> index.storage.type: memory  
> cache.memory.small\_buffer\_size: 1mb  
> cache.memory.large\_buffer\_size: 10mb  
> cache.memory.small\_cache\_size: 1000mb  
> cache.memory.large\_cache\_size: 2000mb
> 
> as well as in elasticsearch.conf
> 
> wrapper.java.additional.14=-Des.index.store.type=memory
> 
> How do I verify that? Is there a REST API that I use for that?
> 
> Thanks,  
> Connie

--  
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:24am UTC](https://discuss.elastic.co/t/how-to-verify-the-index-is-stored-in-memory/12947/3 "2017-07-06T02:24:19Z")

</div>

Closed on July 6, 2017, 2:24am UTC


