# Best way to collect, store and retrieve a small (10-25) set of sensor values

**URL:** <https://discourse.nodered.org/t/best-way-to-collect-store-and-retrieve-a-small-10-25-set-of-sensor-values/9827>\
**Category:** General\
**Created:** [6 April 2019 08:15 UTC](https://discourse.nodered.org/t/best-way-to-collect-store-and-retrieve-a-small-10-25-set-of-sensor-values/9827 "2019-04-06T08:15:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [6 April 2019 14:48 UTC](https://discourse.nodered.org/t/best-way-to-collect-store-and-retrieve-a-small-10-25-set-of-sensor-values/9827/3 "2019-04-06T14:48:17Z")

</div>

and that context can be persistent over restarts if you wish.

> [@A guide to understanding 'Persistent Context'](https://discourse.nodered.org/t/a-guide-to-understanding-persistent-context/4115):
>
> This is something I wrote up after playing with the context options. I've filed a PR with some of this added to the Node-RED documentation but thought I'd release it here also. I hope people find it useful. Paul A guide to understanding 'Persistent Context' Prior to Node-RED v0.19.0, data could be stored in context as a global, flow or node. This was stored in memory and would be reset with a restart of Node-RED. As of v.0.19.0 you can now store node, flow and global context data in memory O…

---

_[View the full topic](https://discourse.nodered.org/t/best-way-to-collect-store-and-retrieve-a-small-10-25-set-of-sensor-values/9827)._
