I am trying to check size of db created in influxdb. Where can I find storage folder, or if it is distributed in many places what is the best method to measure size of my db ?
If you are running InfluxDB as a Windows Service and that service is running as the local system account, you will find the .influxdb\data directory here by default:
C:\Windows\System32\config\systemprofile\.influxdb\data
In the default configurations for Windows, the data is stored in the directory c:\Users\<username>\.influxdb\data\
.
EDIT:
I couldn't change that from the config file, but setting INFLUXDB_DATA_DIR
environment variable can do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With