citusdata / citusdata/citus

alter_distributed_table: Use less disk space

Open
#4,771 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

Currently, alter_distributed_table will store the data 5 times:

- Original table
- Buckets coming out of worker_partition_query_result
- Buckets after they are transferred using fetch_intermediate_result
- Tuple stores into which read_intermediate_result reads
- New table

It may be helpful to do some intermediate clean-up to reduce the disk space requirement.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.