Skip to main content

Tiered Storage Overview

VeloDB Cloud separates storage from compute. Warehouse data resides in shared object storage, while each cluster caches data locally for queries. Clusters in the same warehouse share stored data and maintain their own caches.

This architecture differs from self-managed Apache Doris tiering, where a policy moves table or partition data from local SSD to HDD or from local disks to remote storage after a cooldown period. Those policies do not configure VeloDB Cloud warehouse storage.

Choose the right approach​

Your goalCloud approach
Prepare a new or resumed cluster for queriesUse a cache warmup job for the data the cluster will read
Investigate slow reads after scaling or a workload changeCompare cache use and query behavior before changing table layout or cluster capacity
Reduce the bytes used by table dataEvaluate data compression
Remove historical data you no longer needUse an appropriate partition retention policy after reviewing its deletion behavior
Configure SSD-to-HDD or local-to-S3 cooldownThese are self-managed tiering workflows, not Cloud storage controls

Object storage and local cache​

Object storage holds the warehouse data independently of a cluster's cache. When required data is absent from the cache, a query reads it from remote storage. A cache miss can therefore affect query latency.

Cache warmup preloads selected data before the workload reads it. It does not move the warehouse's authoritative data to another storage tier, create a second table, or change retention rules. Warmup uses compute and remote reads, and the destination cache has finite capacity.

See Manage Warmup Jobs for prerequisites, supported versions, SQL examples, and job management.

Compatibility with Apache Doris tiering​

Upstream mechanismWhy it differs in Cloud
Local SSD/HDD tieringCloud manages the cluster's cache. Table storage_medium does not assign warehouse data to local disks.
Local-to-remote cooldownWarehouse data is already in shared remote storage. A table storage_policy is not a Cloud archival policy.
Dynamic partition storage mediumDynamic partitions control table partitions, but their SSD/HDD medium setting does not select a Cloud storage tier.

In the Core 26.1.3 Cloud implementation, unsupported storage-medium and storage-policy properties are removed during property analysis. A statement accepting one of these properties does not demonstrate that data tiering was enabled.

Retention is separate from caching​

Dropping an expired partition removes its data from the table. Evicting data from a local cache leaves the stored data available for remote reads. Choose a retention policy only when you intend to delete data, rather than to make it cold.

See Dynamic Partitioning for rolling partition management and its deletion conditions.

See also​