Open juangc-wavyssa opened 1 month ago
I think this is related, if not the same as https://github.com/metabase/metabase/issues/44359
I don't know if this is related, but is no the same as they describe in the issue
One of the performance fixes we made in the course of fixing #44359 disabled the field-usage
logic that's causing the stack traces you highlighted. So from 50.13 that error message will not appear anymore.
That same performance fix may play a factor here, despite appearances. The issue was a lot of CPU work being done before each query in the dashboard request is done. The impact of that perf issue scales strongly with the complexity of the query (more joins, filters, aggregations, expressions, etc.) and weakly with the total number columns in view.
So I suspect what you're seeing here is that while the query results are cached, that post-processing was consuming perhaps 500ms per query, making the overall dashboard load very slow.
@juangc-wavyssa Please try this dashboard again on 50.13 and see how it performs there.
We have updated to 50.13 and we have the same performance issue.
This looks like there is a query caching issue, then.
Can you screenshot the caching settings for this dashboard? (Question-level caching is not used when the dashboard is cached.)
We configure Duration caching policy on dashboard and subqueries, with a 24 hours duration, since our data is updated every 24 hours for this dashboards and queries.
Describe the bug When we load a dashboard when multiple queries (33 queries approximately) and we have cache by dashboards and subqueries of the dashboard active, the dashboard loads so slow, and it seems it doesn't use the cache never ( we have some filters on the dashboard with default values on them, but, we are not changing the filters). And when we go to logs to see if there is any error, we get the following message repeated over and over every time we launch our dashboard ( we have now the free trial pro metabase self hosted version)
Logs
To Reproduce Steps to reproduce the behavior:
Expected behavior Dashboard should load instantly, because we use cache on dashboard and queries used on dashboard
Screenshots
Severity We use it to show data quickly with this dashboard, and we create some light tables, with a few data registries, to improve performance on charging data, but we are not seeing any improvement, and we need to load this dashboard in a few seconds (2 to 3 seconds)
Metabase Diagnostic Info