Doris-backed data storage and management (cloud storage and local storage options)
1. Cloud Storage
Overview
In Doris, Cloud Storage is a secure and reliable data storage method. It provides remote access and protection for data, reducing geographical limitations and resource requirements.
Benefits
- Remote Storage: Data can be stored on the cloud from any device, whether it is a physical machine or a virtual machine.
- High Availability: Data will not be lost; even if a host fails, it can be restored from backup.
- High Security: Data can be encrypted to protect security.
Example
--cloud-storage
aws://id:secret@bucket-name.s3.amazonaws.com/data
2. Local Storage
Overview
In Doris, Local Storage refers to storing data on the host. It provides efficient data access and fast recovery.
Benefits
- Efficient: Data can be read and written directly from the hard drive without needing a network.
- Fast Recovery: When a failure occurs, data can be restored directly from local storage.
Example
--local-storage
/data/doris/backup
3. Hybrid Storage
Overview
Hybrid storage is a solution that combines cloud and local storage. It can leverage the high availability and security of the cloud when needed, alleviating pressure on local storage.
Benefits
- High Availability: High availability provided by the cloud can be used when needed.
- High Security: Data can be encrypted to protect security when necessary.