Skip to main content
VeloDB Cloud 26.x is based on Apache Doris 4.x. See Version Mapping.

Local-Remote Tiered Storage

In self-managed Apache Doris, local-remote tiering moves cold table data from backend disks to an external resource, such as S3-compatible storage or HDFS. A storage policy determines when the data becomes eligible for cooldown.

VeloDB Cloud already stores warehouse data in shared object storage. Clusters cache data locally as needed. You do not need a table cooldown policy to move warehouse data from local disks into object storage.

Storage policies are not Cloud archival controls​

The upstream workflow combines an external resource, a storage policy, and a table or partition property. These objects have a different purpose from Cloud warehouse storage:

Upstream settingCloud implication
storage_policy on a table or partitionDoes not select an archival destination for warehouse data
cooldown_ttl in a storage policyDoes not define Cloud cache eviction or table retention
storage_cooldown_timeDoes not schedule Cloud data movement to remote storage
S3 or HDFS resource credentialsDo not configure the warehouse's managed shared storage through this tiering workflow

In Core 26.1.3, Cloud property analysis removes unsupported table storage-policy and cooldown settings. Accepting SQL containing such a setting does not establish that cooldown is configured.

External data access is a separate topic. Querying an external S3 or HDFS dataset does not move a Cloud table into that dataset or turn it into a warehouse storage tier.

Choose a Cloud operation​

If you need to...Use...
Preload table data before a cluster starts serving queriesCache warmup, following the guide's prerequisites
Reduce stored table sizeData compression, evaluated with representative data
Delete expired time partitionsDynamic partitioning, after checking deletion boundaries
Understand the effect of a cold cacheCompare remote-read and warm-cache query behavior for the same workload

Cache eviction leaves the warehouse's stored data intact. Partition deletion removes data from the table. Neither operation is equivalent to the upstream local-to-remote cooldown process.

Migrate a self-managed runbook​

Before reusing a runbook in Cloud:

  1. Identify statements that attach a storage_policy or configure cooldown on tables and partitions.
  2. Separate the original goal: keep data available, preload a cache, reduce stored size, or delete expired data.
  3. Choose the matching Cloud operation from the table above.
  4. Verify query behavior and resource use on a representative workload.

Do not copy backend compaction tuning, host-level cache configuration, or service restart instructions from the self-managed remote-storage procedure. VeloDB Cloud manages those services. Contact VeloDB Cloud Support for storage behavior that requires service-level diagnosis.

See also​