Setting SQLite as persistant context storage

shubhamnodered
Tue, 18 Nov 2025 10:04:30 +0000
General

Hi friends,

Just wanted to know if it is possible to setup SQLite as context-storage instead of built-in context storage (memory or localfilesystem). ?

As its already recommended, setting localfilesystem flush interval lower than 30 seconds will lead to SD card wear and reduce in life expectancy. Hence, reducing flush-interval is not an option.

I have also read some days ago(I think!) that flow fuse team has implemented SQLite based context storage (to avoid loss of data) meaning it must be possible somehow.

My goal is to buffer incoming data and process it to SQL server later. No data should be lost in case node-red crashes.
Though i have implemented SQLite based buffering to avoid data-loss but it is done at front-end(node-red editor). I was looking for backened solution.

Regards,
Shubham

18 posts - 5 participants