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

[Feedback] Page: /use-timescale/latest/continuous-aggregates/hierarchical-continuous-aggregates/ #3528

Open
aiman-saeed opened this issue Oct 24, 2024 · 4 comments
Labels
community Raised by a community member documentation Improvements or additions to documentation feedback Submissions from the docs site feedback form

Comments

@aiman-saeed
Copy link

Is it easy to find the information you need?

None

Are the instructions clear?

None

How could we improve the Timescale documentation site?

There should be mention on this page about refresh policies of hierarchical-continuous-aggregates, how would a cagg bring its data, would it bring it recursively? Because that's how real-time aggregation would bring the data, and if there is no data it would bring from hypertable? There should be a clear mention that it does it this way. Rest is great, thank-you for awesomeness!!!

@aiman-saeed aiman-saeed added community Raised by a community member documentation Improvements or additions to documentation feedback Submissions from the docs site feedback form labels Oct 24, 2024
Copy link

Thank you for the report. We welcome documentation contributions!

  • For information about how to propose a change, see the contributing guide in our GitHub repository.
  • For information on style and word usage, see the style guide

@jonatas
Copy link
Contributor

jonatas commented Oct 25, 2024

Thanks for the feedback, @aiman-saeed!

I see your point. We should make it clear that real time aggregates even hierarchical will make the recursive calls until it reaches the raw data. That's a great point!

@aiman-saeed
Copy link
Author

  1. Just to confirm, the refresh on a weekly data would recursively go down to the hourly data and lastly to the hypertable?

  2. When it does this to refresh weekly bucket - would it also refresh the hourly and daily buckets ?

@jonatas
Copy link
Contributor

jonatas commented Oct 25, 2024

With real time aggregation, you can check that the query will be something like:

select * from materialized_view_name
union all <caggs-query> where time > $cagg_watermark

Where the $cagg_watermark means the latest processing of the refresh. It understands where it stopped and get data newer than that.

You can check it yourself using \d+ <cagg-name> on psql.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Raised by a community member documentation Improvements or additions to documentation feedback Submissions from the docs site feedback form
Projects
None yet
Development

No branches or pull requests

2 participants