Skip to content
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

Add configuration options to configure the "postings for matchers" cache of each compacted block queried from ingesters #4561

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

pracucci
Copy link
Collaborator

What this PR does

While investigating the performance issues in the Mimir ingesters, due to some customer queries like label=~".*" where the postings cache could significantly help but it doesn't help as much as I expected, I just realised that the settings I tuned for the postings cache in Mimir only apply to the TSDB head, but not the TSDB compacted blocks the customer queries also touch. So I've opened (and merged) a PR in mimir-prometheus to let the "postings for matchers" cache to be configurable for blocks too.

In this PR I'm updating mimir-prometheus and exposing the config (experimental).

Which issue(s) this PR fixes or relates to

N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

…che of each compacted block queried from ingesters

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci requested a review from colega March 22, 2023 09:23
@pracucci pracucci requested review from a team as code owners March 22, 2023 09:23
@pracucci
Copy link
Collaborator Author

I've manually tested it (locally), and looks working as expected.

@pracucci pracucci merged commit cfd882b into main Mar 22, 2023
@pracucci pracucci deleted the expose-block-postings-cache-config branch March 22, 2023 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants