Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous Aggregates: support for secondary dimension #6148

Open
muntdan opened this issue Oct 4, 2023 · 1 comment
Open

Continuous Aggregates: support for secondary dimension #6148

muntdan opened this issue Oct 4, 2023 · 1 comment
Labels
continuous_aggregate enhancement An enhancement to an existing feature for functionality

Comments

@muntdan
Copy link

muntdan commented Oct 4, 2023

What type of enhancement is this?

API improvement

What subsystems and features will be improved?

Continuous aggregate

What does the enhancement do?

Today only the one time dimension is supported by the Continuous Aggregates.
While hyper-tables have support for secondary partitioning dimension.
It would be great if Continuous Aggregates could inherit on top of such tables support for the secondary dimmenssion.

Implementation challenges

No response

@muntdan muntdan added the enhancement An enhancement to an existing feature for functionality label Oct 4, 2023
@mkindahl mkindahl changed the title Continuous Aggregates: support for secondary dimmension Continuous Aggregates: support for secondary dimension Oct 5, 2023
@roessland
Copy link

In the mean time, is there a workaround for this?

Would it make sense to make a bunch of continuous aggregates, one for each partition key value? cagg_0, ..., cagg_f (for example, partition key = first letter of some uuid).

My use-case is that I want to add compression to the materialized hypertable. To avoid slow compression jobs causing timeouts, I would like a reasonable size per chunk. But simultaneously, I do not want too short chunk durations, since the querying a single entity throughout all chunks would require a massive UNION.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous_aggregate enhancement An enhancement to an existing feature for functionality
Projects
None yet
Development

No branches or pull requests

3 participants