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

Local Disk Tiered Storage

Local disk tiering in self-managed Apache Doris places partitions on SSD or HDD according to a time-based window. With a positive dynamic_partition.hot_partition_num value of N and a final medium of HDD, the SSD window includes the current time interval, the previous N - 1 intervals, and all generated future partitions. Older partitions use HDD. This requires backend nodes with both storage media and a scheduler that can migrate data between those disks.

VeloDB Cloud warehouses use shared object storage and cluster-local caches. Configuring SSD/HDD cooldown properties does not select a storage tier for a VeloDB Cloud table.

Understand the property differences​

PropertyMeaning in self-managed tieringVeloDB Cloud guidance
storage_mediumSelects the initial local storage mediumDoes not place warehouse data on an SSD or HDD tier
storage_cooldown_timeSets when local data can move to a lower-cost mediumDoes not schedule VeloDB Cloud cache eviction or data migration
dynamic_partition.storage_mediumSelects a medium for generated partitionsDoes not select a storage tier for VeloDB Cloud dynamic partitions
dynamic_partition.hot_partition_numSets the upstream SSD time window, including generated future partitionsDoes not establish an SSD/HDD policy in a VeloDB Cloud warehouse

The Core 26.1.3 Cloud property analyzer removes unsupported storage-medium and cooldown settings. Successful table creation alone is not evidence that local tiering is active.

Manage hot data in VeloDB Cloud​

Choose the action that matches your goal:

  1. Prepare a cluster for a known workload. Use cache warmup to preload selected data into its local cache. Follow that guide's version requirements and monitor the job to completion.
  2. Investigate cache pressure. Review the cluster's workload and cache use, including changes after scaling. Test whether the working set fits the available cache before changing cluster capacity.
  3. Keep a rolling time window. Use dynamic partitioning when old partitions should be deleted. Partition retention is not a cache policy.

Warmup consumes resources and cannot guarantee that every future query is a cache hit. A query can still read from object storage when the needed data is absent locally.

Check an existing configuration​

If a table definition was copied from self-managed Apache Doris:

SHOW CREATE TABLE your_table;

Replace your_table with the table name. Review the result, but do not use a storage-medium label alone as proof of physical disk placement. VeloDB Cloud storage and cache behavior follow the warehouse architecture, rather than local SSD/HDD settings.

Remove local disk placement assumptions from application runbooks. Do not edit backend storage paths or restart backend services to enable this upstream feature in a managed warehouse. Contact VeloDB Cloud support if you need help diagnosing storage or cache behavior.

See also​