This is not strictly Node-Red related but I know that several people here are using InfluxDB on a Raspberry Pi in conjunction with Grafana to store data created/extracted by Node-Red.
I discovered accidentally that InfuxDB was using a very high amount of CPU time and after a bit of searching I found that this is due to InfluxDB’s internal monitoring function. This is used for diagnosis of internal errors and can safely be turned off by changing an entry in:
store-enabled = true
store-enabled = false
to disable it.
Simply check the InfluxDB usage with top or htop beforehand to see if you are affected by this.