[Enhancement]: Add WITH option to set chunk size in continuous aggregate #6923
Labels
continuous_aggregate
enhancement
An enhancement to an existing feature for functionality
internal-team-ask
What type of enhancement is this?
API improvement, User experience
What subsystems and features will be improved?
Continuous aggregate
What does the enhancement do?
When creating a continuous aggregate, I frequently have to change the chunk interval for a continuous aggregate because the default of 10x the underlying hypertable is too small. I'll end up with a continuous aggregate that has very small chunks because the data density increase by more than 10.
The current best way to avoid this is to create a continuous aggregate with
WITH NO DATA
so no chunks are made, and then run something like this:Instead, I'd propose something like this:
This would allow me to 1) avoid using WITH NO DATA (though I still might for other reasons) and 2) not have to include that not-very-obvious SQL statement to change the chunk size.
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: