InfluxDB database size

Hi,
I am using influxDB to get sensor data from the LoRa sensor node. My influxDB is getting full easily. When this happens, my influxDB can’t be boot up anymore. I have to uninstall it and reinstall it again.

For your information, I am using raspberry pi.
How to increase the size of the database?

Hope to hear from you soon.

Regards,

The database will just use as much RAM and Disk as it needs…

if it runs out of any of those resources its process will stop/crash, after that it could work or not and that’s up to the available resources.

Which version are you using? InfluxDB1 or 2?
have you had a look at the logs?

Hi @Giovanni_Luisotto
Thanks for coming back to me.
Is there a way to create the database in an external drive with bigger capacity?

Hope to hear from you soon.

Regards,

you just need to change the paths in the config file
https://docs.influxdata.com/influxdb/v1.8/administration/config/#data-settings

Look under the [meta] and [data] sections of the config file, there is also a path for the access log under the [http] section.
The DB log itself is created by redirecting the executable output to a file.