# In memory InfluxDB

**URL:** <https://community.influxdata.com/t/in-memory-influxdb/19796>\
**Category:** Store\
**Tags:** influxdb\
**Created:** [May 7, 2021, 5:29pm UTC](https://community.influxdata.com/t/in-memory-influxdb/19796 "2021-05-07T17:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander\_Ziubin](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/alexander_ziubin/32/7408_2.png) [@Alexander\_Ziubin](https://community.influxdata.com/u/Alexander_Ziubin)\
**Post date:** [May 7, 2021, 5:29pm UTC](https://community.influxdata.com/t/in-memory-influxdb/19796/1 "2021-05-07T17:29:49Z")

</div>

Hello. Is there a possibility to run InfluxDB as “in memory” database, so it does not store data in files, but keeps it in memory, may be something similar to Java [HSQLDB in-memory tables](https://stackoverflow.com/questions/199598/100-in-memory-hsql-database)? For my use case it is not critical that the data is safe, but I need good performance for relatively small datasets. Thanks!

---

<div class="post-metadata">

**Author:** ![Pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pooh](https://community.influxdata.com/u/Pooh)\
**Post date:** [May 7, 2021, 5:54pm UTC](https://community.influxdata.com/t/in-memory-influxdb/19796/2 "2021-05-07T17:54:14Z")

</div>

One way to do this would simply be to use a RAMdisk. Influx thinks it’s  
writing to disk; you know it’s kept in RAM.

Antony.
