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. ├── metadata
  2. ├── raftlog
  3. ├── rewrite
  4. └── LOCK
  5. ├── data
  6. ├── greptime
  7. └── system
  8. ├── logs
  9. └── wal
  10. ├── raftlog
  11. ├── rewrite
  12. └── LOCK
  • metadata: The internal metadata directory that keeps catalog/table info, procedure states, etc. In cluster mode, this directory does not exist in Datanodes or Frontends, because all those states including region route info are saved in MetaServer.
  • 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

The data directory in the file structure can be stored in cloud storage. Please refer to Storage option for more details.