-
Notifications
You must be signed in to change notification settings - Fork 454
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
Queries over long time ranges balloon index usage #1192
Comments
I'll be listening in on this, as @yhekma and myself are on the same team. Thanks for looking into this folks! |
We just tested an index performance improvement that resolves this issue and saw order of magnitude improvements, so we will have a fix for this soon. We need to contribute code to one of our dependencies (you can follow along in this issue if you like) so it may take a week or two, but this will be resolved soon. |
Awesome! Thanks bunches! |
@richardartoul great! I'll test it out tomorrow and will let you know. Thanks again |
@richardartoul wow, that make a BIG difference! I think this means this issue can be closed |
@yhekma Great! @robskillington Has some more very large index performance improvements coming soon so stay tuned. |
Reported by Yoram Hekma @yhekma
Queries over a long range that return a significant number of IDs (just a single time series seems to be fine) greatly balloon the memory usage of an M3DB usage.
Query (over 14 day range):
Estimate of number of time series being returned:
Setup:
Memory usage ballooning:
Heap profile flamegraph shows 16gb consumed in
alloc_space
for QueryIDs:Heap profile:
https://www.dropbox.com/s/viiy934bp67zix8/heap.prof?dl=0
The text was updated successfully, but these errors were encountered: