On Wed, 2 Dec 2020 at 15:59, Michael Lewis <mlewis@xxxxxxxxxxx> wrote:
You can not have overlapping partitions that are both attached.
Not directly, no. That's why I'm considering the _partition_channel hack.
Why do you want to merge partitions that you are "done with" instead of just leaving them partitioned by day?
Why are you partitioning at all? Are you confident that you need partitions for performance & that the trade-offs are worth the cost, or are you needing to detach/drop old data quickly to adhere to a retention policy?
I do want cheap drops of old data, but also many queries have indexable conditions on non-key columns and also only want records from the most recent N days, so partition pruning is useful there with small partitions for recent records.