InfluxDB® File / Directory Structure
By default the InfluxDB® database is located under WinCC_OA_Proj/db/wincc_oa/influx. The location is defined in the InfluxDB® configuration file WinCC_OA_Proj/config/influxdb.conf in the [meta] (for internal InfluxDB® metadata) and [data] (for actual data) section.
CAUTION: Do not modify these settings.
You can specify the location of the backup data (backed up segments) in the NGA settings. The default is WinCC_OA_Proj/db/wincc_oa/influx/backup. You can select another backup directory. When you create a new NGA project, an empty InfluxDB® is created in the WinCC_OA_Proj/db/wincc_oa/influx/backup directory. The structure of the InfluxDB® is described in the following:
Directory Name | Description |
---|---|
backup | Contains backup data. |
data | Internal directory. |
meta | Metadata, internal directory. |
wal | Write buffers, internal directory. |
winccoa | Contains application data. |
_series | Internal directory. |
EVENT | Segments for the archive group EVENT |
ALERT | Segments for archive group ALERT |
_internal | Internal DB, see below |
Note: Note that the database creates data files on demand. Therefore, there are no preallocated files except for the "_internal" database. After the first start of the database, the InfluxDB®
directory already contains some files (around 32 MB) even if no data was archived so far.
Note: Note that you can deactivate the internal InfluxDB® database: see
influxdata.com page Persisted buffers created by the frontend (which are not part of the InfluxDB®, but managed by the NGA) are located in WinCC_OA_Proj/db/wincc_oa/nga.