Curl > json command

In theory it can, but not sure a PI can handle that much data.

Yes, I use InfluxDB for historical data. I use MariaDB for state restoration of input_* devices and to give me a little bit of history natively in the Home Assistant UI.

For my system, the data directory for MariaDB with 1 day of data is 374 MB and the data directory for InfluxDB with 5 months of data in InfluxDB is 534 MB.

If you want to try InfluxDB and Grafana, check out Repository: Bestlibre Addons repository.

That’s likely because your MariaDB database is so large that the PI is struggling to handle it. If you don’t want to reduce the amount of data, you might want to move to more powerful hardware such as an old PC.

Before I moved off of a PI, I used USB Boot on Raspberry Pi 3 - #37 by xbmcnut to run hassio on a USB attached SSD. When I was using it, it performed a lot better than running from an sdcard. In the end, I just have way too much stuff for a PI to handle. I now run hassio on a VM, and the performance improvement is significant.