-
Notifications
You must be signed in to change notification settings - Fork 4
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
Speed up mediaitems_view
#1013
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mediaitems_view
is is a frequently used view.It appears to have slowed down significantly with more data.
After some preliminary investigation it appears that by removing the
timed metadata
subquery the execution can be sped up by ~50-60% (~1.2 sec -> 0.4 sec). Further improvements may be possible.This would mean offloading the subquery an only running it when needed, i.e. not when we need shorts. This has a direct impact on shorts loading time for cases where the results are not in cache.
Increase cache time
The text was updated successfully, but these errors were encountered: