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
├── metadata
├── raftlog
├── rewrite
└── LOCK
├── data
│ ├── greptime
│ └── system
├── logs
└── wal
├── raftlog
├── rewrite
└── 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.
当前内容版权归 GreptimeDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 GreptimeDB .