2021-01-06, 01:03 PM
(2021-01-06, 12:32 PM)Boatingbaileys Wrote: Thanks for the response - Any views on moving the DB to an external memory stick? - Thinking that this could extend the life of the SD card?
Probably a good idea, also I was recommended this > "Side note on influxdb: if using an SD card I recommend increasing the value for ” wal-fsync-delay” in the influxdb.conf file. I have mine set to 60s to reduce wear on the card "
to reduce the number of writes to the card, seems to make no difference to looking at the data in chronograf though I set mine to 6s.
config file is here on my install => /etc/influxdb/influxdb.conf
pi@raspberrypi:/etc/influxdb $ cat influxdb.conf | grep wal
wal-dir = "/var/lib/influxdb/wal"
wal-fsync-delay = "6s"