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

what does 'duration' mean in downsample? #525

Open
localvar opened this issue Mar 7, 2024 · 2 comments
Open

what does 'duration' mean in downsample? #525

localvar opened this issue Mar 7, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@localvar
Copy link
Contributor

localvar commented Mar 7, 2024

Describe your question

From this document, I see there's a duration (after with), and the document says it must be smaller than the duration of the corresponding retention policy.

But I cannot understand its meaning, does it mean the down sampled data will only be kept to that duration?

If yes, and if raw data was deleted after down sample, because this duration is smaller than the duration of the retention policy, then history data will always be deleted earlier before it reach the duarion of the retention policy. I don't think this make sense.

If raw data was not deleted after down sample and will be kept until the duration of the retention policy, then the down sample result becomes an extra copy of the data, that's down sample can never reduce storage requirements.

BTW1: the document says there' should be a watermark in the syntax, but after I checked 'sql.y', I think it should not be there.

BTW2: the document says nothing about where the down sample result will be, while in my experiment, the raw data was deleted but no down sample data was generated.

@localvar localvar added the help wanted Extra attention is needed label Mar 7, 2024
@localvar localvar changed the title what does 'duration‘ mean in downsample? what does 'duration' mean in downsample? Mar 8, 2024
@xiangyu5632
Copy link
Member

xiangyu5632 commented Mar 10, 2024

reference to the downsample instroduction

@localvar
Copy link
Contributor Author

reference to the downsample instroduction

Thanks, but the URL is a local one, its host is 'localhost'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants