citusdata / citusdata/citus

TRUNCATE on partitioned tables very slow

Open
#2,630 1 comment 1 reaction 0 assignees View on GitHub
performance
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

Because we handle TRUNCATE from a trigger, we end up truncating all partitions in a partitioned distributed table separately, which can take a long time when there are hundreds of partitions.

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.