Minor performance improvement for archive invalidator by tsteur · Pull Request #18990 · matomo-org/matomo · GitHub
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

Minor performance improvement for archive invalidator #18990

Merged
merged 4 commits into from
Mar 24, 2022
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Mar 23, 2022

Description:

We did queries like where option_name like '%report_to_invalidate_%'. However, _ would match any character and makes the matching more resource intense. It technically also improves security slightly although there wasn't any issue.

refs https://forum.matomo.org/t/matomo-on-premise-scaling/45262

Review

@tsteur tsteur added c: Performance For when we could improve the performance / speed of Matomo. Needs Review PRs that need a code review labels Mar 23, 2022
@tsteur tsteur added this to the 4.9.0 milestone Mar 23, 2022
@tsteur tsteur removed the Needs Review PRs that need a code review label Mar 23, 2022
@MatomoForumNotifications

This pull request has been mentioned on Matomo forums. There might be relevant details there:

https://forum.matomo.org/t/matomo-on-premise-scaling/45262/8

@tsteur tsteur added the Needs Review PRs that need a code review label Mar 23, 2022
@tsteur tsteur modified the milestones: 4.9.0, 4.10.0 Mar 23, 2022
@sgiehl sgiehl removed the Needs Review PRs that need a code review label Mar 24, 2022
@tsteur tsteur merged commit 5a3ae2d into 4.x-dev Mar 24, 2022
@tsteur tsteur deleted the perfmanysites branch March 24, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants