# Is it good idea to store small values in ElasticSearch?

**URL:** <https://discuss.elastic.co/t/is-it-good-idea-to-store-small-values-in-elasticsearch/95963>\
**Category:** Elasticsearch\
**Created:** [August 5, 2017, 5:20am UTC](https://discuss.elastic.co/t/is-it-good-idea-to-store-small-values-in-elasticsearch/95963 "2017-08-05T05:20:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nithin\_Devang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nithin_devang/32/25023_2.png) [@Nithin\_Devang](https://discuss.elastic.co/u/Nithin_Devang)\
**Post date:** [August 5, 2017, 5:20am UTC](https://discuss.elastic.co/t/is-it-good-idea-to-store-small-values-in-elasticsearch/95963/1 "2017-08-05T05:20:31Z")

</div>

Hi,

I use Elasticsearch to store large continuous sensor data and analyse it later. Some part of my code also includes configurable threshold alert(s). When there is threshold break it triggers alerts. This threshold value is just a single instance and not a bulky continuous data, So I store this in MySQL currently as 'Key-Value' pair.

Is it a good idea to move such small data to Elasticsearch and eliminate MySQL completely? Or should I keep it in MySQL itself?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 5, 2017, 5:31am UTC](https://discuss.elastic.co/t/is-it-good-idea-to-store-small-values-in-elasticsearch/95963/2 "2017-08-05T05:31:09Z")

</div>

It will be fine 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:** [September 2, 2017, 5:31am UTC](https://discuss.elastic.co/t/is-it-good-idea-to-store-small-values-in-elasticsearch/95963/3 "2017-09-02T05:31:11Z")

</div>

Closed on September 2, 2017, 5:31am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
