Skip to content

Downsampling of metric data after a certain period #1834

Discussion options

You must be logged in to vote

Thank you for your question. There are several problems with downsampling that need to be considered:

  • when using object store like GCP or S3, storage costs are typically only small fraction of cost of running Mimir, so saving here may not be high.

  • downsampling is very IO intensive. Because it's not possible to modify TSDB blocks in place, downsampling requires that blocks are downloaded, rebuilt from scratch with downsampled series (possibly only some of them, based on configuration) and then uploaded back. Old blocks must be deleted. All this processing adds to the cost.

  • downsampling complicates querying. PromQL query engine uses single look-back period when looking for samples. Ty…

Replies: 9 comments 22 replies

Comment options

You must be logged in to vote
1 reply
@ManuelBauer
Comment options

Comment options

You must be logged in to vote
2 replies
@pracucci
Comment options

@anthonyeleven
Comment options

Answer selected by 56quarters
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@09jvilla
Comment options

@sepich
Comment options

@wilfriedroset
Comment options

@09jvilla
Comment options

@wilfriedroset
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@adirmatzkin
Comment options

@wilfriedroset
Comment options

@jrhrmsll
Comment options

@Leegin-darknight
Comment options

@adirmatzkin
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment