-
Notifications
You must be signed in to change notification settings - Fork 52
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
tagged-use-daily option to enable/disable filtering tagged-table by date. #187
Conversation
Very cool, I guess =) It will reduce tagged table uncontrolled growing. Can you update documentation as well to reflect a new feature there? |
@Felixoid documentation updated. |
Doesn't this also need an update/change on carbon-clickhouse? |
@Hipska It's optional. Instead of making changes to carbon-clickhouse, tagged table definition could be tweaked to work it out. |
I don't see how the suggested table definition change would result in less data storage. Could you elaborate that? It seems to me the same data is still stored? |
It comes down to the difference between ORDER BY (Tag1, Path, Date) suggested in the carbon-clickhouse docs, where table rows -> #of days * #of metrics and ORDER BY (Tag1, Path) without partitioning, where table rows -> #of_metrics |
Oh yes, I missed it was |
The same behaviour as with index table and index-use-daily=false. |
Yeah, maybe that one isn't that clear as well 😛 TLDR; does it make sense to have this new table suggestion while having |
I'd say it doesn't. |
@lexx-bright One problem with this, as I see. If some write to the past, tags autocomplete will be broken until write to today/next day with greater version. So, may be this option for carbon-clickhouse is needed also ? |
@msaf1980, agree. But could be worked around by using
|
@lexx-bright Yes, this a solution. I update documentation with |
Also may be version based on custom truncate date in the future on carbon-clickhouse ? |
About the same idea as with index-use-daily. Table definition could be changed to something like: