This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logging data
#4
(2018-08-26, 08:56 AM)barney2074 Wrote: thanks for posting

I had held off trying the Influxdb option- I thought the Raspberry has enough to do without being a database server as well....

But by the sound of it, it does not use too much processor/memory ?
Are you using the SD card or an external USB drive for the database & how much space does it take up ?
I'm guessing it would be possible to write a query to delete old data- say over 30 days old- if disk space is an issue ?


Andrew

Revisiting this again - influxdb was having a 'blip' of high CPU usage every few seconds, from just watching htop. Google came up with this after some searching which seems to solve that, it's floating around 2% CPU now in htop so much better >
https://github.com/influxdata/influxdb/issues/9475
Just change  a line in the config >

Code:
[monitor]

store-enabled = false

Also installed telegraf for monitoring the Pi but not really dug deep in there yet though looks very useful as an easy way to view what the pi is up to.
Reply


Messages In This Thread
Logging data - by PaddyB - 2018-08-22, 10:11 AM
RE: Logging data - by barney2074 - 2018-08-26, 08:56 AM
RE: Logging data - by PaddyB - 2018-08-26, 03:41 PM
RE: Logging data - by PaddyB - 2018-09-29, 10:43 AM
RE: Logging data - by barney2074 - 2018-10-01, 08:47 AM
RE: Logging data - by baltisailer - 2021-09-23, 04:13 PM
RE: Logging data - by barney2074 - 2021-09-24, 06:00 AM
RE: Logging data - by SkipperEarly - 2021-09-24, 07:35 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)