-
Notifications
You must be signed in to change notification settings - Fork 69
Description
First of all, thanks for great work so far.
I wonder is there a way to create range partitions in advance (yes, I could do that manually). I have noticed that if there is a need to create a new partition then that particular insert, that triggers creation of new partition, is a bit slower.
I would prefer to have next partition ready and have constant insert durations.
Initially it would be nice to have a function that can be called to create next partition.
Ultimately I would like to set a number of partitions to have ready. And when inserts start going to last partition then bgw ensures that there is next(empty) partition ready and main transaction is unaffected by delay of creating new partition. I guess this example is more valid for tables that are partitioned by date ranges.