tmp_path
Path on the local filesystem to store temporary data for processing large queries.- Only one option can be used to configure temporary data storage: tmp_path, tmp_policy, temporary_data_in_cache.
- The trailing slash is mandatory.
tmp_policy
Policy for storage with temporary data. All files withtmp prefix will be removed at start.
Recommendations for using object storage as
tmp_policy:- Use separate
bucket:pathon each server - Use
metadata_type=plain - You may also want to set TTL for this bucket
- Only one option can be used to configure temporary data storage:
tmp_path,tmp_policy,temporary_data_in_cache. move_factor,keep_free_space_bytes,max_data_part_size_bytesand are ignored.- Policy should have exactly one volume
/disk1 is full, temporary data will be stored on /disk2.