Documentation

InfluxDB file system layout

The InfluxDB Enterprise file system layout depends on the installation method or containerization platform used to install InfluxDB Enterprise.

InfluxDB Enterprise file structure

The InfluxDB file structure includes the following:

Data directory

(Data nodes only) Directory path where InfluxDB Enterprise stores time series data (TSM files). To customize this path, use the [data].dir configuration option.

WAL directory

(Data nodes only) Directory path where InfluxDB Enterprise stores Write Ahead Log (WAL) files. To customize this path, use the [data].wal-dir configuration option.

Hinted handoff directory

(Data nodes only) Directory path where hinted handoff (HH) queues are stored. To customize this path, use the [hinted-handoff].dir configuration option.

Metastore directory

Directory path of the InfluxDB Enterprise metastore, which stores information about the cluster, users, databases, retention policies, shards, and continuous queries.

On data nodes, the metastore contains information about InfluxDB Enterprise meta nodes. To customize this path, use the [meta].dir configuration option in your data node configuration file.

On meta nodes, the metastore contains information about the InfluxDB Enterprise RAFT cluster. To customize this path, use the [meta].dir configuration option in your meta node configuration file.

InfluxDB Enterprise configuration files

InfluxDB Enterprise stores default data and meta node configuration file on disk. For more information about using InfluxDB Enterprise configuration files, see:

File system layout

InfluxDB Enterprise supports .deb- and .rpm-based Linux package managers. The file system layout is the same with each.

Data node file system layout

PathDefault
Data directory/var/lib/influxdb/data/
WAL directory/var/lib/influxdb/wal/
Metastore directory/var/lib/influxdb/meta/
Hinted handoff directory/var/lib/influxdb/hh/
Default config file path/etc/influxdb/influxdb.conf
Data node file system overview
  • /etc/influxdb/
    • influxdb.conf (Data node configuration file)
  • /var/lib/influxdb/
    • data/
      • TSM directories and files
    • hh/
      • HH queue files
    • meta/
      • client.json
    • wal/
      • WAL directories and files

Meta node file system layout

PathDefault
Metastore directory/var/lib/influxdb/meta/
Default config file path/etc/influxdb/influxdb-meta.conf
Meta node file system overview
  • /etc/influxdb/
    • influxdb-meta.conf (Meta node configuration file)
  • /var/lib/influxdb/
    • meta/
      • peers.json
      • raft.db
      • snapshots/
        • Snapshot directories and files

Directory permissions

The user running the influxd process should have the following permissions for directories in the InfluxDB file system:

Directory pathPermission
.../influxdb/755
.../influxdb/data/755
.../influxdb/hh/700
.../influxdb/meta/755
.../influxdb/wal/700

Was this page helpful?

Thank you for your feedback!


Set your InfluxDB URL

Linux Package Signing Key Rotation

All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.

For more information, see the Linux Package Signing Key Rotation blog post.

InfluxDB Cloud backed by InfluxDB IOx

All InfluxDB Cloud organizations created on or after January 31, 2023 are backed by the new InfluxDB IOx storage engine. Check the right column of your InfluxDB Cloud organization homepage to see which InfluxDB storage engine you’re using.

If powered by IOx, this is the correct documentation.

If powered by TSM, see the TSM-based InfluxDB Cloud documentation.

InfluxDB Cloud backed by InfluxDB TSM

All InfluxDB Cloud organizations created on or after January 31, 2023 are backed by the new InfluxDB IOx storage engine which enables nearly unlimited series cardinality and SQL query support. Check the right column of your InfluxDB Cloud organization homepage to see which InfluxDB storage engine you’re using.

If powered by TSM, this is the correct documentation.

If powered by IOx, see the IOx-based InfluxDB Cloud documentation.

State of the InfluxDB Cloud (IOx) documentation

The new documentation for InfluxDB Cloud backed by InfluxDB IOx is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.