-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Slow query to select videos #6382
Comments
Hi, How many videos do you have? Can you run the query with |
3 150 videos.
|
Seems like the query is fast now. Maybe the slow queries happened at a time when PostgreSQL was busy? |
Maybe. Here's a list of the occurrences the last week: postgresql-2024-05-10_000000.log:2024-05-10 10:09:07.696 UTC duration: 811.445 ms They seem to appear in group, that could mean that postgres has been busy while they've been slow. |
Yes, I think it is the cause of the slow query. Closing as I don't think it's a SQL query issue (but don't hesitate to comment if you have many occurrences/more information in the future) |
Describe the current behavior
Our Postgresql slow query log shows a lot of these statements:
Steps to reproduce
Describe the expected behavior
No response
Additional information
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug:
Link to browser console log if relevant:
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
):The text was updated successfully, but these errors were encountered: