-
Notifications
You must be signed in to change notification settings - Fork 24
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
Performance issue with self-assign dashboard #1237
Comments
@torgeirl: As far as I can tell this must be because of the "count" queries that is used to filter by status and to show the counts in the status filters. We CAN change this to use much cheaper exists queries, but then we can not show the counts in the status filter. It should really not be a problem to handle counts of a few thousand - we normally see this problem when counting millions or at least hundreds of thousands. The problem is usually that postgres has:
|
@espenak: I'm checking disk and memory status now to rule that out. |
@espenak: our database server is plentiful on both disk space and memory; in fact, its postgres cache is about the same size of the entire database including indexes. |
Transactions for |
There seems to be a performance issue with the self-assign dashboard (#1218). According to Google Chrome's performance insights, the HTML has a waiting time of above 5s while the download time is ~zero. This could be related to #1236.
Edit: it might be an issue with how the filter(s) are build, I get terrible preformance for
/devilry_examiner/self-assign/<semester-code>/filter/assignedstatus-assigned?cradmin-bgreplaced=true
especially.The text was updated successfully, but these errors were encountered: