Support for materialized view style aggregate tables as a way to tune query performance
Proposal: Enhancements to query optimizer to use aggregation style materialized views (mview) such that when an aggregated mview is available that could be used to answer a query then that is used instead of the detailed data.
Current behavior: If an aggregated tables (or downsampled table) exists it needs to be known by users and referenced explicitly.
Desired behavior: Aggregates could be built as an extension of the detailed table like materialized views are used in RDBMS'. Then when queries are written that require a larger time range of data the aggregate or downsampled table could be used in place of the detailed data. This would provide a nice way to tune long running queries. Also, if the user were to drill deeper into the data using a more restricted time range the optimizer would know to pull in the detailed data from the detailed table.
Use case: Customer migrating from Graphite which supports automatic rollup of data like this will have an easier time transitioning to InfluxDB. Also, this gives users and operations another tool in the toolbag for improving performance.
Requests may be closed if we're not actively planning to work on them.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.