apache / horaedb

Apache HoraeDB (incubating) is a high-performance, distributed, cloud native time-series database.
https://horaedb.apache.org
Apache License 2.0
2.63k stars 205 forks source link

Add downsapmling for ceresdb #688

Open chenmudu opened 1 year ago

chenmudu commented 1 year ago

Describe This Problem

At this stage, downsampling has become one of the basic capabilities in the field of time-series databases, which can solve problems such as excessive data volume returns under certain special circumstances (large time interval, high data set density).

CeresDB should support such a capability, at least in the immediate plans.

Proposal

The engine layer supports downsampling, and supports dynamic downsampling and configuration downsampling. Matching, clients in each language should also support such an API.

Notice:

Additional Context

OpenTSDB Downsampling

jiacai2050 commented 1 year ago

Thanks for suggestion.

Downsample is indeed important for time-series user-case, to support downsample an RFC maybe required to discuss

chenmudu commented 1 year ago
  • pros and cons of downsample

In most people's opinion, downsampling should have no disadvantages for time series data. Maybe I'm missing something, can anyone add here.