hassio-addons/addon-influxdb

TSM and Memory consumption ? #85

aladin2000 posted onGitHub

Problem/Motivation

Memory consumption

(Why the issue was filed)

Expected behavior

gain on memory consumption ?

(What you expected to happen) less memory usage

Actual behavior

Slow response time and crash on raspberry PI3

(What actually happened) Memory is very Hgh ( 50%)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

TSI instead of TSM ?

(If you have a proposed change, workaround or fix, describe the rationale behind it) https://www.influxdata.com/blog/how-to-overcome-memory-usage-challenges-with-the-time-series-index/

is it that thing to integrate into ?

sudo docker run -itd --name influx-db --restart unless-stopped
-e INFLUXDB_DATA_INDEX_VERSION="tsi1"
-v $PWD:/var/lib/influxdb
-p 8086:8086 -p 8083:8083
influxdb

<blockquote><img src="https://www.influxdata.com/wp-content/uploads/og-1.png" width="48" align="right"><div><img src="https://www.influxdata.com/wp-content/uploads/Favicon-blue-200x200.png" height="14"> InfluxData</div><div><strong><a href="https://www.influxdata.com/blog/how-to-overcome-memory-usage-challenges-with-the-time-series-index/">How to Overcome Memory Usage Challenges with the Time Series Index | Blog | InfluxData</a></strong></div><div>For optimum performance and RAM usage, InfluxData introduced a special indexing mechanism for InfluxDB called time series index (TSI). TSI optimizes the RAM usage saturation for larger data sets.</div></blockquote>


:wave: Thanks for opening your first issue here! If you're reporting a :bug: bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be useful.

posted by addons-assistant[bot] almost 5 years ago

You can override any setting as you wish:

https://github.com/hassio-addons/addon-influxdb/blob/master/influxdb/DOCS.md#option-envvars

<blockquote><img src="https://avatars1.githubusercontent.com/u/30772201?s=400&v=4" width="48" align="right"><div><img src="https://github.githubassets.com/favicons/favicon.svg" height="14"> GitHub</div><div><strong><a href="https://github.com/hassio-addons/addon-influxdb">hassio-addons/addon-influxdb</a></strong></div><div>InfluxDB - Home Assistant Community Add-ons. Contribute to hassio-addons/addon-influxdb development by creating an account on GitHub.</div></blockquote>

posted by frenck almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests