Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Influxdb storage folder [windows]

Tags:

influxdb

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 ?

like image 348
kosnkov Avatar asked Apr 26 '17 20:04

kosnkov


Video Answer


2 Answers

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 
like image 122
Mark Wragg Avatar answered Sep 30 '22 11:09

Mark Wragg


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.

like image 30
Ohad Cohen Avatar answered Sep 30 '22 11:09

Ohad Cohen