Storage Location

GreptimeDB supports storing data in local file system, AWS S3 and compatible services (including minio, digitalocean space, Tencent Cloud Object Storage(COS), Baidu Object Storage(BOS) and so on), Azure Blob Storage and Aliyun OSS.

Local File Structure

The storage file structure of GreptimeDB includes of the following:

cmd

  1. ├── cluster
  2. └── dn-0
  3. ├── data
  4. ├── greptime
  5. └── system
  6. ├── logs
  7. └── wal
  8. ├── raftlog
  9. ├── rewrite
  10. └── LOCK
  • cluster: The cluster directory contains internal data, and organizes the data grouped by datanode id.
  • data: The files in data directory store time series data of GreptimeDB. To customize this path, please refer to Storage option.
  • logs: The log files contains all the logs of operations in GreptimeDB.
  • wal: The wal directory contains the write-ahead log files.

Cloud storage

cluster and data dictionaries in the file structure can be stored in cloud storage. Please refer to Storage option for more details.