-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
Search: navigation bar search very slow for non-admins #69659
Comments
@csquire do you have any feature toggles enabled? for example panelTitleSearch? |
No feature toggles are enabled in our config, we are just using defaults. |
We also encountered the same problem, after upgrading our grafana instance from 9.1.7 to 9.5.2, searches are typically taking 30 seconds or longer for non-admins. Our system has about:
Slow query sql: |
any progress?we also meet same problem. |
We have the same problem too. Any progress? |
What database are you using for grafana? Based on benchmarks the query is performing bad on mysql 5.7 but has no problem on on either postgres 12+ , mysql 8 or sqlite. Benchmarks is running with around 80k dashboards and 500k permissions. We are not sure we will do any fixes to mysql 5.7 due to it being EOL soon. If you are using any other database could you please provide that you are using? |
mariadb10.1 |
We are facing the same issue with MySQL v8 |
We are on MySQL 5.7. A quick test in our staging environment did show improvement when upgrading to MySQL 8, so we'll schedule an upgrade to the production database and see if it helps. |
Apologies, we are also on MySQL v5.7 |
I have the same issue on 10.1.5 grafana. Backend is MySQLv8 (8.0.31-23 Percona Server) |
Also seeing this. Just promoted a user who was seeing 20s latency on searches to admin and they immediatly went down to what I as admin see of sub 100ms latencies. |
What went wrong?
What happened:
After upgrading our grafana instance from 9.4 to 9.5.2, users have started reporting slowness when searching via the new nav bar. Searches are typically taking 12 seconds or longer for both authenticated and non-authenticated users. For authenticated administrators, nav bar searches perform very quickly though.
Searching from the dashboard search page seems fine though. We don't currently have slow query logs enabled on our database.
The below issue seems similar, but our database appears to have the index that was added as the resolution.
#25688
Our system has about:
What did you expect to happen:
I expect searches using the nav bar to be performant when non-admins search.
How do we reproduce it?
Step 1:
Step 2:
What Grafana version are you using?
v9.5.2 (cfcea75)
Optional Questions:
Is the bug inside a Dashboard Panel?
Copy the panel's "get-help" data here
Grafana Platform?
Kubernetes
User's OS?
No response
User's Browser?
Chrome, Firefox and Edge all act the same
Is this a Regression?
None
Are Datasources involved?
No response
Anything else to add?
No response
The text was updated successfully, but these errors were encountered: