Some issues regarding queries when both raw data and downsampled data exist simultaneously #7587
Unanswered
yuyue67
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I constructed raw data for the time range 9:00-11:00 and downsampled data for the time range 9:00-10:00, placing them locally for Thanos to read. When I use query_range to query with a begin time of 9:00 and an end time of 11:00, during debugging, I found that there are three chunks of data in the AggrChunk, as follows(goland debug):
chunks{[]storepb.AggrChunk}:
[0]
MinTime : 1587695005791 (9:0:5)
MaxTime : 1587693545791 (9:59:5)
Raw : .....
[1]
MinTime : 1587690299999( 9:4:59 )
MaxTime : 1587693590791 (9:59:50)
Count : .....
Sum : .....
[2]
MinTime : 1587693605791(10:0:5)
MaxTime : 1587697145791 (10:59:5)
Raw : .....
This may pose some issues, as the purpose of downsampling is to reduce the number of data points in memory. In the current use case, both the raw data and the downsampled data are being loaded, which may raise concerns about potential problems.
Beta Was this translation helpful? Give feedback.
All reactions